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
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
this.start = start; this.end = end; this.sourceContext = sourceContext; if (kind != AdviceKind.Around) throw new IllegalArgumentException("only for around"); this.proceedInInners = proceedInInners; this.proceedCallSignatures = proceedCallSignatures; this.formalsUnchangedToProceed = formalsUnch...
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 void write(DataOutputStream s) throws IOException { kind.write(s); pointcut.write(s); s.writeByte(extraParameterFlags); s.writeInt(start); s.writeInt(end); if (kind == AdviceKind.Around) { s.writeBoolean(proceedInInners); ResolvedMemberImpl.writeArray(proceedCallSignatures...
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 AdviceKind getKind() { return kind; } public Pointcut getPointcut() { return pointcut; } public UnresolvedType[] getDeclaredExceptions() { return declaredExceptions; } public boolean[] getFormalsUnchangedToProceed() { return formalsUnchangedToProceed; } public ResolvedMember[] getProc...
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.Aspect"; public String getNameString() { return AttributeName; } private PerClause perClause; private IScope resolutionScope; public Aspect(PerClause perClause) { this.perClause = perClause; } public PerClause reify(ResolvedType inA...
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.Privileged"; public String getNameString() { return AttributeName; } private ResolvedMember[] accessedMembers; public PrivilegedAttribute(ResolvedMember[] accessedMembers) { this.accessedMembers = accessedMembers; } public void 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.EffectiveSignature"; public String getNameString() { return AttributeName; } private ResolvedMember effectiveSignature; private Shadow.Kind shadowKind; private boolean weaveBody; public EffectiveSignatureAttribute(ResolvedMember effectiveS...
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
this.weaveBody = weaveBody; } public void write(DataOutputStream s) throws IOException { effectiveSignature.write(s); shadowKind.write(s); s.writeBoolean(weaveBody); } public static EffectiveSignatureAttribute read(VersionedDataInputStream s, ISourceContext context) throws IOException { return new...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.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 ...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java
* Construct a new WeavingContext to use the specifed ClassLoader * This is the constructor which should be used. * @param loader */ public DefaultWeavingContext(ClassLoader loader) { this.loader = loader; } /** * Same as ClassLoader.getResources() */ public Enumeration getResources(String name) throws I...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java
} /** * @return unqualifiedclassname@hashcode */ public String getId () { if (shortName == null) { shortName = getClassLoaderName().replace('$','.'); int index = shortName.lastIndexOf("."); shortName = shortName.substring(index + 1); } return shortName; } public String getSuffix () { return ...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
/******************************************************************************* * Copyright (c) 2006 IBM Corporation and others. * 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 ...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
protected Class tracedClass; private static SimpleDateFormat timeFormat; protected AbstractTrace (Class clazz) { this.tracedClass = clazz; } public abstract void enter (String methodName, Object thiz, Object[] args); public abstract void enter(String methodName, Object thiz); public abstract void exit(Str...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
enter(methodName,thiz,new Boolean(z)); } public void exit (String methodName, boolean b) { exit(methodName,new Boolean(b)); } public void event (String methodName, Object thiz, Object arg) { event(methodName,thiz,new Object[] { arg }); } public void warn(String message) { warn(message,null); } public void...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
if (args != null) message.append(" ").append(formatArgs(args)); return message.toString(); } protected String formatMessage(String kind, String text, Throwable th) { StringBuffer message = new StringBuffer(); Date now = new Date(); message.append(formatDate(now)).append(" "); message.append(Thread.current...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
if (obj == null || obj instanceof String || obj instanceof Number || obj instanceof Boolean || obj instanceof Exception || obj instanceof Character || obj instanceof Class || obj instanceof File || obj instanceof StringBuffer ) return obj; else if (obj.getCla...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
} catch (Exception ex) { return obj.getClass().getName(); } } protected String formatArray (Object obj) { return obj.getClass().getComponentType().getName() + "[" + Array.getLength(obj) + "]"; } protected String formatCollection (Collection c) { return c.getClass().getName() + "(" + c.size() + ")"; ...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/testsrc/org/aspectj/weaver/AbstractTraceTest.java
/******************************************************************************* * Copyright (c) 2006 IBM Corporation and others. * 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 ...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/testsrc/org/aspectj/weaver/AbstractTraceTest.java
protected AbstractTrace trace; public void testIsTraceEnabled() { DefaultTrace trace = new DefaultTrace(getClass()); assertFalse(trace.isTraceEnabled()); } public void testEnterWithThisAndArgs() { trace.enter("testEnterWithThisAndArgs",this,new Object[] { "arg1", "arg2" }); } public void testEnterWithThisAnd...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/testsrc/org/aspectj/weaver/AbstractTraceTest.java
} public void testEnterWithThisAndTraceable () { Object arg1 = new Traceable() { public String toTraceString() { return "Traceable"; } }; trace.enter("testEnterWithThisAndArgs",this,new Object[] { arg1 }); } public void testEnterWithThis() { trace.enter("testEnterWithThis",this); } public voi...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver/testsrc/org/aspectj/weaver/AbstractTraceTest.java
} public void testEventWithThisAndArg() { trace.event("testEventWithThisAndArg",this,"arg1"); } public void testDebug() { trace.debug("debug"); } public void testInfo() { trace.info("information"); } public void testWarn() { trace.warn("warning"); } public void testWarnWithException() { trace.warn("w...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver5/java5-src/org/aspectj/weaver/tools/Jdk14Trace.java
/******************************************************************************* * Copyright (c) 2006 IBM Corporation and others. * 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 ...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver5/java5-src/org/aspectj/weaver/tools/Jdk14Trace.java
this.logger = Logger.getLogger(name); } public void enter(String methodName, Object thiz, Object[] args) { if (logger.isLoggable(Level.FINE)) { logger.entering(name,methodName,formatObj(thiz)); if (args != null && logger.isLoggable(Level.FINER)) { logger.entering(name,methodName,args); } } } p...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver5/java5-src/org/aspectj/weaver/tools/Jdk14Trace.java
if (logger.isLoggable(Level.FINE)) { logger.logp(Level.FINER,name,methodName,"EVENT",formatObj(thiz)); if (args != null && logger.isLoggable(Level.FINER)) { logger.logp(Level.FINER,name,methodName,"EVENT",args); } } } public void event(String methodName) { if (logger.isLoggable(Level.FINE)) { l...
155,148
Bug 155148 jdk14 trace deadlock in oc4j
I turned on tracing for the Aj class inside of Oracle's OC4J server. In one test (not always) it deadlocked. It looks like the threads are each trying to lock each other's loader. Notice that one of the threads is in the toString method of the Oracle ClassLoader (perhaps another reason to prefer tracing argument class ...
resolved fixed
6be7097
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-25T14:37:34Z
2006-08-25T01:40:00Z
weaver5/java5-src/org/aspectj/weaver/tools/Jdk14Trace.java
} } public void debug (String message) { if (logger.isLoggable(Level.FINE)) { logger.fine(message); } } public void info(String message) { if (logger.isLoggable(Level.INFO)) { logger.info(message); } } public void warn (String message, Throwable th) { if (logger.isLoggable(Level.WARNING)) { log...
155,238
Bug 155238 Trace should use System.identityHashCode, not hashCode
The tracing module uses obj.hashCode() to identify untrusted objects when formatting. I think it would be a little safer and more accurate to use System.identityHashCode(obj). This way the tracing code wouldn't call any application-defined code, and would give a value that can't change if the loader state changes.
resolved fixed
14e8b7d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-30T09:46:37Z
2006-08-25T15:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.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 ...
155,238
Bug 155238 Trace should use System.identityHashCode, not hashCode
The tracing module uses obj.hashCode() to identify untrusted objects when formatting. I think it would be a little safer and more accurate to use System.identityHashCode(obj). This way the tracing code wouldn't call any application-defined code, and would give a value that can't change if the loader state changes.
resolved fixed
14e8b7d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-30T09:46:37Z
2006-08-25T15:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java
* Construct a new WeavingContext to use the specifed ClassLoader * This is the constructor which should be used. * @param loader */ public DefaultWeavingContext(ClassLoader loader) { this.loader = loader; } /** * Same as ClassLoader.getResources() */ public Enumeration getResources(String name) throws I...
155,238
Bug 155238 Trace should use System.identityHashCode, not hashCode
The tracing module uses obj.hashCode() to identify untrusted objects when formatting. I think it would be a little safer and more accurate to use System.identityHashCode(obj). This way the tracing code wouldn't call any application-defined code, and would give a value that can't change if the loader state changes.
resolved fixed
14e8b7d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-30T09:46:37Z
2006-08-25T15:33:20Z
loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java
} /** * @return unqualifiedclassname@hashcode */ public String getId () { if (shortName == null) { shortName = getClassLoaderName().replace('$','.'); int index = shortName.lastIndexOf("."); shortName = shortName.substring(index + 1); } return shortName; } public String getSuffix () { return ...
155,238
Bug 155238 Trace should use System.identityHashCode, not hashCode
The tracing module uses obj.hashCode() to identify untrusted objects when formatting. I think it would be a little safer and more accurate to use System.identityHashCode(obj). This way the tracing code wouldn't call any application-defined code, and would give a value that can't change if the loader state changes.
resolved fixed
14e8b7d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-30T09:46:37Z
2006-08-25T15:33:20Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
/******************************************************************************* * Copyright (c) 2006 IBM Corporation and others. * 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 ...
155,238
Bug 155238 Trace should use System.identityHashCode, not hashCode
The tracing module uses obj.hashCode() to identify untrusted objects when formatting. I think it would be a little safer and more accurate to use System.identityHashCode(obj). This way the tracing code wouldn't call any application-defined code, and would give a value that can't change if the loader state changes.
resolved fixed
14e8b7d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-30T09:46:37Z
2006-08-25T15:33:20Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
protected Class tracedClass; private static SimpleDateFormat timeFormat; protected AbstractTrace (Class clazz) { this.tracedClass = clazz; } public abstract void enter (String methodName, Object thiz, Object[] args); public abstract void enter(String methodName, Object thiz); public abstract void exit(Str...
155,238
Bug 155238 Trace should use System.identityHashCode, not hashCode
The tracing module uses obj.hashCode() to identify untrusted objects when formatting. I think it would be a little safer and more accurate to use System.identityHashCode(obj). This way the tracing code wouldn't call any application-defined code, and would give a value that can't change if the loader state changes.
resolved fixed
14e8b7d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-30T09:46:37Z
2006-08-25T15:33:20Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
public void warn(String message) { warn(message,null); } public void error(String message) { error(message,null); } public void fatal (String message) { fatal(message,null); } /* * Formatting */ protected String formatMessage(String kind, String className, String methodName, Object thiz, Object[] arg...
155,238
Bug 155238 Trace should use System.identityHashCode, not hashCode
The tracing module uses obj.hashCode() to identify untrusted objects when formatting. I think it would be a little safer and more accurate to use System.identityHashCode(obj). This way the tracing code wouldn't call any application-defined code, and would give a value that can't change if the loader state changes.
resolved fixed
14e8b7d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-30T09:46:37Z
2006-08-25T15:33:20Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
message.append(Thread.currentThread().getName()).append(" "); message.append(kind).append(" "); message.append(text); if (th != null) message.append(" ").append(formatObj(th)); return message.toString(); } private static String formatDate (Date date) { if (timeFormat == null) { timeFormat = new SimpleD...
155,238
Bug 155238 Trace should use System.identityHashCode, not hashCode
The tracing module uses obj.hashCode() to identify untrusted objects when formatting. I think it would be a little safer and more accurate to use System.identityHashCode(obj). This way the tracing code wouldn't call any application-defined code, and would give a value that can't change if the loader state changes.
resolved fixed
14e8b7d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-30T09:46:37Z
2006-08-25T15:33:20Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
|| obj instanceof Class || obj instanceof File || obj instanceof StringBuffer ) return obj; else if (obj.getClass().isArray()) { return formatArray(obj); } else if (obj instanceof Collection) { return formatCollection((Collection)obj); } else try { if (obj instanceof Trace...
155,238
Bug 155238 Trace should use System.identityHashCode, not hashCode
The tracing module uses obj.hashCode() to identify untrusted objects when formatting. I think it would be a little safer and more accurate to use System.identityHashCode(obj). This way the tracing code wouldn't call any application-defined code, and would give a value that can't change if the loader state changes.
resolved fixed
14e8b7d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-30T09:46:37Z
2006-08-25T15:33:20Z
weaver/src/org/aspectj/weaver/tools/AbstractTrace.java
protected String formatCollection (Collection c) { return c.getClass().getName() + "(" + c.size() + ")"; } /** * Format arguments into a comma separated list * * @param names array of argument names * @param args array of arguments * @return the formated list */ protected String formatArgs(Object[] ...
155,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26:40Z
runtime/src/org/aspectj/runtime/reflect/ConstructorSignatureImpl.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,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26:40Z
runtime/src/org/aspectj/runtime/reflect/ConstructorSignatureImpl.java
ConstructorSignatureImpl(String stringRep) { super(stringRep); } public String getName() { return "<init>"; } protected String createToString(StringMaker sm) { StringBuffer buf = new StringBuffer(); buf.append(sm.makeModifiersString(getModifiers())); buf.append(sm.m...
155,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26:40Z
runtime/src/org/aspectj/runtime/reflect/FieldSignatureImpl.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,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26:40Z
runtime/src/org/aspectj/runtime/reflect/FieldSignatureImpl.java
Class fieldType; private Field field; FieldSignatureImpl(int modifiers, String name, Class declaringType, Class fieldType) { super(modifiers, name, declaringType); this.fieldType = fieldType; } FieldSignatureImpl(String stringRep) { super(stringRep); } ...
155,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26:40Z
runtime/src/org/aspectj/runtime/reflect/FieldSignatureImpl.java
if (fieldType == null) fieldType = extractType(3); return fieldType; } protected String createToString(StringMaker sm) { StringBuffer buf = new StringBuffer(); buf.append(sm.makeModifiersString(getModifiers())); if (sm.includeArgs) buf.append(sm.makeTypeName(getFieldType()))...
155,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26:40Z
runtime/src/org/aspectj/runtime/reflect/InitializerSignatureImpl.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,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26:40Z
runtime/src/org/aspectj/runtime/reflect/InitializerSignatureImpl.java
super(stringRep); } public String getName() { return Modifier.isStatic(getModifiers()) ? "<clinit>": "<init>"; } protected String createToString(StringMaker sm) { StringBuffer buf = new StringBuffer(); buf.append(sm.makeModifiersString(getModifiers())); buf.append(s...
155,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26: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...
155,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testMixingGenerics_pr152848() { runTest("mixing generics"); } public void testIncorrectStaticinitializationWeaving_pr149560_1() { runTest("incorrect staticinitialization weaving - codestyle");} public void testIncorrectStaticinitializationWeaving_pr149560_2() { runTest("incorrect staticinitialization w...
155,972
Bug 155972 NullPointerException in ConstructorSignature.getConstructor()
AspectJ version: 1.5.3.200608290814 When advising a constructor, we can do the following to obtain the constructor as a java.lang.reflect.Member: Member cons = ((ConstructorSignature) thisJoinPointStaticPart .getSignature()).getConstructor(); however that sometimes fails, and returns null.
resolved fixed
090de7e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-04T14:24:51Z
2006-09-01T11:26:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testGenericSignatures_pr148409() { runTest("generic signature problem"); } public void testCantFindType_pr149322_01() {runTest("can't find type on interface call 1");} public void testCantFindType_pr149322_02() {runTest("can't find type on interface call 2");} public void testCantFindT...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02: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...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testNoIllegalStateExceptionFromAsmDelegate_pr153490_1() { runTest("no illegal state exception from AsmDelegate - 1");} public void testNoIllegalStateExceptionFromAsmDelegate_pr153490_2() { runTest("no illegal state exception from AsmDelegate - 2");} public void testNoIllegalStateExceptionFromAsmDelegate...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testIllegalStateException_pr148737() { runTest("illegalstateexception for non generic type");} public void testAtajInheritance_pr149305_1() { runTest("ataj inheritance - 1");} public void testAtajInheritance_pr149305_2() { runTest("ataj inheritance - 2");} public void testAtajInheritance_pr149...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testReweavableAspectNotRegistered_pr129525 () { runTest("reweavableAspectNotRegistered error"); } public void testNPEinConstructorSignatureImpl_pr155972 () { runTest("NPE in ConstructorSignatureImpl"); } public void testNPEinFieldSignatureImpl_pr155972 () { runTest("NPE in FieldSignat...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
/* ******************************************************************* * Copyright (c) 2002 Contributors * All rights reserved. * This program and the accompanying materials are made available
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.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: * PARC initial implementation * Andy Clement - June 2005 - separated out from ResolvedType * ****************************...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
* For generic types, this list holds references to all the derived raw * and parameterized versions. We need this so that if the generic delegate * is swapped during incremental compilation, the delegate of the derivatives * is swapped also. */ private List derivativeTypes = new ArrayList(); /** * For par...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
public ReferenceType(String signature, World world) { super(signature, world); } public ReferenceType(String signature, String signatureErasure, World world) { super(signature,signatureErasure, world); } /** * Constructor used when creating a parameterized type. */ pub...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
ResolvedType theGenericType, World aWorld) { super(theGenericType.getErasureSignature(), theGenericType.getErasureSignature(), aWorld); ReferenceType genericReferenceType = (ReferenceType) theGenericType; this.typeParameters = null; this.genericType = genericReferenceType; ...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
public final boolean isClass() { return delegate.isClass(); } public final boolean isGenericType() { return !isParameterizedType() && !isRawType() && delegate.isGeneric(); } public String getGenericSignature() { String sig = delegate.getDeclaredGenericSignature(); return (sig ==...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
public boolean isAnnotationStyleAspect() { return delegate.isAnnotationStyleAspect(); } public boolean isEnum() { return delegate.isEnum(); } public boolean isAnnotation() { return delegate.isAnnotation(); } public boolean isAnonymous() { return delegate.isAnonym...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
public boolean canAnnotationTargetType() { return delegate.canAnnotationTargetType(); } public AnnotationTargetKind[] getAnnotationTargetKinds() { return delegate.getAnnotationTargetKinds(); } public final boolean isCoerceableFrom(ResolvedType o) { ResolvedType other =...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
for (int bi = 0, blen = b.length; bi < blen; bi++) { if (! b[bi].isCompatibleWith(a[ai])) return false; } } return true; } private final boolean isCoerceableFromParameterizedType(ResolvedType other) { if (!other.isParameterizedType()) return false; Res...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
tv.resolve(world); if (!tv.canBeBoundTo(myTypeParameters[i])) return false; } else { return false; } } } return true; } } else { for(Iterator i = getDirectSupertypes(); i.hasNext(); ) { ReferenceType parent = (Refe...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
} if (this == other) return true; if (this.getSignature().equals(ResolvedType.OBJECT.getSignature())) return true; if ((this.isRawType() || this.isGenericType()) && other.isParameterizedType()) { if (isAssignableFrom((ResolvedType)other.getRawType())) return true; } ...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
for (int i = 0; i < myParameters.length; i++) { if (myParameters[i] == theirParameters[i]) continue; if (!myParameters[i].isGenericWildcard()) { parametersAssignable = false; break; } else { BoundedReferenceType wildcardType = (BoundedReferenceType) myParameters[i]; if (!wi...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
return this.isAssignableFrom(otherType.getTypeVariable().getFirstBound().resolve(world)); } } if (allowMissing && other.isMissing()) return false; for(Iterator i = other.getDirectSupertypes(); i.hasNext(); ) { if (this.isAssignableFrom((ResolvedType) i.next...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
parameterizedFields = new ResolvedMember[delegateFields.length]; for (int i = 0; i < delegateFields.length; i++) { parameterizedFields[i] = delegateFields[i].parameterizedWith(getTypesForMemberParameterization(),this, isParameterizedType()); } return parameterizedFields; } else { return delegate...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
} return parameterizedInterfaces; } else if (isRawType()){ ResolvedType[] delegateInterfaces = delegate.getDeclaredInterfaces(); UnresolvedType[] paramTypes = getTypesForMemberParameterization(); parameterizedInterfaces = new ResolvedType[delegateInterfaces.length]; for (int i = 0; i < parameterizedInt...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
TypeVariable tv = tvarsOnThisGenericType[i]; if (tv.getName().equals(name)) position = i; } if (position == -1 ) return null; return paramTypes[position]; } /** * It is possible this type has multiple type variables but the interface we are about to parameterize * only uses a subset - this method deter...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
for (int i = 0; i < tParms.length; i++) { UnresolvedType tParm = tParms[i]; if (tParm.isTypeVariableReference()) { TypeVariableReference tvrt = (TypeVariableReference)tParm; TypeVariable tv = tvrt.getTypeVariable(); int rank = getRank(tv.getName()); if (rank!=-1) { retVal[i] = paramTypes...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
} return -1; } public ResolvedMember[] getDeclaredMethods() { if (parameterizedMethods != null) return parameterizedMethods; if (isParameterizedType() || isRawType()) { ResolvedMember[] delegateMethods = delegate.getDeclaredMethods(); UnresolvedType[] parameters = getTypesForMemberParameterization(); p...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
private UnresolvedType[] getTypesForMemberParameterization() { UnresolvedType[] parameters = null; if (isParameterizedType()) { parameters = getTypeParameters(); } else if (isRawType()){ TypeVariable[] tvs = getGenericType().getTypeVariables(); parameters = new UnresolvedType[tvs.length]; for (in...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
public PerClause getPerClause() { PerClause pclause = delegate.getPerClause(); if (isParameterizedType()) { Map parameterizationMap = getAjMemberParameterizationMap(); pclause = (PerClause)pclause.parameterizeWith(parameterizationMap); } return pclause; } protected Collection getDeclares() { if ...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
} protected Collection getTypeMungers() { return delegate.getTypeMungers(); } protected Collection getPrivilegedAccesses() { return delegate.getPrivilegedAccesses(); } public int getModifiers() { return delegate.getModifiers(); } public ResolvedType getSuperclass() { ResolvedType ret = delegate.getSupercla...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
if (isRawType() && getGenericType()!=null ) { ReferenceType genType = (ReferenceType) getGenericType(); if (genType.getDelegate() != delegate) { genType.setDelegate(delegate); } } clearParameterizationCaches(); } private void clearParameterizationCaches() { parameterizedFields = null; param...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
} public String getDeclaredGenericSignature() { return delegate.getDeclaredGenericSignature(); } public void setGenericType(ReferenceType rt) { genericType = rt; if ( typeKind == TypeKind.SIMPLE ) { typeKind = TypeKind.RAW; signatureErasure = signature; } } public void demoteToS...
153,845
Bug 153845 [generics] Problem with signature for generic type
public aspect OuterAspect { private pointcut isSetter() : execution(void set*(..)); public static aspect InnerAspect pertarget(isSetter()) { } } java.lang.IllegalStateException at org.aspectj.apache.bcel.classfile.GenericSignatureParser.parseFieldTypeSignature(GenericSignatureParser.java:163) at org.aspectj.apache.bcel...
resolved fixed
70ae0f8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-14T10:38:50Z
2006-08-15T02:46:40Z
weaver/src/org/aspectj/weaver/ReferenceType.java
* @param someParameters * @return */ private static String makeParameterizedSignature(ResolvedType aGenericType, ResolvedType[] someParameters) { String rawSignature = aGenericType.getErasureSignature(); String prefix = PARAMETERIZED_TYPE_IDENTIFIER + rawSignature.substring(1,rawSignature.length()-1); Str...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.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 distribut...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
import java.util.Collection; import java.util.Collections; import java.util.List; import org.aspectj.ajdt.internal.compiler.ast.AdviceDeclaration; import org.aspectj.ajdt.internal.compiler.ast.AspectDeclaration; import org.aspectj.ajdt.internal.compiler.ast.DeclareAnnotationDeclaration; import org.aspectj.ajdt.internal...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TagBits; import org.aspectj....
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
private static final char[] pointcutSig = "Lorg/aspectj/lang/annotation/Pointcut;".toCharArray(); private static final char[] aspectSig = "Lorg/aspectj/lang/annotation/Aspect;".toCharArray(); protected ResolvedPointcutDefinition[] declaredPointcuts = null; protected ResolvedMember[] declaredMethods = null; prote...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
{ super(resolvedTypeX, true); this.factory = factory; this.binding = binding; this.declaration = declaration; this.unit = unit; setSourceContext(new EclipseSourceContext(declaration.compilationResult)); resolvedTypeX.setStartPos(declaration.sourceStart); resolvedTypeX.setEndPos(declaration.sourceEnd)...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
return false; } ResolvedType[] annotations = getAnnotationTypes(); for (int i = 0; i < annotations.length; i++) { if ("org.aspectj.lang.annotation.Aspect".equals(annotations[i].getName())) { return true; } } return false; } private boo...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
return eclipseWorld().fromEclipse(binding.superclass()); } public ResolvedType[] getDeclaredInterfaces() { return eclipseWorld().fromEclipse(binding.superInterfaces()); } protected void fillDeclaredMembers() { List declaredPointcuts = new ArrayList(); List declaredMethods = new ArrayList(); List declaredF...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
continue; } else if ((amd.annotations != null) && isAnnotationStylePointcut(amd.annotations)) { ResolvedPointcutDefinition df = makeResolvedPointcutDefinition(amd); if (df!=null) declaredPointcuts.add(df); } else { if (amd.binding == null || !amd.binding.isValidBinding()) continue; Re...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
private ResolvedPointcutDefinition makeResolvedPointcutDefinition(AbstractMethodDeclaration md) { if (md.binding==null) return null; ResolvedPointcutDefinition resolvedPointcutDeclaration = new ResolvedPointcutDefinition( factory.fromBinding(md.binding.declaringClass), md.modifiers, ...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
} public ResolvedMember[] getDeclaredPointcuts() { if (declaredPointcuts == null) fillDeclaredMembers(); return declaredPointcuts; } public int getModifiers() { return binding.modifiers & CompilerModifiers.AccJustFlag; } public String toString() { return "EclipseSourceType(" + new String(binding.sou...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
} } for (int j=i+1; j < len; j++) { if (pointcuts[i].getName().equals(pointcuts[j].getName())) { eclipseWorld().showMessage(IMessage.ERROR, "duplicate pointcut name: " + pointcuts[j].getName(), pointcuts[i].getSourceLocation(), pointcuts[j].getSourceLocation()); sawError = true; ...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
public final static short ACC_ENUM = 0x4000; public boolean isEnum() { return (binding.getAccessFlags() & ACC_ENUM)!=0; } public boolean isAnnotation() { return (binding.getAccessFlags() & ACC_ANNOTATION)!=0; } public void addAnnotation(AnnotationX annotationX) { throw new RuntimeExcep...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
} return null; } public boolean canAnnotationTargetType() { if (isAnnotation()) { return ((binding.getAnnotationTagBits() & TagBits.AnnotationForType) != 0 ); } return false; } public AnnotationTargetKind[] getAnnotationTargetKinds() { if (discoveredAnnotationTargetKinds) return annotationTargetKin...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
} } return annotationTargetKinds; } public boolean hasAnnotation(UnresolvedType ofType) { if (!annotationsResolved) { TypeDeclaration.resolveAnnotations(declaration.staticInitializerScope, declaration.annotations, binding); annotationsResolved = true; } Annotation[] as = declaration.annotations; ...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
* The aim is that it converts Eclipse annotation objects to the AspectJ form of * annotations (the type AnnotationAJ). The AnnotationX objects returned are wrappers * over either a Bcel annotation type or the AspectJ AnnotationAJ type. * The minimal implementation provided here is for processing the RetentionP...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
} /** * Convert one eclipse annotation into an AnnotationX object containing an AnnotationAJ object. * * This code and the helper methods used by it will go *BANG* if they encounter anything * not currently supported - this is safer than limping along with a malformed annotation. When * the *BANG* is enco...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
for (int i = 0; i < memberValuePairsLength; i++) { MemberValuePair memberValuePair = memberValuePairs[i]; MethodBinding methodBinding = memberValuePair.binding; if (methodBinding == null) { throw new MissingImplementationException( "Please raise an AspectJ bug. AspectJ does not know...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
throw new MissingImplementationException( "Please raise an AspectJ bug. AspectJ does not know how to convert this annotation ["+annotation+"]"); } } private AnnotationValue generateElementValue(Expression defaultValue,TypeBinding memberValuePairReturnType) { Constant constant = defaultValue.constant; ...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
} } private AnnotationValue generateElementValueForNonConstantExpression(Expression defaultValue, TypeBinding defaultValueBinding) { if (defaultValueBinding != null) { if (defaultValueBinding.isEnum()) { FieldBinding fieldBinding = null; if (defaultValue instanceof QualifiedNameReference) { Qualif...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
ArrayInitializer arrayInitializer = (ArrayInitializer) defaultValue; int arrayLength = arrayInitializer.expressions != null ? arrayInitializer.expressions.length : 0; AnnotationValue[] values = new AnnotationValue[arrayLength]; for (int i = 0; i < arrayLength; i++) { values[i] = generateElementValu...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
annotationsResolved = true; } if (declaration.annotations == null) { resolvedAnnotations = NO_ANNOTATION_TYPES; } else { resolvedAnnotations = new ResolvedType[declaration.annotations.length]; Annotation[] as = declaration.annotations; for (int i = 0; i < as.length; i++) { Annotation annotation...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
pc = ((AspectDeclaration)declaration).perClause; if (pc==null) { PerClause.Kind kind = getPerClauseForTypeDeclaration(declaration); return new PerFromSuper(kind); } return pc; } } PerClause.Kind getPerClauseForTypeDeclaration(TypeDeclaration typ...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
} else if (annotation instanceof NormalAnnotation) { NormalAnnotation theAnnotation = (NormalAnnotation)annotation; if (theAnnotation.memberValuePairs==null || theAnnotation.memberValuePairs.length<1) return PerClause.SINGLETON; String clau...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
eclipseWorld().showMessage(IMessage.ABORT, "cannot determine perClause '" + clause + "'", new EclipseSourceLocation(typeDeclaration.compilationResult, typeDeclaration.sourceStart, typeDeclaration.sourceEnd), null); return PerClause.SINGLETON; } } private PerClause.Kind lookupPerCla...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
} else { kind = null; } return kind; } public Collection getDeclares() { return declares; } public Collection getPrivilegedAccesses() { return Collections.EMPTY_LIST; } public Collection getTypeMungers() { return typeMungers; } public boolean doesNotExposeShadow...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java
for (int i = 0; i < typeVariables.length; i++) { typeVariables[i] = typeParameter2TypeVariable(declaration.typeParameters[i]); } return typeVariables; } private TypeVariable typeParameter2TypeVariable(TypeParameter aTypeParameter) { String name = new String(aTypeParameter.name); ReferenceBinding supercla...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26: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...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testAnnotationsCallConstructors_pr158126() { runTest("annotations, call and constructors problem");} public void testIllegalStateExceptionGenerics_pr153845() { runTest("IllegalStateException at GenericSignatureParser.java"); } public void testNoIllegalStateExceptionFromAsmDelegate_pr153490_1() { runTest...
158,412
Bug 158412 @Pointcut in declare error results in NPE
I am trying to use an @AspectJ @Pointcut in a "normal" AspectJ declare error expression. That results in the following exception. java.lang.NullPointerException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:361) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:233) ...
resolved fixed
e56a69a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-09-25T13:51:40Z
2006-09-23T08:26: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"); }...