issue_id int64 2.04k 425k | title stringlengths 9 251 | body stringlengths 4 32.8k ⌀ | status stringclasses 6
values | after_fix_sha stringlengths 7 7 | project_name stringclasses 6
values | repo_url stringclasses 6
values | repo_name stringclasses 6
values | language stringclasses 1
value | issue_url null | before_fix_sha null | pull_url null | commit_datetime timestamp[us, tz=UTC] | report_datetime timestamp[us, tz=UTC] | updated_file stringlengths 23 187 | chunk_content stringlengths 1 22k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | * instances to determine the set of aspects to be used ofr weaving.
* @param loader instance of <code>ClassLoader</code>
*/
public WeavingAdaptor (WeavingClassLoader loader) {
generatedClassHandler = loader;
init(getFullClassPath((ClassLoader)loader),getFullAspectPath((ClassLoader)loader));
}
/**
* Con... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | warn("cannot determine classpath");
}
}
list.addAll(0,makeClasspath(System.getProperty("sun.boot.class.path")));
return list;
}
private List getFullAspectPath (ClassLoader loader) {
List list = new LinkedList();
for (; loader != null; loader = loader.getParent()) {
if (loader instanceof WeavingClas... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | bcelWorld.getLint().loadDefaultProperties();
if (LangUtil.is15VMOrGreater()) {
bcelWorld.setBehaveInJava5Way(true);
}
weaver = new BcelWeaver(bcelWorld);
registerAspectLibraries(aspectPath);
}
protected void createMessageHandler() {
messageHolder = new WeavingAdaptorMessageHandler(new PrintWriter(System.... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | messageHolder.flushMessages();
}
protected boolean isEnabled () {
return enabled;
}
/**
* Appends URL to path used by the WeavingAdptor to resolve classes
* @param url to be appended to search path
*/
public void addURL(URL url) {
File libFile = new File(url.getPath());
try {
weaver.addLibraryJa... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | delegateForCurrentClass=null;
if (trace.isTraceEnabled()) trace.enter("weaveClass",this,new Object[] {name,bytes});
name = name.replace('/','.');
if (couldWeave(name, bytes)) {
if (accept(name, bytes)) {
inf... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | /**
* @param name
* @return true if even valid to weave: either with an accept check or to munge it for @AspectJ aspectof support
*/
private boolean couldWeave (String name, byte[] bytes) {
return !generatedClasses.containsKey(name) && shouldWeaveName(name);
}
protected boolean accept(Str... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | */
private boolean shouldWeaveAnnotationStyleAspect(String name, byte[] bytes) {
if (delegateForCurrentClass==null) {
if (weaver.getWorld().isASMAround()) return asmCheckAnnotationStyleAspect(bytes);
else ensureDelegateInitialized(name, bytes);
}
return (delegateForCurrentClass.isAnnotationStyl... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | * @param bytes the bytes that define the class
* @return byte[] the woven bytes for the class
* @throws IOException
*/
private byte[] getWovenBytes(String name, byte[] bytes) throws IOException {
WeavingClassFileProvider wcp = new WeavingClassFileProvider(name,bytes);
weaver.weave(wcp);
return wcp.getBytes... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | }
/*
* Register an aspect library with this classloader for use during
* weaving. This class loader will also return (unmodified) any of the
* classes in the library in response to a <code>findClass()</code> request.
* The library is not required to be on the weavingClasspath given when this
* classloader wa... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | ret.add(tok.nextToken());
}
}
return ret;
}
protected boolean info (String message) {
return MessageUtil.info(messageHandler,message);
}
protected boolean warn (String message) {
return MessageUtil.warn(messageHandler,message);
}
protected boolean warn (String message, Throwable th) {
ret... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | * @param before whether we are dumping before weaving
* @throws Throwable
*/
protected void dump(String name, byte[] b, boolean before) {
String dirName = "_ajdump";
if (before) dirName = dirName + File.separator + "_before";
String className = name.replace('.', '/');
final File dir;
if (clas... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private IMessageHandler delegate;
private boolean accumulating = true;
private List messages = new ArrayList();
protected boolean traceMessages = Boolean.getBoolean(TRACE_MESSAGES_PROPERTY);
public WeavingAdaptorMessageHandler (PrintWriter writer) {
this.delegate = new WeavingAdaptorMessageWrite... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | trace.info(render(message));
}
else if (message.isWarning()) {
trace.warn(render(message),message.getThrown());
}
else if (message.isError()) {
trace.error(render(message),message.getThrown());
}
else if (message.isFailed()) {
trace.fatal(render(message),message.getThrown());
}
else ... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private boolean addMessage (IMessage message) {
messages.add(message);
return true;
}
public void flushMessages () {
for (Iterator iter = messages.iterator(); iter.hasNext();) {
IMessage message = (IMessage)iter.next();
delegate.handleMessage(message);
... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | if (0 <= message.getKind().compareTo(failKind)) {
throw new AbortException(message);
}
return true;
}
public boolean isIgnoring (Kind kind) {
return ((null != kind) && (ignoring.contains(kind)));
}
/**
* Set a message kind to be ignored from now on
*/
public void ignore (IMessage.Kind kind... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private List unwovenClasses = new ArrayList();
private UnwovenClassFile wovenClass;
private boolean isApplyAtAspectJMungersOnly = false;
public WeavingClassFileProvider (String name, byte[] bytes) {
ensureDelegateInitialized(name, bytes);
this.unwovenClass = new UnwovenClassFile(name,dele... |
150,271 | Bug 150271 Allow multiple levels of LTW information | It would be nice if basic information about load-time weaving (what version of AspectJ is being used, what loaders are doing weaving and what configuration is being used) was available without all of the -verbose information listing of all classes woven or not woven. It's also unfortunate that the flags for weaving lev... | resolved fixed | 8549d86 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-23T11:52:22Z | 2006-07-11T15:00:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | wovenClass = result;
String name = result.getClassName();
if (shouldDump(name.replace('/', '.'), false)) {
dump(name, result.getBytes(), false);
}
}
else {
String className = result.getClassName();
generatedClasses.put(className,result);
generatedC... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | /*******************************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import java.util.StringTokenizer;
import org.aspectj.asm.IRelationship;
import org.aspectj.bridge.AbortException;
import org.aspectj.bridge.Constants;
import org.aspectj.bridge.ISourceLocation;
import org.aspectj.ut... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | private final static String AOP_XML = Constants.AOP_USER_XML + ";" + Constants.AOP_AJC_XML;
private boolean initialized;
private List m_dumpTypePattern = new ArrayList();
private boolean m_dumpBefore = false;
private List m_includeTypePattern = new ArrayList();
private List m_excludeTypePattern... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | private List m_aspectIncludeTypePattern = new ArrayList();
private List m_aspectIncludeStartsWith = new ArrayList();
private StringBuffer namespace;
private IWeavingContext weavingContext;
private static Trace trace = TraceFactory.getTraceFactory().getTrace(ClassLoaderWeavingAdaptor.class);
public... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | }
createMessageHandler();
this.generatedClassHandler = new GeneratedClassHandler() {
/**
* Callback when we need to define a Closure in the JVM
*
* @param name
* @param bytes
*/
public void acceptClass(String ... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | public void addCrossReference(ISourceLocation from, ISourceLocation to, IRelationship.Kind kind, boolean runtimeTest) {
;
}
}
);
weaver = new BcelWeaver(bcelWorld);
registerDefinitions(weaver, classLoader, definitions);
... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | try {
info("register classloader " + getClassLoaderName(loader));
if (ClassLoader.getSystemClassLoader().equals(loader)) {
String file = System.getProperty("aj5.def", null);
if (file != null) {
info("using (-Daj5.def) ... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | }
private void registerDefinitions(final BcelWeaver weaver, final ClassLoader loader, List definitions) {
try {
registerOptions(weaver, loader, definitions);
registerAspectExclude(weaver, loader, definitions);
registerAspectInclude(weaver, loader, definitions);
... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | Definition definition = (Definition) iterator.next();
allOptions.append(definition.getWeaverOptions()).append(' ');
}
Options.WeaverOption weaverOption = Options.parse(allOptions.toString(), loader, getMessageHandler());
World world = weaver.getWorld();
setM... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | if (resource != null) {
try {
Properties properties = new Properties();
properties.load(resource);
world.getLint().setFromProperties(properties);
} catch (IOException e) {
failure = e;... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | Definition definition = (Definition) iterator.next();
for (Iterator iterator1 = definition.getAspectExcludePatterns().iterator(); iterator1.hasNext();) {
String exclude = (String) iterator1.next();
TypePattern excludePattern = new PatternParser(exclude).parseTypePattern();
... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | kind.signal(infos,null,null);
}
public String getContextId () {
return weavingContext.getId();
}
/**
* Register the aspect, following include / exclude rules
*
* @param weaver
* @param loader
* @param definitions
*/
private void registerAspects(final BcelWeaver weave... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | }else{
namespace = namespace.append(";"+aspectClassName);
}
}
else {
lint("aspectExcludedByConfiguration", new String[] { aspectClassName, getClassLoaderName(loader) });
}
}
}
... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | namespace = namespace.append(";"+concreteAspect.name);
}
}
}
}
if (namespace == null) {
disable();
info("no aspects registered. Disabling weaver for class loader " + getClassLoaderName(loader));
}
if (trace.... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | if (fastMatchInfo != null) {
m_includeStartsWith.add(fastMatchInfo);
}
}
for (Iterator iterator1 = definition.getExcludePatterns().iterator(); iterator1.hasNext();) {
String exclude = (String) iterator1.next();
TypePattern exclu... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | }
int length = typePattern.length();
if (typePattern.endsWith("..*") && length > 3) {
if (typePattern.indexOf("..") == length-3
&& typePattern.indexOf('*') == length-1) {
return typePattern.substring(0, length-2).replace('$', '.');... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | m_dumpBefore = true;
}
}
}
protected boolean accept(String className, byte[] bytes) {
if (m_excludeTypePattern.isEmpty() && m_includeTypePattern.isEmpty()) {
return true;
}
String fastClassName = className.replace('/', '.').replace('$', '... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | }
ensureDelegateInitialized(className,bytes);
ResolvedType classInfo = delegateForCurrentClass.getResolvedTypeX();
for (Iterator iterator = m_excludeTypePattern.iterator(); iterator.hasNext();) {
... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | return accept;
}
private boolean acceptAspect(String aspectClassName) {
if (m_aspectExcludeTypePattern.isEmpty() && m_aspectIncludeTypePattern.isEmpty()) {
return true;
}
String fastClassName = aspectClassName.replace('/', '.').replace('.', '... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | return false;
}
}
boolean accept = true;
for (Iterator iterator = m_aspectIncludeTypePattern.iterator(); iterator.hasNext();) {
TypePattern typePattern = (TypePattern) iterator.next();
accept = typePattern.matchesStatically(classInfo);
if ... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | if (typePattern.matchesStatically(classInfo)) {
return true;
}
}
return false;
}
/*
* shared classes methods
*/
/**
* @return Returns the key.
*/
public String getNamespace() {
if(namespace==null) return "";
else return new Str... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | public void flushGeneratedClasses() {
generatedClasses = new HashMap();
}
private void defineClass(ClassLoader loader, String name, byte[] bytes) {
if (trace.isTraceEnabled()) trace.enter("defineClass",this,new Object[] {loader,name,bytes});
Object clazz = null;
debug("generating class '" + name +... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java | /* *******************************************************************
* Copyright (c) 2004 IBM Corporation
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* h... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java | public static final String WEAVING_CLASS_PATH = "aj.class.path";
public static final String WEAVING_ASPECT_PATH = "aj.aspect.path";
private URL[] aspectURLs;
private WeavingAdaptor adaptor;
private boolean initializingAdaptor;
private Map generatedClasses = new HashMap();
/*
* This constructor is needed w... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java | this(getURLs(getClassPath()),getURLs(getAspectPath()),parent);
}
public WeavingURLClassLoader (URL[] urls, ClassLoader parent) {
super(urls,parent);
}
public WeavingURLClassLoader (URL[] classURLs, URL[] aspectURLs, ClassLoader parent) {
super(classURLs,parent);
this.aspectURLs = aspectURLs;
/* If ei... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java | return System.getProperty(WEAVING_CLASS_PATH,"");
}
private static URL[] getURLs (String path) {
List urlList = new ArrayList();
for (StringTokenizer t = new StringTokenizer(path,File.pathSeparator);
t.hasMoreTokens();) {
File f = new File(t.nextToken().trim());
try {
if (f.exists()) {
URL ur... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java | if (adaptor == null && !initializingAdaptor) {
createAdaptor();
}
b = adaptor.weaveClass(name,b);
}
return super.defineClass(name, b, cs);
}
private void createAdaptor () {
DefaultWeavingContext weavingContext = new DefaultWeavingContext (this) {
public String getClassLoaderName() {
r... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java | if (bytes == null) {
return (byte[])generatedClasses.remove(name);
}
return bytes;
}
/**
* Implement method from WeavingClassLoader
*/
public URL[] getAspectURLs() {
return aspectURLs;
}
public void acceptClass (String name, byte[] bytes) {
generatedClasses.put(name,bytes);
}
}
}
}... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | /*******************************************************************************
* Copyright (c) 2006 IBM
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://w... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | public void testIncorrectStaticinitializationWeaving_pr149560_1() { runTest("incorrect staticinitialization weaving - codestyle");}
public void testIncorrectStaticinitializationWeaving_pr149560_2() { runTest("incorrect staticinitialization weaving - annstyle");}
public void testIncorrectDeprecatedAnnotationProcessi... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | public void testVerifyErrInpathNoTypeCflowField_pr145693_2() { runTest("verifyErrInpathNoTypeCflowField"); }
public void testCpathNoTypeCflowField_pr145693_3() { runTest("cpathNoTypeCflowField"); }
public void testGenericSignatures_pr148409() { runTest("generic signature problem"); }... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | /* *******************************************************************
* Copyright (c) 2004 IBM Corporation
* All rights reserved.
* This program and the accompanying materials are made available |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | * under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Matthew Webster, Adrian Colyer,
* Martin Lippert initial implementation
* ********************************************... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | import org.aspectj.bridge.MessageWriter;
import org.aspectj.bridge.Version;
import org.aspectj.bridge.WeaveMessage;
import org.aspectj.bridge.IMessage.Kind;
import org.aspectj.org.objectweb.asm.ClassReader;
import org.aspectj.util.FileUtil;
import org.aspectj.util.LangUtil;
import org.aspectj.weaver.IClassFileProvider;... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | /**
* System property used to turn on verbose weaving messages
*/
public static final String WEAVING_ADAPTOR_VERBOSE = "aj.weaving.verbose";
public static final String SHOW_WEAVE_INFO_PROPERTY = "org.aspectj.weaver.showWeaveInfo";
public static final String TRACE_MESSAGES_PROPERTY = "org.aspectj.tracing.messa... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | generatedClassHandler = loader;
init(getFullClassPath((ClassLoader)loader),getFullAspectPath((ClassLoader)loader));
}
/**
* Construct a WeavingAdator with a reference to a
* <code>GeneratedClassHandler</code>, a full search path for resolving
* classes and a complete set of aspects. The search path must incl... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | return list;
}
private List getFullAspectPath (ClassLoader loader) {
List list = new LinkedList();
for (; loader != null; loader = loader.getParent()) {
if (loader instanceof WeavingClassLoader) {
URL[] urls = ((WeavingClassLoader)loader).getAspectURLs();
list.addAll(0,FileUtil.makeClasspath(urls));
... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | weaver = new BcelWeaver(bcelWorld);
registerAspectLibraries(aspectPath);
}
protected void createMessageHandler() {
messageHolder = new WeavingAdaptorMessageHandler(new PrintWriter(System.err));
messageHandler = messageHolder;
if (verbose) messageHandler.dontIgnore(IMessage.INFO);
if (Boolean.getBoolean(SHOW... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | return enabled;
}
/**
* Appends URL to path used by the WeavingAdptor to resolve classes
* @param url to be appended to search path
*/
public void addURL(URL url) {
File libFile = new File(url.getPath());
try {
weaver.addLibraryJarFile(libFile);
}
catch (IOException ex) {
warn("bad library: '" ... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | if (accept(name, bytes)) {
debug("weaving '" + name + "'");
bytes = getWovenBytes(name, bytes);
} else if (shouldWeaveAnnotationStyleAspect(name, bytes)) {
debug("weaving '" + name + "'");
... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private boolean couldWeave (String name, byte[] bytes) {
return !generatedClasses.containsKey(name) && shouldWeaveName(name);
}
protected boolean accept(String name, byte[] bytes) {
return true;
}
protected boolean shouldDump(String name, boolean before) {
return false;
}
privat... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | else ensureDelegateInitialized(name, bytes);
}
return (delegateForCurrentClass.isAnnotationStyleAspect());
}
private boolean asmCheckAnnotationStyleAspect(byte[] bytes) {
IsAtAspectAnnotationVisitor detector = new IsAtAspectAnnotationVisitor();
ClassReader cr = new ClassReader(bytes);
try {
cr.a... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private byte[] getWovenBytes(String name, byte[] bytes) throws IOException {
WeavingClassFileProvider wcp = new WeavingClassFileProvider(name,bytes);
weaver.weave(wcp);
return wcp.getBytes();
}
/**
* Weave a set of bytes defining a class for only what is needed to turn @AspectJ aspect
* in a usef... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | * classes in the library in response to a <code>findClass()</code> request.
* The library is not required to be on the weavingClasspath given when this
* classloader was constructed.
* @param aspectLibraryJarFile a jar file representing an aspect library
* @throws IOException
*/
private void addAspectLibrar... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | }
protected boolean debug (String message) {
return MessageUtil.debug(messageHandler,message);
}
protected boolean info (String message) {
return MessageUtil.info(messageHandler,message);
}
protected boolean warn (String message) {
return MessageUtil.warn(messageHandler,message);
}
protected boolea... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | * @param before whether we are dumping before weaving
* @throws Throwable
*/
protected void dump(String name, byte[] b, boolean before) {
String dirName = "_ajdump";
if (before) dirName = dirName + File.separator + "_before";
String className = name.replace('.', '/');
final File dir;
if (clas... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private IMessageHandler delegate;
private boolean accumulating = true;
private List messages = new ArrayList();
protected boolean traceMessages = Boolean.getBoolean(TRACE_MESSAGES_PROPERTY);
public WeavingAdaptorMessageHandler (PrintWriter writer) {
this.delegate = new WeavingAdaptorMessageWrite... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | }
else if (message.isWarning()) {
trace.warn(render(message),message.getThrown());
}
else if (message.isError()) {
trace.error(render(message),message.getThrown());
}
else if (message.isFailed()) {
trace.fatal(render(message),message.getThrown());
}
else if (message.isAbort()) {
tra... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | messages.add(message);
return true;
}
public void flushMessages () {
for (Iterator iter = messages.iterator(); iter.hasNext();) {
IMessage message = (IMessage)iter.next();
delegate.handleMessage(message);
}
accumulating = false;
messages.clear();
... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | if (0 <= message.getKind().compareTo(failKind)) {
throw new AbortException(message);
}
return true;
}
public boolean isIgnoring (Kind kind) {
return ((null != kind) && (ignoring.contains(kind)));
}
/**
* Set a message kind to be ignored from now on
*/
public void ignore (IMessage.Kind kind... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private List unwovenClasses = new ArrayList();
private UnwovenClassFile wovenClass;
private boolean isApplyAtAspectJMungersOnly = false;
public WeavingClassFileProvider (String name, byte[] bytes) {
ensureDelegateInitialized(name, bytes);
this.unwovenClass = new UnwovenClassFile(name,dele... |
129,525 | Bug 129525 Don't Dump Bytecodes to Syserr in LTW | The load-time weaving system can produce truly massive quantities of output when there's a weaving error, since the system dumps the bytecode to syserr. It would be much better to produce an ajcore file and just point to it, or use some other log. | resolved fixed | 04fa1dc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-24T17:32:00Z | 2006-02-27T08:46:40Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | wovenClass = result;
String name = result.getClassName();
if (shouldDump(name.replace('/', '.'), false)) {
dump(name, result.getBytes(), false);
}
}
else {
String className = result.getClassName();
generatedClasses.put(className,result);
generatedC... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | ajde/src/org/aspectj/ajde/ui/swing/OptionsFrame.java | /* *******************************************************************
* Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | ajde/src/org/aspectj/ajde/ui/swing/OptionsFrame.java | * ******************************************************************/
package org.aspectj.ajde.ui.swing;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.util.Date;
import javax.swing.Bor... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | ajde/src/org/aspectj/ajde/ui/swing/OptionsFrame.java | private static final String ABOUT_TEXT =
"\nThe AspectJ compiler and core tools are produced by the\n" +
"AspectJ project.\n\n" +
"This software is distributed under the Eclipse Public License\n" +
"version 1.0, approved by the Open Source Initiative as\n" +
"conforming to the Op... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | ajde/src/org/aspectj/ajde/ui/swing/OptionsFrame.java | private TitledBorder titledBorder9;
private TitledBorder titledBorder10;
private Border border7;
private TitledBorder titledBorder11;
private Border border8;
private TitledBorder titledBorder12;
private JPanel about_panel = new JPanel();
private BorderLayout borderLayout9 = new BorderLayout(... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | ajde/src/org/aspectj/ajde/ui/swing/OptionsFrame.java | }
/**
* Adds the panel in the second-to-last postion.
*/
public void addOptionsPanel(OptionsPanel panel) {
main_tabbedPane.add(panel, main_tabbedPane.getComponentCount()-1);
loadOptions();
}
public void removeOptionsPanel(OptionsPanel panel) {
main_tabbedPane.remove(panel);
}
public void showPanel(Op... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | ajde/src/org/aspectj/ajde/ui/swing/OptionsFrame.java | Component[] components = main_tabbedPane.getComponents();
for (int i = 0; i < components.length; i++) {
if (components[i] instanceof OptionsPanel) {
((OptionsPanel)components[i]).saveOptions();
}
}
} catch (IOException ioe) {
Ajde.getDefault().getErrorHandler().handleError("Could not load option... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | ajde/src/org/aspectj/ajde/ui/swing/OptionsFrame.java | BorderFactory.createLineBorder(Color.black,2);
titledBorder6 = new TitledBorder(BorderFactory.createEtchedBorder(Color.white,new Color(148, 145, 140)),"Run Options");
BorderFactory.createEtchedBorder(Color.white,new Color(156, 156, 158));
titledBorder7 = new TitledBorder(BorderFactory.createEtch... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | ajde/src/org/aspectj/ajde/ui/swing/OptionsFrame.java | cancel_button.setFont(new java.awt.Font("Dialog", 0, 11));
cancel_button.setMaximumSize(new Dimension(70, 24));
cancel_button.setMinimumSize(new Dimension(67, 24));
cancel_button.setPreferredSize(new Dimension(70, 24));
cancel_button.setText("Cancel");
cancel_button.addActionList... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | ajde/src/org/aspectj/ajde/ui/swing/OptionsFrame.java | titledBorder7.setTitleFont(new java.awt.Font("Dialog", 0, 11));
titledBorder8.setTitle("Access Modifiers");
titledBorder8.setTitleFont(new java.awt.Font("Dialog", 0, 11));
titledBorder9.setTitleFont(new java.awt.Font("Dialog", 0, 11));
titledBorder10.setTitleFont(new java.awt.Font("Dialo... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | bridge/src/org/aspectj/bridge/Version.java | /* ********************************************************************
* Copyright (c) 1998-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Publi... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | bridge/src/org/aspectj/bridge/Version.java | public static final String DEVELOPMENT = "DEVELOPMENT";
public static final long NOTIME = 0L;
public static final String text = "DEVELOPMENT";
/**
* Time text set by build script using SIMPLE_DATE_FORMAT.
* (if DEVELOPMENT version, invalid)
*/
public stat... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | bridge/src/org/aspectj/bridge/Version.java | long foundTime = NOTIME;
try {
SimpleDateFormat format = new SimpleDateFormat(SIMPLE_DATE_FORMAT);
ParsePosition pos = new ParsePosition(0);
Date date = format.parse(time_text, pos);
foundTime = date.getTime();
} catch (Throwable t) {
... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | bridge/testsrc/org/aspectj/bridge/VersionTest.java | /* *******************************************************************
* Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | bridge/testsrc/org/aspectj/bridge/VersionTest.java | private static final String ME
= "org.aspectj.bridge.VersionTest";
public static void main(String[] args) {
TestRunner.main(new String[] {ME});
}
/**
* Constructor for MessageTest.
* @param name
*/
public VersionTest(String name) {
super(name);
}
public void testVer... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distri... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | package org.aspectj.weaver;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.EOFException;
import java.io.IOException;
import org.aspectj.bridge.MessageUtil;
import org.aspectj.bridge.Version;
import org.aspectj.util.FileUtil;
import org.aspectj.... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | }
/**
* Just writes the contents
*/
public byte[] getBytes() {
try {
ByteArrayOutputStream b0 = new ByteArrayOutputStream();
DataOutputStream s0 = new DataOutputStream(b0);
write(s0);
return b0.toByteArray();
} catch (IOException e) {
throw new RuntimeException("sanity check");
}
}
... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | } catch (IOException e) {
throw new RuntimeException("sanity check");
}
}
public static AjAttribute read(AjAttribute.WeaverVersionInfo v, String name, byte[] bytes, ISourceContext context,World w) {
try {
if (bytes == null) bytes = new byte[0];
VersionedDataInputStream s = new VersionedDataInputStr... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | return new AjSynthetic();
} else if (name.equals(DeclareAttribute.AttributeName)) {
return new DeclareAttribute(Declare.read(s, context));
} else if (name.equals(PrivilegedAttribute.AttributeName)) {
return PrivilegedAttribute.read(s, context);
} else if (name.equals(SourceContextAttribute.AttributeNam... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | public static final String AttributeName = "org.aspectj.weaver.AjSynthetic";
public String getNameString() {
return AttributeName;
}
public AjSynthetic() {}
public void write(DataOutputStream s) throws IOException {}
}
public static class TypeMunger extends AjAttribute {
public static final Strin... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | public static final String AttributeName = "org.aspectj.weaver.WeaverState";
public String getNameString() {
return AttributeName;
}
private WeaverStateInfo kind;
public WeaverState(WeaverStateInfo kind) {
this.kind = kind;
}
public void write(DataOutputStream s) throws IOException {
kind.write(... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | public static final String AttributeName = "org.aspectj.weaver.WeaverVersion";
public static short WEAVER_VERSION_MAJOR_UNKNOWN = 0;
public static short WEAVER_VERSION_MINOR_UNKNOWN = 0;
public static short WEAVER_VERSION_MAJOR_AJ121 = 1;
public static short WEAVER_VERSI... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | public static short WEAVER_VERSION_MAJOR_AJ150M4 = 3;
public static short WEAVER_VERSION_MAJOR_AJ150 = 2;
public static short WEAVER_VERSION_MINOR_AJ150 = 0;
private static short CURRENT_VERSION_MAJOR = WEAVER_VERSION_MAJOR_AJ150M4;
private static short CURRENT_VERSION_MINOR = WEAVER_VERSION_MI... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | minor_version = minor;
}
public void write(DataOutputStream s) throws IOException {
s.writeShort(CURRENT_VERSION_MAJOR);
s.writeShort(CURRENT_VERSION_MINOR);
s.writeLong(Version.time);
}
public static WeaverVersionInfo read(VersionedDataInputStream s) throws IOException {
short major = s.read... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | return minor_version;
}
public static short getCurrentWeaverMajorVersion() {
return CURRENT_VERSION_MAJOR;
}
public static short getCurrentWeaverMinorVersion() {
return CURRENT_VERSION_MINOR;
}
public void setBuildstamp(long stamp) {
this.buildstamp = stamp;
}
public long getBuildst... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | public static final String AttributeName = "org.aspectj.weaver.SourceContext";
public String getNameString() {
return AttributeName;
}
private String sourceFileName;
private int[] lineBreaks;
public SourceContextAttribute(String sourceFileName, int[] lineBreaks) {
this.sourceFileName = sourceFi... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | public static final String AttributeName = "org.aspectj.weaver.MethodDeclarationLineNumber";
public String getNameString() {
return AttributeName;
}
private int lineNumber;
private int offset;
public MethodDeclarationLineNumberAttribute(int line, int offset) {
this.lineNumber = line... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | int offset = 0;
if (s.available()>0) {
offset = s.readInt();
}
return new MethodDeclarationLineNumberAttribute(line, offset);
}
public String toString() {
return AttributeName + ": " + lineNumber + ":" + offset;
}
}
public static class PointcutDeclarationAttribute... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | public static final String AttributeName = "org.aspectj.weaver.Declare";
public String getNameString() {
return AttributeName;
}
private Declare declare;
public DeclareAttribute(Declare declare) {
this.declare = declare;
}
public void write(DataOutputStream s) throws IOException {
declare.write(... |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | public static final String AttributeName = "org.aspectj.weaver.Advice";
public String getNameString() {
return AttributeName;
}
private AdviceKind kind;
private Pointcut pointcut;
private int extraParameterFlags;
private int start;
private int end;
private ISourceContext sourceContext; |
155,213 | Bug 155213 [ltw] can get into a state with the Version static initializer | The static initializer in Version that parses the time_text string and turns it into a long field seems to sometimes get loadtime weaving into a state - touching DateFormatters early on is always a pain, so I'm moving it to be processed on first reference. I could take it a step further ... if WeaverStateInfo didn't wr... | resolved fixed | 40cf610 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-08-25T12:41:38Z | 2006-08-25T12:46:40Z | weaver/src/org/aspectj/weaver/AjAttribute.java | private boolean proceedInInners;
private ResolvedMember[] proceedCallSignatures;
private boolean[] formalsUnchangedToProceed;
private UnresolvedType[] declaredExceptions;
/**
* @param lexicalPosition must be greater than the lexicalPosition
* of any advice declared before this one in an aspect, othe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.