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
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
private boolean xSerializableAspects; private World world; private Map typexToBinding = new HashMap(); public static EclipseFactory fromLookupEnvironment(LookupEnvironment env) { AjLookupEnvironment aenv = (AjLookupEnvironment)env; return aenv.factory; } public static EclipseFactory fromScopeLookupEnvi...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
public World getWorld() { return world; } public void showMessage( Kind kind, String message, ISourceLocation loc1, ISourceLocation loc2) { getWorld().showMessage(kind, message, loc1, loc2); } public ResolvedType fromEclipse(ReferenceBinding binding) { if (binding == null) return ResolvedType.MISSI...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} int len = bindings.length; ResolvedType[] ret = new ResolvedType[len]; for (int i=0; i < len; i++) { ret[i] = fromEclipse(bindings[i]); } return ret; } public static String getName(TypeBinding binding) { if (binding instanceof TypeVariableBinding) { TypeVariableBinding tvb = (TypeVariableBi...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
return new String(className); } /** * Some generics notes: * * Andy 6-May-05 * We were having trouble with parameterized types in a couple of places - due to TypeVariableBindings. When we * see a TypeVariableBinding now we default to either the firstBound if it is specified or java.lang.Object. Not * s...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
if (binding instanceof ArrayBinding) { ArrayBinding aBinding = (ArrayBinding) binding; UnresolvedType componentType = fromBinding(aBinding.leafComponentType); return UnresolvedType.makeArray(componentType, aBinding.dimensions); } if (binding instanceof WildcardBinding) { WildcardBinding eWB = (Wildca...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
return UnresolvedType.forRawTypeName(getName(binding)); } ParameterizedTypeBinding ptb = (ParameterizedTypeBinding) binding; UnresolvedType[] arguments = null; if (ptb.arguments!=null) { arguments = new UnresolvedType[ptb.arguments.length]; for (int i = 0; i < arguments.length; i++) { ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
return TypeFactory.createUnresolvedParameterizedType(parameterizedSig,baseTypeSignature,arguments); } if (binding.isGenericType() && !binding.isParameterizedType() && !binding.isRawType()) { TypeVariableBinding[] tvbs = binding.typeVariables(); TypeVariable[] tVars = new TypeVaria...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
return UnresolvedType.forSignature(new String(ltb.enclosingType.signature())); } } return UnresolvedType.forName(getName(binding)); } /** * Some type variables refer to themselves recursively, this enables us to avoid * recursion problems. */ private static Map typeVariableBindingsInProgress = new Ha...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
return ret; } } if (typeVariablesForThisMember.containsKey(new String(aTypeVariableBinding.sourceName))) { return (UnresolvedType)typeVariablesForThisMember.get(new String(aTypeVariableBinding.sourceName)); } String name = CharOperation.charToString(aTypeVariableBinding.sourceName()); Unr...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} ret.setTypeVariable(tv); if (aTypeVariableBinding.declaringElement instanceof MethodBinding) typeVariablesForThisMember.put(new String(aTypeVariableBinding.sourceName),ret); typeVariableBindingsInProgress.remove(aTypeVariableBinding); return ret; } public UnresolvedType[] fromBindings(TypeBinding[] b...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
return getWorld().getDeclareAnnotationOnFields(); } public Collection getDeclareAnnotationOnMethods() { return getWorld().getDeclareAnnotationOnMethods(); } public Collection finishedTypeMungers = null; public boolean areTypeMungersFinished() { return finishedTypeMungers != null; } public void finish...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
if (concrete.getMunger() != null && EclipseTypeMunger.supportsKind(concrete.getMunger().getKind())) { AbstractMethodDeclaration method = null; if (concrete instanceof EclipseTypeMunger) { method = ((EclipseTypeMunger)concrete).getSourceMethod(); } EclipseTypeMunger ret = new EclipseTypeMunger(this,...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
* component of the method binding refer to them, we grab them from the map. */ private Map typeVariablesForThisMember = new HashMap(); /** * This is a map from typevariablebindings (eclipsey things) to the names the user * originally specified in their ITD. For example if the target is 'interface I<N ext...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
UnresolvedType[] ajTypeRefs = null; typeVariablesForThisMember.clear(); if (binding.typeVariables!=null) { ajTypeRefs = new UnresolvedType[binding.typeVariables.length]; for (int i = 0; i < binding.typeVariables.length; i++) { ajTypeRefs[i] = fromBinding(binding.typeVariables[i]); typeVariablesForT...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
tVars[i]=((TypeVariableReference)ajTypeRefs[i]).getTypeVariable(); } ret.setTypeVariables(tVars); } typeVariablesForThisMember.clear(); ret.resolve(world); return ret; } public ResolvedMember makeResolvedMember(FieldBinding binding) { return makeResolvedMember(binding, binding.declaringClass); } p...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
if (!typeX.isTypeVariableReference()) ret = (TypeBinding)typexToBinding.get(typeX); if (ret == null) { ret = makeTypeBinding1(typeX); if (!(typeX instanceof BoundedReferenceType) && !(typeX instanceof UnresolvedTypeVariableReferenceType)) typexToBinding.put(typeX, ret); } if (ret == null) {...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
dim++; typeX = typeX.getComponentType(); } return lookupEnvironment.createArrayType(makeTypeBinding(typeX), dim); } else if (typeX.isParameterizedType()) { UnresolvedType[] typeParameters = typeX.getTypeParameters(); ReferenceBinding baseTypeBinding = lookupBinding(typeX.getBaseName()); T...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} else if (brt.isSuper()) { boundkind = Wildcard.SUPER; bound = makeTypeBinding(brt.getLowerBound()); } TypeBinding[] otherBounds = null; if (brt.getAdditionalBounds()!=null && brt.getAdditionalBounds().length!=0) otherBounds = makeTypeBindings(brt.getAdditionalBounds()); WildcardBinding wb = l...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
private ReferenceBinding[] makeReferenceBindings(UnresolvedType[] types) { int len = types.length; ReferenceBinding[] ret = new ReferenceBinding[len]; for (int i = 0; i < len; i++) { ret[i] = (ReferenceBinding)makeTypeBinding(types[i]); } return ret; } public FieldBinding makeFieldBinding(NewF...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
/** * Take a normal AJ member and convert it into an eclipse fieldBinding. * Taking into account any aliases that it may include due to being * a generic itd. Any aliases are put into the typeVariableToBinding * map so that they will be substituted as appropriate in the returned * fieldbinding. */ public ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
return fb; } private ReferenceBinding currentType = null; public MethodBinding makeMethodBinding(NewMethodTypeMunger nmtm) { return internalMakeMethodBinding(nmtm.getSignature(),nmtm.getTypeVariableAliases()); } /** * Convert a resolvedmember into an eclipse method binding. */ public MethodBinding mak...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
} public MethodBinding internalMakeMethodBinding(ResolvedMember member,List aliases) { return internalMakeMethodBinding(member,aliases,member.getDeclaringType()); } /** * Take a normal AJ member and convert it into an eclipse methodBinding. * Taking into account any aliases that it may include due to being...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
for (Iterator iter = aliases.iterator(); iter.hasNext();) { String element = (String) iter.next(); typeVariableToTypeBinding.put(element,aliasTarget.typeVariables()[i++]); } } currentType = declaringType; MethodBinding mb = new MethodBinding(member.getModifiers(), member.getName().toCharArray(...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
private Map typeVariableToTypeBinding = new HashMap(); /** * Converts from an TypeVariableReference to a TypeVariableBinding. A TypeVariableReference * in AspectJ world holds a TypeVariable and it is this type variable that is converted * to the TypeVariableBinding. */ private TypeVariableBinding makeTypeV...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
for (int i = 0; i < tbs.length; i++) { rbs[i] = (ReferenceBinding)tbs[i]; } tvBinding.superInterfaces=rbs; } } return tvBinding; } private TypeVariableBinding makeTypeVariableBindingFromAJTypeVariable(TypeVariable tv) { TypeVariableBinding tvBinding = (TypeVariableBinding)typeVariableToTypeBindi...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
tvBinding.superInterfaces=rbs; } } return tvBinding; } public MethodBinding makeMethodBindingForCall(Member member) { return new MethodBinding(member.getCallsiteModifiers(), member.getName().toCharArray(), makeTypeBinding(member.getReturnType()), makeTypeBindings(member.getParameterTypes()), ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
TypeDeclaration decl = binding.scope.referenceContext; UnresolvedType simpleTx = null; if (binding.isGenericType()) { simpleTx = UnresolvedType.forRawTypeName(getName(binding)); } else if (binding.isLocalType()) { LocalTypeBinding ltb = (LocalTypeBinding) binding; if (ltb.constantPoolName() !...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
if (decl instanceof AspectDeclaration) { ((AspectDeclaration)decl).typeX = name; ((AspectDeclaration)decl).concreteName = t; } ReferenceBinding[] memberTypes = binding.memberTypes; for (int i = 0, length = memberTypes.length; i < length; i++) { addSourceTypeBinding((SourceTypeBinding) memberTypes[i], ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
/******************************************************************************* * Copyright (c) 2004 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://ww...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
import org.aspectj.util.LangUtil; public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public static Test suite() { return XMLBasedAjcTestCase.loadSuite(Ajc150Tests.class); } protected File getSpecFile() { return new File("../tests/src/org/aspectj/systemtest/ajc150/ajc150.xml"); ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testIncompatibleClassChangeError_pr113630_1() {runTest("IncompatibleClassChangeError - errorscenario");} public void testIncompatibleClassChangeError_pr113630_2() {runTest("IncompatibleClassChangeError - workingscenario");} public void testFieldGetProblemWithGenericField_pr113861() {runTest("field-ge...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void test_ambiguousBindingsDetection() { runTest("Various kinds of ambiguous bindings"); } public void test_ambiguousArgsDetection() { runTest("ambiguous args"); } public void testIncorrectExceptionTableWhenBreakInMethod_pr78021() { runTest("Injecting exception into while loop with ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testCanOverrideProtectedMethodsViaITDandDecp_pr83303() { runTest("compiler error when mixing inheritance, overriding and polymorphism"); } public void testPerTypeWithin_pr106554() {runTest("Problem in staticinitialization with pertypewithin aspect");} public void testPerTypeWithinMisse...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
pw.flush(); String tree = baos.toString(); assertTrue("Expected 'Red [enumvalue]' somewhere in here:"+tree,tree.indexOf("Red [enumvalue]")!=-1); } } public void npeOnTypeNotFound() { runTest("structure model npe on type not found"); } public void testNoRuntimeExceptionSoftening() { runTes...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testIntroSample() { runTest("introduction sample"); } public void testPTWInterface() { runTest("pertypewithin({interface}) illegal field modifier"); } public void testEnumCalledEnumEtc() { runTest("enum called Enum, annotation called Annotation, etc"); } public void testInterna...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testGenerics_pr99089() {runTest("ArrayIndexOutOfBoundsException - Generics in privileged aspects");} public void testGenerics_pr95993() {runTest("NPE at ClassScope.java:660 when compiling generic class");} public void testItdGenerics_pr99228() {runTest("ITD of a field into a generic class");} publ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testIntermediateAnnotationMatching() { runTest("intermediate annotation matching"); } public void testBadRuntimeTestGeneration() { runTest("target(@Foo *)"); } public void testErrorMessageOnITDWithTypePatterns() { runTest("clear error message on itd with type pattern"); } ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testPointcutOverriding() { runTest("overriding final pointcut from super-aspect"); } public void testAtSuppressWarnings() { runTest("@SuppressWarnings should suppress"); } public void testDEOWWithBindingPointcut() { runTest("declare warning : foo(str) : ...;"); } public void te...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testPrivilegedMethodAccessorsGetRightExceptions_pr82989() { runTest("Compiler error due to a wrong exception check in try blocks"); } public void testAnonymousInnerClassWithMethodReturningTypeParameter_pr107898() { runTest("anonymous inner class with method returning type parameter"); } ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("@AfterThrowing with no formal specified"); } public void testParameterizedVarArgsMatch() { runTest("varargs with type variable"); } public void testFieldAccessInsideITDM() { runTest("itd field access inside itd method"); } public void testTypeVarWithTypeVarBound() { runTest("type var...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testInlinedFieldAccessInProceedCall() { runTest("inlined field access in proceed call"); } public void testVisibiltyInSignatureMatchingWithOverridesPart1() { runTest("visibility in signature matching with overrides - 1"); } public void testVisibiltyInSignatureMatchingWithOverridesPart2() { ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testOverrideAndCovarianceWithDecPRuntime() { runTest("override and covariance with decp - runtime"); } public void testOverrideAndCovarianceWithDecPRuntimeMultiFiles() { runTest("override and covariance with decp - runtime separate files"); } public void testOverrideAndCovarianceWithDecPRun...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testPrivatePointcutOverriding() { runTest("can't override private pointcut in abstract aspect"); } public void testAdviceOnCflow() { runTest("advising cflow advice execution"); } public void testNoTypeMismatchOnSameGenericTypes() { runTest("no type mismatch on generic types in itds"); ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testCantFindTypeErrorWithGenericReturnTypeOrParameter() { runTest("cant find type error with generic return type or parameter"); } public void testNoVerifyErrorOnGenericCollectionMemberAccess() { runTest("no verify error on generic collection member access"); } public void testRawAndGeneric...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testCantProvideDefaultImplViaITD_pr110307_2() {runTest("Cant provide default implementation via ITD - 2");} public void testCantProvideDefaultImplViaITD_pr110307_3() {runTest("Cant provide default implementation via ITD - 3");} public void testCantProvideDefaultImplViaITD_pr110307_4() {runTest("Cant pro...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testAdviceInStructureModelWithAnonymousInnerClass_pr77269() { runTest("advice in structure model with anonymous inner class"); IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement anonRunMethodIPE = top.findElementForLabel(top.getRoot(), ...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
if (element.getName().equals("advises")) { rel = (Relationship) element; break; } } targets = rel.getTargets(); assertTrue("Should have one target but has" + targets.size(), targets.size()==1); target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0));...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
targets.size()==1); IProgramElement target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0)); assertEquals("target of relationship should be 'before(): p..' but is " + target.toLabelString(),"before(): p..",target.toLabelString()); IProgramElement adviceIP...
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
resolved fixed
ade32bc
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-02T16:16:29Z
2005-11-02T14:00:00Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement pe = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.CODE,"method-call(void pack.Test.someMethod())"); assertNotNull("Couldn't find 'method-call(void pack.Test.someMethod())' element in the tree",pe); } pu...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
/******************************************************************************* * Copyright (c) 2004 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://ww...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.util.Iterator; import java.util.List; import junit.framework.Test; import org.aspectj.apache.bcel.classfile.JavaClass; import org.aspectj.apache.bcel.classfile.Method; import org.aspectj.apache.bcel.classfile.Signature; import org....
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testCunningDeclareParents_pr92311() { runTest("cunning declare parents");} public void testGenericITDsAndAbstractMethodError_pr102357() { runTest("generic itds and abstract method error");} public void testITDCtor_pr112783() { runTest("Problem with constructor ITDs");} */ public void testUn...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testDeclareAnnotationOnNonExistentType_pr99191_5() { runTest("declare annotation on non existent type - 5");} public void testBadGenericSigAttribute_pr110927() { runTest("cant create signature attribute"); Signature sig = GenericsTests.getClassSignature(ajc,"I"); if (sig==null) fail("Couldn't fin...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testIncorrectExceptionTableWhenBreakInMethod_pr78021() { runTest("Injecting exception into while loop with break statement causes catch block to be ignored"); } public void testIncorrectExceptionTableWhenReturnInMethod_pr79554() { runTest("Return in try-block disables catch-block if f...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testPerTypeWithinMissesNamedInnerTypes() { runTest("pertypewithin() handing of inner classes (1)"); } public void testPerTypeWithinMissesAnonymousInnerTypes() { runTest("pertypewithin() handing of inner classes (2)"); } public void testPerTypeWithinIncorrectlyMatchingInterfaces() { runTe...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testNoRuntimeExceptionSoftening() { runTest("declare soft of runtime exception"); } public void testRuntimeNoSoftenWithHandler() { runTest("declare soft w. catch block"); } public void testSyntaxError() { runTest("invalid cons syntax"); } public void testVarargsInConsBug(...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testEnumCalledEnumEtc() { runTest("enum called Enum, annotation called Annotation, etc"); } public void testInternalCompilerError_pr86832() { runTest("Internal compiler error"); } public void testCloneMethod_pr83311() { runTest("overriding/polymorphism error on interface method introd...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testSyntaxErrorNPE_pr103266() {runTest("NPE on syntax error");} public void testFinalAbstractClass_pr109486() { runTest("Internal compiler error (ClassParser.java:242)");} public void testComplexBinding_pr102210() { runTest("NullPointerException trying to compile");} public void testIllegalSta...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testErrorMessageOnITDWithTypePatterns() { runTest("clear error message on itd with type pattern"); } public void testAjKeywordsAsIdentifiers() { runTest("before and after are valid identifiers in classes"); } public void testAjKeywordsAsIdentifiers2() { runTest("before and afte...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testDEOWWithBindingPointcut() { runTest("declare warning : foo(str) : ...;"); } public void testAroundAdviceAndInterfaceInitializer() { runTest("around advice on interface initializer"); } public void testGoodErrorMessageOnUnmatchedMemberSyntax() { runTest("good error message for unma...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testMatchingOfObjectArray() { runTest("matching against Object[]"); } public void testMultipleAnonymousInnerClasses_pr108104() { runTest("multiple anonymous inner classes 2"); } public void testSignatureMatchingInMultipleOverrideScenario() { runTest("signature matching in override sce...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("itd field access inside itd method"); } public void testTypeVarWithTypeVarBound() { runTest("type variable with type variable bound"); } public void testEnumSwitchInITD() { runTest("switch on enum inside ITD method"); } public void testInnerTypeOfGeneric() { runTest("inner type of ge...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("visibility in signature matching with overrides - 2"); } public void testVisibiltyInSignatureMatchingWithOverridesPart3() { runTest("visibility in signature matching with overrides - 3"); } public void testArgsGeneratedCorrectlyForAdviceExecution() { runTest("args generated correctly for advic...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("override and covariance with decp - binary weaving"); } public void testAbstractSynchronizedITDMethods() { runTest("abstract synchronized itdms not detected"); } public void testSynchronizedITDInterfaceMethods() { runTest("synchronized itd interface methods"); } public void testNoWar...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testNoTypeMismatchOnSameGenericTypes() { runTest("no type mismatch on generic types in itds"); } public void testSuperCallInITD() { runTest("super call in ITD"); } public void testSuperCallInITDPart2() { runTest("super call in ITD - part 2"); } public void testAtAnnotationBadTest_...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testRawAndGenericTypeConversionITDCons() { runTest("raw and generic type conversion with itd cons"); } public void testAtAnnotationBindingWithAround() { runTest("@annotation binding with around advice"); } public void testUnableToBuildShadows_pr109728() { runTest("Unable to build shadows...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testCantProvideDefaultImplViaITD_pr110307_7() {runTest("Cant provide default implementation via ITD - 7");} public void testCallJoinPointsInAnonymousInnerClasses() { runTest("call join points in anonymous inner classes"); } public void testNoRequirementForUnwovenTypesToBeExposedToWeaver() { ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
IProgramElement.Kind.METHOD,"run()"); assertNotNull("Couldn't find 'run()' element in the tree",anonRunMethodIPE); List l = AsmManager.getDefault().getRelationshipMap().get(anonRunMethodIPE); assertNotNull("Should have some relationships but does not",l); assertTrue("Should have one relati...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0)); assertEquals("target of relationship should be 'run()' but is " + target.toLabelString(),"run()",target.toLabelString()); } public void testAdviceInStructureModelWithNamedInnerClass_pr77269() { r...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
l = AsmManager.getDefault().getRelationshipMap().get(adviceIPE); assertNotNull("Should have some relationships but does not",l); assertTrue("Should have a relationship but does not ",l.size()>0); for (Iterator iter = l.iterator(); iter.hasNext();) { IRelationship element = (IRelationship) iter.next(); ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testWeaveInfoMessageForDeclareAtMethodOnITDdMethod() { runTest("weaveinfo message for declare at method on an ITDd method"); } public void testNoVerifyErrorWithTwoThisPCDs_pr113447() { runTest("no verify error with two this pcds"); } public void testITDCWithNoExplicitConsCall() {...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.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 Common Public License v1.0 * which accompanies this distrib...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
import java.lang.reflect.Modifier; import java.util.Iterator; import java.util.List; import java.util.Set; import org.aspectj.apache.bcel.Constants; import org.aspectj.apache.bcel.classfile.annotation.Annotation; import org.aspectj.apache.bcel.generic.ConstantPoolGen; import org.aspectj.apache.bcel.generic.FieldGen; im...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
import org.aspectj.weaver.NameMangler; import org.aspectj.weaver.NewConstructorTypeMunger; import org.aspectj.weaver.NewFieldTypeMunger; import org.aspectj.weaver.NewMethodTypeMunger; import org.aspectj.weaver.NewParentTypeMunger; import org.aspectj.weaver.PerObjectInterfaceTypeMunger; import org.aspectj.weaver.Privile...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (munger.getKind() == ResolvedTypeMunger.Field) { changed = mungeNewField(weaver, (NewFieldTypeMunger)munger); } else if (munger.getKind() == ResolvedTypeMunger.Method) { changed = mungeNewMethod(weaver, (NewMethodTypeMunger)munger); } else if (munger.getKind() == ResolvedTypeMunger.MethodDelegate) { ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} if (changed && worthReporting) { if (munger.getKind().equals(ResolvedTypeMunger.Parent)) { AsmRelationshipProvider.getDefault().addRelationship(weaver.getLazyClassGen().getType(), munger,getAspectType()); } else { AsmRelationshipProvider.getDefault().addRelationship(weaver.getLazyClassGen().getT...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} } else { ResolvedMember declaredSig = munger.getDeclaredSignature(); if (declaredSig==null) declaredSig= munger.getSignature(); weaver.getWorld().getMessageHandler().handleMessage(WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_ITD, new String[]{weaver.g...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
/** * For a long time, AspectJ did not allow binary weaving of declare parents. This restriction is now lifted * but could do with more testing! */ private boolean mungeNewParent(BcelClassWeaver weaver, NewParentTypeMunger munger) { LazyClassGen newParentTarget = weaver.getLazyClassGen(); ResolvedTy...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
newParentTarget.addInterface(newParent,getSourceLocation()); } return true; } /** * Rule 1: For the declare parents to be allowed, the target type must override and implement * inherited abstract methods (if the type is not declared abstract) */ private boolean enforceDecpRule1_abst...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
ResolvedMember sig = m.getSignature(); if (!Modifier.isAbstract(sig.getModifiers())) { if (m.isTargetTypeParameterized()) { ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} return ruleCheckingSucceeded; } /** * Rule 2. Can't extend final types */ private boolean enforceDecpRule2_cantExtendFinalClass(BcelClassWeaver weaver, ISourceLocation mungerLoc, LazyClassGen newParentTarget, ResolvedType newParent) { if (newParent.isFinal()) { ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (subMethod.isDefault() || subMethod.isPrivate()) { weaver.getWorld().getMessageHandler().handleMessage(MessageUtil.error( "Cannot reduce the visibility of the inherited method '"+superMethod+"' from "+newParent.getName(), superMethod.getSourceLocation())); cont=false; ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
weaver.getWorld().getMessageHandler().handleMessage(MessageUtil.error( "The return type is incompatible with "+superMethod.getDeclaringType()+"."+superMethod.getName()+superMethod.getParameterSignature(), subMethod.getSourceLocation())); cont=false; ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} private LazyMethodGen findMatchingMethod(LazyClassGen newParentTarget, ResolvedMember m) { LazyMethodGen found = null; for (Iterator i = newParentTarget.getMethodGens().iterator(); i.hasNext() && found==null;) { LazyMethodGen gen = (LazyMethodGen) i.next(); if (gen.getName().equals(m....
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (handle.getInstruction() instanceof INVOKESPECIAL) { ConstantPoolGen cpg = newParentTarget.getConstantPoolGen(); INVOKESPECIAL invokeSpecial = (INVOKESPECIAL)handle.getInstruction(); if (invokeSpecial.getClassName(cpg).equals(currentParent) && invokeSpecial.getMethodName(cpg).equa...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
int idx = cpg.addMethodref(newParent.getClassName(), invokeSpecial.getMethodName(cpg), invokeSpecial.getSignature(cpg)); invokeSpecial.setIndex(idx); } } handle = handle.getNext(); } } } return true; } /** * Creates a nice si...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
private ResolvedMember getConstructorWithSignature(ResolvedType tx,String signature) { ResolvedMember[] mems = tx.getDeclaredJavaMethods(); for (int i = 0; i < mems.length; i++) { ResolvedMember rm = mems[i]; if (rm.getName().equals("<init>")) { if (rm.getSignature().equa...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} else if (member.getKind() == Member.METHOD) { addMethodDispatch(gen, member, AjcMemberMaker.privilegedAccessMethodForMethod(aspectType, member)); return true; } else if (member.getKind() == Member.CONSTRUCTOR) { for (Iterator i = gen.getMethodGens().iterator(); i.hasNext(); ) { LazyMethodGen ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
LazyMethodGen mg = makeMethodGen(gen, accessMethod); InstructionList il = new InstructionList(); InstructionFactory fact = gen.getFactory(); if (field.isStatic()) { il.append(fact.createFieldAccess( gen.getClassName(), field.getName(), BcelWorld.makeBcelType(field.getType()), Constants.GETSTATIC))...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (field.isStatic()) { il.append(InstructionFactory.createLoad(fieldType, 0)); il.append(fact.createFieldAccess( gen.getClassName(), field.getName(), fieldType, Constants.PUTSTATIC)); } else { il.append(InstructionConstants.ALOAD_0); il.append(InstructionFactory.createLoad(fieldType, 1)); ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
Type[] paramTypes = BcelWorld.makeBcelTypes(method.getParameterTypes()); int pos = 0; if (!method.isStatic()) { il.append(InstructionConstants.ALOAD_0); pos++; } for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; il.append(InstructionFactory.createLoad(para...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
return ret; } protected FieldGen makeFieldGen(LazyClassGen gen, ResolvedMember member) { return new FieldGen( member.getModifiers(), BcelWorld.makeBcelType(member.getReturnType()), member.getName(), gen.getConstantPoolGen()); } private boolean mungePerObjectInterface( BcelClassWeaver weaver, Per...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
new Type[0], new String[0], gen); InstructionList il = new InstructionList(); InstructionFactory fact = gen.getFactory(); il.append(InstructionConstants.ALOAD_0); il.append(fact.createFieldAccess( gen.getClassName(), fg.getName(), fieldType, Constants.GETFIELD)); il.append(InstructionFac...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
gen.addMethodGen(mg1); gen.addInterface(munger.getInterfaceType(),getSourceLocation()); return true; } else { return false; } } private boolean mungePerTypeWithinTransformer(BcelClassWeaver weaver) { LazyClassGen gen = weaver.getLazyClassGen(); FieldGen fg = makeFieldGen(g...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
InstructionFactory fact = gen.getFactory(); il.append(fact.createFieldAccess( gen.getClassName(), fg.getName(), fieldType, Constants.GETSTATIC)); il.append(InstructionFactory.createReturn(fieldType)); mg.getBody().insert(il); gen.addMethodGen(mg); return true; } private boolean couldMa...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
boolean onInterface = onType.isInterface(); if (onType.isAnnotation()) { signalError(WeaverMessages.ITDM_ON_ANNOTATION_NOT_ALLOWED,weaver,onType); return false; } if (onType.isEnum()) { signalError(WeaverMessages.ITDM_ON_ENUM_NOT_ALLOWED,weaver,onType); return false; } if (onInter...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
newMethod.setAccessFlags(Modifier.PUBLIC | Modifier.ABSTRACT); } if (weaver.getWorld().isInJava5Mode()){ AnnotationX annotationsOnRealMember[] = null; ResolvedType toLookOn = aspectType; if (aspectType.isRawType()) toLookOn = aspectType.getGenericType(); ResolvedMember realMe...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
&& newMethod.getEnclosingClass().getType() == aspectType) { newMethod.addAnnotation(decaMC.getAnnotationX()); } } } if (!onInterface && !Modifier.isAbstract(mangledInterMethod.getModifiers())) { InstructionList body = newMethod.getBody(); InstructionFactory fact = gen.getFactory(); ...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} else { } weaver.addLazyMethodGen(newMethod); weaver.getLazyClassGen().warnOnAddedMethod(newMethod.getMethod(),getSignature().getSourceLocation()); addNeededSuperCallMethods(weaver, onType, munger.getSuperMethodsCalled()); return true; } else if (onInterface && !Mod...
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
resolved fixed
a7e13f1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-04T10:47:47Z
2005-10-13T13:26:40Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
return false; } else { ResolvedMember mangledInterMethod = AjcMemberMaker.interMethod(unMangledInterMethod, aspectType, false); LazyMethodGen mg = makeMethodGen(gen, mangledInterMethod); if (mungingInterface) { mg.setAccessFlags(Modifier.PUBLIC | Modifier.ABSTRACT); } ...