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
340,323
Bug 340323 NPE when weaving java.lang.Object at org.aspectj.weaver.bcel.BcelTypeMunger.createAnyBridgeMethodsForCovariance(BcelTypeMunger.java:1251)
null
resolved fixed
a8e6797
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-03-28T19:37:01Z
2011-03-17T13:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (munger.getDeclaredSignature() != null) { ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null, munger.getSignature().getDeclaringType().resolve(getWorld()), false, munger.getTypeVariableAliases()); boolean needsbridging = false; if (!toBridgeTo.getReturn...
340,323
Bug 340323 NPE when weaving java.lang.Object at org.aspectj.weaver.bcel.BcelTypeMunger.createAnyBridgeMethodsForCovariance(BcelTypeMunger.java:1251)
null
resolved fixed
a8e6797
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-03-28T19:37:01Z
2011-03-17T13:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (munger.getDeclaredSignature() != null) { ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null, munger.getSignature().getDeclaringType().resolve(getWorld()), false, munger.getTypeVariableAliases()); boolean needsbridging = false; if (!toBridgeTo.getReturnType().getErasur...
340,323
Bug 340323 NPE when weaving java.lang.Object at org.aspectj.weaver.bcel.BcelTypeMunger.createAnyBridgeMethodsForCovariance(BcelTypeMunger.java:1251)
null
resolved fixed
a8e6797
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-03-28T19:37:01Z
2011-03-17T13:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
int pos = 0; if (!Modifier.isStatic(bridgingSetter.getModifiers())) { body.append(InstructionFactory.createThis()); pos++; } for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; body.append(InstructionFactory.createLoad(paramType, pos)); if (!bridgingSetter.getPa...
340,323
Bug 340323 NPE when weaving java.lang.Object at org.aspectj.weaver.bcel.BcelTypeMunger.createAnyBridgeMethodsForCovariance(BcelTypeMunger.java:1251)
null
resolved fixed
a8e6797
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-03-28T19:37:01Z
2011-03-17T13:53:20Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
public List<String> getTypeVariableAliases() { return munger.getTypeVariableAliases(); } @Override public boolean equals(Object other) { if (!(other instanceof BcelTypeMunger)) { return false; } BcelTypeMunger o = (BcelTypeMunger) other; return ((o.getMunger() == null) ? (getMunger() == null) : o.getMun...
341,446
Bug 341446 java.lang.UnsupportedClassVersionError when running Java 1.5
null
resolved fixed
293a075
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-01T03:46:11Z
2011-03-31T05:40:00Z
org.aspectj.matcher/testdata/AnnotatedClass.java
package testdata; @SomeAnnotation public class AnnotatedClass { @MethodLevelAnnotation public void annotatedMethod() { } public void nonAnnotatedMethod() { } }
341,446
Bug 341446 java.lang.UnsupportedClassVersionError when running Java 1.5
null
resolved fixed
293a075
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-01T03:46:11Z
2011-03-31T05:40:00Z
org.aspectj.matcher/testdata/MethodLevelAnnotation.java
package testdata; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @interface MethodLevelAnnotation {}
341,446
Bug 341446 java.lang.UnsupportedClassVersionError when running Java 1.5
null
resolved fixed
293a075
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-01T03:46:11Z
2011-03-31T05:40:00Z
org.aspectj.matcher/testdata/SomeAnnotation.java
package testdata; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @interface SomeAnnotation {}
341,446
Bug 341446 java.lang.UnsupportedClassVersionError when running Java 1.5
null
resolved fixed
293a075
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-01T03:46:11Z
2011-03-31T05:40:00Z
org.aspectj.matcher/testsrc/org/aspectj/matcher/tools/CommonAdvancedPointcutExpressionTests.java
/******************************************************************************* * Copyright (c) 2008 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 *...
341,446
Bug 341446 java.lang.UnsupportedClassVersionError when running Java 1.5
null
resolved fixed
293a075
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-01T03:46:11Z
2011-03-31T05:40:00Z
org.aspectj.matcher/testsrc/org/aspectj/matcher/tools/CommonAdvancedPointcutExpressionTests.java
import org.aspectj.weaver.tools.StandardPointcutParser; /** * Test the use of the pointcut parser and matching infrastructure. The org.aspectj.matcher.tools infrastructure used should not be * aware of what kind of World it is working with and only operate in terms of the type abstraction expressed in the * org.aspe...
341,446
Bug 341446 java.lang.UnsupportedClassVersionError when running Java 1.5
null
resolved fixed
293a075
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-01T03:46:11Z
2011-03-31T05:40:00Z
org.aspectj.matcher/testsrc/org/aspectj/matcher/tools/CommonAdvancedPointcutExpressionTests.java
assertFalse(world.resolve("testdata.AnnotatedClass").isMissing()); } public void testTypeLevelAnnotationMatchingWithStaticInitialization01() { StandardPointcutExpression ex = pointcutParser.parsePointcutExpression("staticinitialization(@testdata.SomeAnnotation *)"); ResolvedType jlString = world.resolve("java.lan...
341,446
Bug 341446 java.lang.UnsupportedClassVersionError when running Java 1.5
null
resolved fixed
293a075
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-01T03:46:11Z
2011-03-31T05:40:00Z
org.aspectj.matcher/testsrc/org/aspectj/matcher/tools/CommonAdvancedPointcutExpressionTests.java
private ResolvedMember getMethod(ResolvedType type, String methodName, String methodSignature) { ResolvedMember[] methods = type.getDeclaredMethods(); for (int i = 0; i < methods.length; i++) { if (methods[i].getName().equals(methodName) && (methodSignature == null || methodSignature.equals(methods[i].getSi...
339,974
Bug 339974 NPE when accessing static class inside of an ITIT
This code: public class City { private String name; private Country country; } And separate file: public aspect TrafficCalculator { public static class City.TrafficCalculator { Function<City, Time> EXTREME = createExtremeTraffic(); Function<City, Time> BASIC = createBasicTraffic(); } private static Function<City, Time>...
resolved fixed
249f832
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-21T15:25:09Z
2011-03-15T03:33:20Z
tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java
/******************************************************************************* * Copyright (c) 2008 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 * ...
339,974
Bug 339974 NPE when accessing static class inside of an ITIT
This code: public class City { private String name; private Country country; } And separate file: public aspect TrafficCalculator { public static class City.TrafficCalculator { Function<City, Time> EXTREME = createExtremeTraffic(); Function<City, Time> BASIC = createBasicTraffic(); } private static Function<City, Time>...
resolved fixed
249f832
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-21T15:25:09Z
2011-03-15T03:33:20Z
tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java
public void testClashingLocalTypes_342323() { runTest("clashing local types"); } public void testITIT_338175() { runTest("itit"); } public void testThrowsClause_292239() { runTest("throws clause"); } public void testThrowsClause_292239_2() { runTest("throws clause - 2"); } public static Test suite() {...
327,134
Bug 327134 Cant suppress raw types warning in a pointcut
Build Identifier: I20100608-0911 Generic type used in a pointcut and bound to target() or this() must omit actual type name and thus causes 'raw type must be parametrized' compiler warning. @SuppressAJWarning or @SuppressWarning annotations does not turn it off Reproducible: Always Steps to Reproduce: Code snippets: po...
resolved fixed
199299c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-28T15:36:50Z
2010-10-06T15:46:40Z
tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java
/******************************************************************************* * Copyright (c) 2008 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 * ...
327,134
Bug 327134 Cant suppress raw types warning in a pointcut
Build Identifier: I20100608-0911 Generic type used in a pointcut and bound to target() or this() must omit actual type name and thus causes 'raw type must be parametrized' compiler warning. @SuppressAJWarning or @SuppressWarning annotations does not turn it off Reproducible: Always Steps to Reproduce: Code snippets: po...
resolved fixed
199299c
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-04-28T15:36:50Z
2010-10-06T15:46:40Z
tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java
public void testIllegalAccessError_343051() { runTest("illegalaccesserror"); } public void testItitNpe_339974() { runTest("itit npe"); } public void testClashingLocalTypes_342323() { runTest("clashing local types"); } public void testITIT_338175() { runTest("itit"); } public void testThrowsClause_...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.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 ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
import org.aspectj.apache.bcel.classfile.LocalVariableTable; import org.aspectj.apache.bcel.classfile.Method; import org.aspectj.apache.bcel.classfile.Unknown; import org.aspectj.apache.bcel.classfile.annotation.AnnotationGen; import org.aspectj.apache.bcel.classfile.annotation.ArrayElementValue; import org.aspectj.apa...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
import org.aspectj.weaver.ResolvedMember; import org.aspectj.weaver.ResolvedPointcutDefinition; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.VersionedDataInputStream; import org.aspectj.weaver.WeaverMessages; import org.aspectj.weaver.World; import org.aspe...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private final static List<AjAttribute> NO_ATTRIBUTES = Collections.emptyList(); private final static String[] EMPTY_STRINGS = new String[0]; private final static String VALUE = "value"; private final static String ARGNAMES = "argNames"; private final static String POINTCUT = "pointcut"; private final static String...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
/** * The list of AjAttribute.XXX that we are populating from the @AJ read */ List<AjAttribute> ajAttributes = new ArrayList<AjAttribute>(); /** * The resolved type (class) for which we are reading @AJ for (be it class, method, field annotations) */ final ResolvedType enclosingType; final ISourceCon...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private String[] m_argumentNamesLazy = null; public String unparsedArgumentNames = null; final Method method; final BcelMethod bMethod; public AjAttributeMethodStruct(Method method, BcelMethod bMethod, ResolvedType type, ISourceContext sourceContext, IMessageHandler messageHandler) { super(type, s...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
final Field field; public AjAttributeFieldStruct(Field field, BcelField bField, ResolvedType type, ISourceContext sourceContext, IMessageHandler messageHandler) { super(type, sourceContext, messageHandler); this.field = field; } } /** * Annotations are RuntimeVisible only. This allow us to not ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
ISourceContext context, IMessageHandler msgHandler, boolean isCodeStyleAspect) { boolean ignoreThisClass = javaClass.getClassName().charAt(0) == 'o' && javaClass.getClassName().startsWith("org.aspectj.lang.annotation"); if (ignoreThisClass) { return NO_ATTRIBUTES; } boolean containsPointcut = false; bo...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} AjAttributeStruct struct = new AjAttributeStruct(type, context, msgHandler); Attribute[] attributes = javaClass.getAttributes(); boolean hasAtAspectAnnotation = false; boolean hasAtPrecedenceAnnotation = false; WeaverVersionInfo wvinfo = null; for (int i = 0; i < attributes.length; i++) { Attribute att...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} catch (IOException ioe) { ioe.printStackTrace(); } } } if (wvinfo == null) { ReferenceTypeDelegate delegate = type.getDelegate(); if (delegate instanceof BcelObjectType) { wvinfo = ((BcelObjectType) delegate).getWeaverVersionAttribute(); if (wvinfo != null) { if ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
IMessage.WARNING, null, type.getSourceLocation())); return NO_ATTRIBUTES; } if (!(hasAtAspectAnnotation || isCodeStyleAspect) && !containsPointcut) { return NO_ATTRIBUTES; }
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
for (int i = 0; i < javaClass.getMethods().length; i++) { Method method = javaClass.getMethods()[i]; if (method.getName().startsWith(NameMangler.PREFIX)) { continue; } AjAttributeMethodStruct mstruct = null; boolean processedPointcut = false; Attribute[] mattributes = method.getAttributes...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (!processedPointcut) { processedPointcut = handleDeclareMixinAnnotation((RuntimeAnnos) mattribute, mstruct); } break; } } if (processedPointcut) { struct.ajAttributes.addAll(mstruct.ajAttributes); } } Field[] fs = javaClass.getFields(); for (int i = 0; i < fs.length...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (!type.isAnnotationStyleAspect() && !isCodeStyleAspect) { msgHandler.handleMessage(new Message("Found @AspectJ annotations in a non @Aspect type '" + type.getName() + "'", IMessage.WARNING, null, type.getSourceLocation())); } } break; } } struct.ajAttributes.ad...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
Attribute[] attributes = method.getAttributes(); boolean hasAtAspectJAnnotation = false; boolean hasAtAspectJAnnotationMustReturnVoid = false; for (int i = 0; i < attributes.length; i++) { Attribute attribute = attributes[i]; try { if (acceptAttribute(attribute)) { ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } catch (ReturningFormalNotDeclaredInAdviceSignatureException e) { msgHandler.handleMessage(new Message(WeaverMessages.format(WeaverMessages.RETURNING_FORMAL_NOT_DECLARED_IN_ADVICE, e.getFormalName()), IMessage.ERROR, null, bMethod.getSourceLocation())); } catch (ThrownFormalNotDeclaredInAdviceSignatu...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} if (hasAtAspectJAnnotationMustReturnVoid && !Type.VOID.equals(struct.method.getReturnType())) { msgHandler.handleMessage(new Message("Found @AspectJ annotation on a non around advice not returning void '" + methodToString(struct.method) + "'", IMessage.ERROR, null, type.getSourceLocation())); } r...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} /** * Read @Aspect * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleAspectAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeStruct struct) { AnnotationGen aspect = getAnnotation(runtimeAnnotations, AjcMemberMaker.ASPECT_ANNOTATION); if (aspe...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
String perX = aspectPerClause.getValue().stringifyValue(); if (perX == null || perX.length() <= 0) { perClause = new PerSingleton(); } else { perClause = parsePerClausePointcut(perX, struct); } } if (perClause == null) { return false; } else { perClause.setLocation(struct.con...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } return false; } /** * Read a perClause, returns null on failure and issue messages * * @param perClauseString like "pertarget(.....)" * @param struct for which we are parsing the per clause * @return a PerClause instance */ private static PerClause parsePerClausePointcut(String perClauseString, ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
pointcut = parsePointcut(pointcutString, struct, false); perClause = new PerObject(pointcut, true); } else if (perClauseString.startsWith(PerClause.KindAnnotationPrefix.PERTYPEWITHIN.getName())) { pointcutString = PerClause.KindAnnotationPrefix.PERTYPEWITHIN.extractPointcut(perClauseString); typePattern = pa...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* @return true if found */ private static boolean handlePrecedenceAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeStruct struct) { AnnotationGen aspect = getAnnotation(runtimeAnnotations, AjcMemberMaker.DECLAREPRECEDENCE_ANNOTATION); if (aspect != null) { NameValuePair precedence = getAnnotationElement...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
/** * Read @DeclareParents * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleDeclareParentsAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeFieldStruct struct) { AnnotationGen decp = getAnnotation(runtimeAnnotations, AjcMemberMaker.DECLA...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
List<TypePattern> parents = new ArrayList<TypePattern>(1); parents.add(parent); DeclareParents dp = new DeclareParents(typePattern, parents, false); dp.resolve(binding); typePattern = typePattern.resolveBindings(binding, Bindings.NONE, false, false); ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
int implModifiers = impl.getModifiers(); boolean defaultVisibilityImpl = !(Modifier.isPrivate(implModifiers) || Modifier.isProtected(implModifiers) || Modifier.isPublic(implModifiers)); boolean hasNoCtorOrANoArgOne = true; ResolvedMember foundOneOfIncorrectVisibility = null; for (in...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } if (!hasNoCtorOrANoArgOne) { if (foundOneOfIncorrectVisibility != null) { reportError( "@DeclareParents: defaultImpl=\"" + defaultImplClassName + "\" has a no argument constructor, but it is of incorrect visibility. It must be at least as visible ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
hasAtLeastOneMethod = true; MethodDelegateTypeMunger mdtm = new MethodDelegateTypeMunger(method, struct.enclosingType, defaultImplClassName, typePattern); mdtm.setFieldType(fieldType); m...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (hasAtLeastOneMethod && defaultImplClassName != null) { ResolvedMember fieldHost = AjcMemberMaker.itdAtDeclareParentsField(null, fieldType, struct.enclosingType); struct.ajAttributes.add(new AjAttribute.TypeMunger(new MethodDelegateTypeMunger.FieldHostTypeMunger( fieldHost, struct.enclosingType, ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
sb.append(","); } sb.append(args[t].toString()); } } sb.append(")'"); return sb.toString(); } /** * Process any @DeclareMixin annotation. * * Example Declaration <br> * * @DeclareMixin("Foo+") public I createImpl(Object o) { return new Impl(o); } * * <br> * @param runtimeAnnotation...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
String declareMixinPattern = declareMixinPatternNameValuePair.getValue().stringifyValue(); TypePattern targetTypePattern = parseTypePattern(declareMixinPattern, struct); ResolvedType methodReturnType = UnresolvedType.forSignature(annotatedMethod.getReturnType().getSignature()).resolve(world); if (methodReturnT...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (ajInterfaceType.isMissing() || !ajInterfaceType.isInterface()) { reportError( "Types listed in the 'interfaces' DeclareMixin annotation value must be valid interfaces. This is invalid: " + ajInterfaceType.getName(), struct); return false; } if (!ajInterfaceType.isAssignableFrom(me...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
return false; } FormalBinding[] bindings = new org.aspectj.weaver.patterns.FormalBinding[0]; IScope binding = new BindingScope(struct.enclosingType, struct.context, bindings); DeclareParents dp = new DeclareParentsMixin(targetTypePattern, newParents); dp.resolve(binding); targetTypePattern = dp.getChi...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
MethodDelegateTypeMunger mdtm = new MethodDelegateTypeMunger(method, struct.enclosingType, "", targetTypePattern, struct.method.getName(), struct.method.getSignature()); mdtm.setFieldType(methodReturnType); mdtm.setSourceLocation(struct.enclosingType.getSourceLocation()); struct.ajAttributes.add(n...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
String argumentNames = getArgNamesValue(before); if (argumentNames != null) { struct.unparsedArgumentNames = argumentNames; } FormalBinding[] bindings = new org.aspectj.weaver.patterns.FormalBinding[0]; try { bindings = extractBindings(struct); } catch (UnreadableDebugInfoException unreada...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
return true; } } return false; } /** * Read @After * * @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleAfterAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeMethodStruct struct, ResolvedPointcutDefinition preResolvedPointcut) { Annotati...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
int extraArgument = extractExtraArgument(struct.method); Pointcut pc = null; if (preResolvedPointcut != null) { pc = preResolvedPointcut.getPointcut(); } else { pc = parsePointcut(afterAdvice.getValue().stringifyValue(), struct, false); if (pc == null) { return false; } pc.res...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private static boolean handleAfterReturningAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeMethodStruct struct, ResolvedPointcutDefinition preResolvedPointcut, BcelMethod owningMethod) throws ReturningFormalNotDeclaredInAdviceSignatureException { AnnotationGen after = getAnnotation(runtimeAnnotations, Aj...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
String[] pNames = owningMethod.getParameterNames(); if (pNames == null || pNames.length == 0 || !Arrays.asList(pNames).contains(returned)) { throw new ReturningFormalNotDeclaredInAdviceSignatureException(returned); } } } String argumentNames = getArgNamesValue(after); if (argumentNames != n...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} else { pc = parsePointcut(pointcut, struct, false); if (pc == null) { return false; } pc.resolve(binding); } setIgnoreUnboundBindingNames(pc, bindings); ISourceLocation sl = struct.context.makeSourceLocation(struct.bMethod.getDeclarationLineNumber(), struct.bMethod.getDeclarationOff...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
NameValuePair annPointcut = getAnnotationElement(after, POINTCUT); NameValuePair annThrown = getAnnotationElement(after, THROWING); String pointcut = null; String thrownFormal = null; if ((annValue != null && annPointcut != null) || (annValue == null && annPointcut == null)) { reportError("@AfterThr...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} String argumentNames = getArgNamesValue(after); if (argumentNames != null) { struct.unparsedArgumentNames = argumentNames; } FormalBinding[] bindings = new org.aspectj.weaver.patterns.FormalBinding[0]; try { bindings = (thrownFormal == null ? extractBindings(struct) : extractBinding...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} setIgnoreUnboundBindingNames(pc, bindings); ISourceLocation sl = struct.context.makeSourceLocation(struct.bMethod.getDeclarationLineNumber(), struct.bMethod.getDeclarationOffset()); struct.ajAttributes.add(new AjAttribute.AdviceAttribute(AdviceKind.AfterThrowing, pc, extraArgument, sl.getOffset(), sl ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
bindings = extractBindings(struct); } catch (UnreadableDebugInfoException unreadableDebugInfoException) { return false; } IScope binding = new BindingScope(struct.enclosingType, struct.context, bindings); int extraArgument = extractExtraArgument(struct.method); Pointcut pc = null; if (...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* * @param runtimeAnnotations * @param struct * @return true if a pointcut was handled */ private static boolean handlePointcutAnnotation(RuntimeAnnos runtimeAnnotations, AjAttributeMethodStruct struct) { AnnotationGen pointcut = getAnnotation(runtimeAnnotations, AjcMemberMaker.POINTCUT_ANNOTATION); if (p...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (struct.method.isAbstract()) { binding = null; } else { binding = new BindingScope(struct.enclosingType, struct.context, extractBindings(struct)); } } catch (UnreadableDebugInfoException e) { return false; } UnresolvedType[] argumentTypes = new UnresolvedType[struct.method.getArgumentTypes().l...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
pc = parsePointcut(pointcutExpr.getValue().stringifyValue(), struct, true); if (pc == null) { return false; } pc.setLocation(struct.context, -1, -1); } } struct.ajAttributes.add(new AjAttribute.PointcutDeclarationAttribute(new LazyResolvedPointcutDefinition( ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* @param runtimeAnnotations * @param struct * @return true if found */ private static boolean handleDeclareErrorOrWarningAnnotation(AsmManager model, RuntimeAnnos runtimeAnnotations, AjAttributeFieldStruct struct) { AnnotationGen error = getAnnotation(runtimeAnnotations, AjcMemberMaker.DECLAREERROR_ANNOTATI...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
if (declareWarning != null) { if (!STRING_DESC.equals(struct.field.getSignature()) || struct.field.getConstantValue() == null) { reportError("@DeclareWarning used on a non String constant field", struct); return false; } Pointcut pc = parsePointcut(declareWarning.getValue().stringifyValue(), struc...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
*/ private static void setDeclareErrorOrWarningLocation(AsmManager model, DeclareErrorOrWarning deow, AjAttributeFieldStruct struct) { IHierarchy top = (model == null ? null : model.getHierarchy()); if (top != null && top.getRoot() != null) { IProgramElement ipe = top.findElementForLabel(top.getRoot(), IProgram...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* @param struct * @return null if no debug info is available */ private static FormalBinding[] extractBindings(AjAttributeMethodStruct struct) throws UnreadableDebugInfoException { Method method = struct.method; String[] argumentNames = struct.getArgumentNames(); if (argumentNames.length != method.getArgu...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
bindings.add(new FormalBinding(argumentType, argumentName, i)); } } return bindings.toArray(new FormalBinding[] {}); } private static FormalBinding[] extractBindings(AjAttributeMethodStruct struct, String excludeFormal) throws UnreadableDebugInfoException { FormalBinding[] bindings = extractBindings(str...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} /** * Compute the flag for the xxxJoinPoint extra argument * * @param method * @return extra arg flag */ private static int extractExtraArgument(Method method) { Type[] methodArgs = method.getArgumentTypes(); String[] sigs = new String[methodArgs.length]; for (int i = 0; i < methodArgs.length; i++)...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
for (int i = 0; i < argumentSignatures.length; i++) { if (AjcMemberMaker.TYPEX_JOINPOINT.getSignature().equals(argumentSignatures[i])) { extraArgument |= Advice.ThisJoinPoint; } else if (AjcMemberMaker.TYPEX_PROCEEDINGJOINPOINT.getSignature().equals(argumentSignatures[i])) { extraArgument |= Advice.ThisJo...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* Returns the value of a given element of an annotation or null if not found Caution: Does not handles default value. * * @param annotation * @param elementName * @return annotation NVP */ private static NameValuePair getAnnotationElement(AnnotationGen annotation, String elementName) { for (NameValuePair ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} else { return fqname.substring(i + 1); } } /** * Extract the method argument names. First we try the debug info attached to the method (the LocalVariableTable) - if we cannot * find that we look to use the argNames value that may have been supplied on the associated annotation. If that fails we just * do...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } if (arguments.size() == 0) { LocalVariable localVariable = lvt[0]; if (localVariable.getStartPC() != 0) { for (int j = 0; j < lvt.length && arguments.size() < method.getArgumentTypes().length; j++) { localVariable = lvt[j]; if (localVariable.getInde...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
.append(method.getName()); if (method.getArgumentTypes().length > 0) { shortString.append("("); for (int i = 0; i < method.getArgumentTypes().length; i++) { shortString.append(lastbit(method.getArgumentTypes()[i].toString())); if ((i + 1) < method.getArgumentTypes().length) { shor...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} } }); String[] argumentNames = new String[arguments.size()]; int i = 0; for (MethodArgument methodArgument : arguments) { argumentNames[i++] = methodArgument.name; } return argumentNames; } /** * A method argument, used for sorting by indexOnStack (ie order in signature) * * @author <a href...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private final Pointcut m_pointcutUnresolved; private final IScope m_binding; private Pointcut m_lazyPointcut = null; public LazyResolvedPointcutDefinition(UnresolvedType declaringType, int modifiers, String name, UnresolvedType[] parameterTypes, UnresolvedType returnType, Pointcut pointcut, IScope binding...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* Helper to test empty strings * * @param s * @return true if empty or null */ private static boolean isNullOrEmpty(String s) { return (s == null || s.length() <= 0); } /** * Set the pointcut bindings for which to ignore unbound issues, so that we can implicitly bind xxxJoinPoint for @AJ advices * ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
} /** * Report an error * * @param message * @param location */ private static void reportError(String message, AjAttributeStruct location) { if (!location.handler.isIgnoring(IMessage.ERROR)) { location.handler.handleMessage(new Message(message, location.enclosingType.getSourceLocation(), true)); } ...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
* @param message * @param location */ private static void reportWarning(String message, AjAttributeStruct location) { if (!location.handler.isIgnoring(IMessage.WARNING)) { location.handler.handleMessage(new Message(message, location.enclosingType.getSourceLocation(), false)); } } /** * Parse the given p...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
reportError("Invalid pointcut '" + pointcutString + "': " + e.toString() + (e.getLocation() == null ? "" : " at position " + e.getLocation().getStart()), struct); return null; } } private static boolean hasIf(Pointcut pointcut) { IfFinder visitor = new IfFinder(); pointcut.accept(visitor, null); retur...
348,488
Bug 348488 "register definition failed" with NullPointerException
null
resolved fixed
95e70d2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-07T16:46:19Z
2011-06-07T01:26:40Z
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
private final String formalName; public ThrownFormalNotDeclaredInAdviceSignatureException(String formalName) { this.formalName = formalName; } public String getFormalName() { return formalName; } } static class ReturningFormalNotDeclaredInAdviceSignatureException extends Exception { private final Stri...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.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...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
import java.util.List; import org.aspectj.apache.bcel.Constants; import org.aspectj.apache.bcel.classfile.Attribute; import org.aspectj.apache.bcel.classfile.ClassParser; import org.aspectj.apache.bcel.classfile.ConstantPool; import org.aspectj.apache.bcel.classfile.JavaClass; import org.aspectj.apache.bcel.classfile.U...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
import org.aspectj.weaver.AjAttribute; import org.aspectj.weaver.AjAttribute.WeaverVersionInfo; import org.aspectj.weaver.AnnotationAJ; import org.aspectj.weaver.BCException; import org.aspectj.weaver.ConstantPoolReader; import org.aspectj.weaver.ISourceContext; import org.aspectj.weaver.Lint; import org.aspectj.weaver...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
"Unable to continue, this version of AspectJ supports classes built with weaver version " + WeaverVersionInfo.toCurrentVersionString() + " but the class " + classname + " is version " + version.toString() + ". Please update your AspectJ."); } } forSecondPass.add(u); } ...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
int takeFrom = isl.getSourceFile().getPath().lastIndexOf('/'); if (takeFrom == -1) { takeFrom = isl.getSourceFile().getPath().lastIndexOf('\\'); } nice.append(isl.getSourceFile().getPath().substring(takeFrom + 1)); if (isl.getLine() != 0) { nice.append(":").append(isl.getLine()); } } return n...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
if (Modifier.isInterface(signatureModifiers)) { kind = Constants.INVOKEINTERFACE; } else if (Modifier.isStatic(signatureModifiers)) { kind = Constants.INVOKESTATIC; } else if (Modifier.isPrivate(signatureModifiers) || signature.getName().equals("<init>")) { kind = Constants.INVOKESPECIAL; } else { kin...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
} else { kind = Constants.PUTFIELD; } return fact.createFieldAccess(signature.getDeclaringType().getName(), signature.getName(), BcelWorld.makeBcelType(signature.getReturnType()), kind); } public static Instruction createInstanceof(InstructionFactory fact, ReferenceType t) { int cpoolEntry = (t instanceo...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
* @return */ public static Instruction createInvoke(InstructionFactory fact, short kind, Member member) { return fact.createInvoke(member.getDeclaringType().getName(), member.getName(), BcelWorld.makeBcelType(member.getReturnType()), BcelWorld.makeBcelTypes(member.getParameterTypes()), kind); } private stati...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
validBoxing.put("Ljava/lang/Short;S", "shortObject"); validBoxing.put("Ljava/lang/Boolean;Z", "booleanObject"); validBoxing.put("BLjava/lang/Byte;", "byteValue"); validBoxing.put("CLjava/lang/Character;", "charValue"); validBoxing.put("DLjava/lang/Double;", "doubleValue"); validBoxing.put("FLjava/lang/Float;"...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
il.append(InstructionFactory.createNull(Type.OBJECT)); return; } else if (fromType.equals(UnresolvedType.OBJECT)) { Type to = BcelWorld.makeBcelType(toType); if (toType.isPrimitiveType()) { String name = toType.toString() + "Value"; il.append(fact.createInvoke("org.aspectj.runtime.internal.Conversion...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
il.append(fact.createCheckCast((ReferenceType) to)); } } else if (fromType.isPrimitiveType()) { Type from = BcelWorld.makeBcelType(fromType); Type to = BcelWorld.makeBcelType(toType); try { Instruction i = fact.createCast(from, to); if (i != null) { il.append(i); } else { il.appe...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
if ((fromType.equals(Type.BYTE) || fromType.equals(Type.CHAR) || fromType.equals(Type.SHORT)) && (toType.equals(Type.INT))) { return il; } if (fromType.equals(toType)) { return il; } if (toType.equals(Type.VOID)) { il.append(InstructionFactory.createPop(fromType.getSize())); return il; } if (fro...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
Constants.INVOKESTATIC)); return il; } else if (fromType instanceof ReferenceType) { return il; } else { throw new RuntimeException(); } } if (fromType instanceof ReferenceType && ((ReferenceType) fromType).isAssignmentCompatibleWith(toType)) { return il; } if (allowAutoboxing) { if (...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
} public static Instruction createConstant(InstructionFactory fact, int value) { Instruction inst; switch (value) { case -1: inst = InstructionConstants.ICONST_M1; break; case 0: inst = InstructionConstants.ICONST_0; break; case 1: inst = InstructionConstants.ICONST_1; break; case 2: i...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
} else { int ii = fact.getClassGen().getConstantPool().addInteger(value); inst = new InstructionCP(value <= Constants.MAX_BYTE ? Constants.LDC : Constants.LDC_W, ii); } break; } return inst; } public static int testingParseCounter = 0; public static JavaClass makeJavaClass(String filename, byte[]...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
deleteInstruction(ih, fresh, enclosingMethod); } /** * delete an instruction handle and retarget all targeters of the deleted instruction to the next instruction. Obviously, this * should not be used to delete a control transfer instruction unless you know what you're doing. * * @param ih the instruction han...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
} /** * Fix for Bugzilla #39479, #40109 patch contributed by Andy Clement * * Need to manually copy Select instructions - if we rely on the the 'fresh' object created by copy(), the InstructionHandle * array 'targets' inside the Select object will not have been deep copied, so modifying targets in fresh will ...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
public static int getSourceLine(InstructionHandle ih) { int lookahead = 0; while (lookahead++ < 100) { if (ih == null) { return -1; } Iterator<InstructionTargeter> tIter = ih.getTargeters().iterator(); while (tIter.hasNext()) { InstructionTargeter t = tIter.next(); if (t instanceof ...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
} } ih = ih.getPrev(); } return -1; } public static void setSourceLine(InstructionHandle ih, int lineNumber) { ih.addTargeter(new LineNumberTag(lineNumber)); } public static int makePublic(int i) { return i & ~(Modifier.PROTECTED | Modifier.PRIVATE) | Modifier.PUBLIC; } public...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
ret[i] = new BcelVar(typeX, local); } return ret; } public static boolean isConstantPushInstruction(Instruction i) { long ii = Constants.instFlags[i.opcode]; return ((ii & Constants.PUSH_INST) != 0 && (ii & Constants.CONSTANT_INST) != 0); } /** * Checks for suppression specified on the member or on the de...
349,636
Bug 349636 AspectJ reports "abort trouble" while instrumenting a class on startup
Build Identifier: 20110218-0911 java.lang.NullPointerException at org.aspectj.weaver.bcel.Utility.appendConversion(Utility.java:272) at org.aspectj.weaver.bcel.BcelVar.appendConvertableArrayLoad(BcelVar.java:81) at org.aspectj.weaver.bcel.BcelVar.createConvertableArrayLoad(BcelVar.java:101) at org.aspectj.weaver.bcel.B...
resolved fixed
f7b1193
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2011-06-17T22:39:42Z
2011-06-17T00:20:00Z
weaver/src/org/aspectj/weaver/bcel/Utility.java
if (UnresolvedType.SUPPRESS_AJ_WARNINGS.getSignature().equals( ((BcelAnnotation) anns[i]).getBcelAnnotation().getTypeSignature())) { found = true; List<NameValuePair> vals = ((BcelAnnotation) anns[i]).getBcelAnnotation().getValues(); if (vals == null || vals.isEmpty()) { suppr...