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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | String className = classFile.getClassName();
ResolvedType theType = world.resolve(className);
if (theType!=null) {
BcelObjectType classType = BcelWorld.getBcelObjectType(theType);
if (classType!=null) classType.ensureDelegateConsistent();
}
}
... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
}
requestor.weaveCompleted();
CompilationAndWeavingContext.leavingPhase(atAspectJMungersOnly);
return wovenClassNames;
}
requestor.processingReweavableState();
ContextToken reweaveToken = CompilationAndWeavingContext.enteringPhase(CompilationAndWeav... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | List typesToProcess = new ArrayList();
for (Iterator iter = input.getClassFileIterator(); iter.hasNext();) {
UnwovenClassFile clf = (UnwovenClassFile) iter.next();
typesToProcess.add(clf.getClassName());
}
while (typesToProcess.size()>0) {
weaveParentsFor(typesToProces... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (classType==null) {
ReferenceTypeDelegate theDelegate = ((ReferenceType)theType).getDelegate();
if (theDelegate.getClass().getName().endsWith("EclipseSourceType")) continue;
throw new BCException("Can't find bcel delegate for "+className+" type="+theType.getClass());
... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (theDelegate.getClass().getName().endsWith("EclipseSourceType")) continue;
throw new BCException("Can't find bcel delegate for "+className+" type="+theType.getClass());
}
weaveAndNotify(classFile, classType, requestor);
wovenClassNames.add(className);
}
}
CompilationAndWeavingC... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | private int lineNo;
private UnresolvedType inAspect;
public AdviceLocation(BcelAdvice advice) {
this.lineNo = advice.getSourceLocation().getLine();
this.inAspect = advice.getDeclaringAspect();
}
public boolean equals(Object obj) {
if (!(obj instanceof AdviceLocation)) return false;
Advi... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | ShadowMunger element = (ShadowMunger) iter.next();
if (element instanceof BcelAdvice) {
BcelAdvice ba = (BcelAdvice)element;
if (!ba.hasMatchedSomething()) {
if (ba.getSignature()!=null) {
... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | * 'typeToWeave' is one from the 'typesForWeaving' list. This routine ensures we process
* supertypes (classes/interfaces) of 'typeToWeave' that are in the
* 'typesForWeaving' list before 'typeToWeave' itself. 'typesToWeave' is then removed from
* the 'typesForWeaving' list.
*
* Note: Future... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | typesForWeaving.remove(typeToWeave);
}
public void prepareToProcessReweavableState() {
}
public void processReweavableStateIfPresent(String className, BcelObjectType classType) {
WeaverStateInfo wsi = classType.getWeaverState();
if (wsi!=null && wsi.isReweavable()) {
world.showMe... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if(!xcutSet.containsAspect(rtx)){
world.showMessage(
IMessage.ERROR,
WeaverMessages.format(
WeaverMessages.REWEAVABLE_ASPECT_NOT_REGISTERED,
... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.WEAVING_TYPE, classType.getResolvedTypeX().getName());
LazyClassGen clazz = weaveWithoutDump(classFile,classType);
classType.finishedWith();
if (clazz != null) {
UnwovenClassFile[] newClasses = getClassFilesFor(... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | weaveParentTypeMungers(world.resolve(typeName));
}
public void addNormalTypeMungers(String typeName) {
weaveNormalTypeMungers(world.resolve(typeName));
}
public UnwovenClassFile[] getClassFilesFor(LazyClassGen clazz) {
List childClasses = clazz.getChildClasses(world);
UnwovenClass... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | public void weaveParentTypeMungers(ResolvedType onType) {
if (onType.isRawType()) onType = onType.getGenericType();
onType.clearInterTypeMungers();
List decpToRepeat = new ArrayList();
boolean aParentChangeOccurred = false;
boolean anAnnotationChangeOccurred = false;
for (Iterator i = declarePar... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | DeclareParents decp = (DeclareParents) iter.next();
boolean typeChanged = applyDeclareParents(decp,onType);
if (typeChanged) {
aParentChangeOccurred = true;
} else {
decpToRepeatNextTime.add(decp);
}
}
for (Iterator iter = xcutSet.getDeclareAnnotationOnTypes().iterator(); iter.hasNex... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
AnnotationX annoX = decA.getAnnotationX();
boolean problemReported = verifyTargetIsOK(decA, onType, annoX,reportProblems);
if (!problemReported) {
AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(decA.getSourceLocation(),onType.getSourceLocation());
if (!getWorl... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | /**
* Checks for an @target() on the annotation and if found ensures it allows the annotation
* to be attached to the target type that matched.
*/
private boolean verifyTargetIsOK(DeclareAnnotation decA, ResolvedType onType, AnnotationX annoX,boolean outputProblems) {
boolean problemReported = false;
if (ann... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | private boolean applyDeclareParents(DeclareParents p, ResolvedType onType) {
boolean didSomething = false;
List newParents = p.findMatchingNewParents(onType,true);
if (!newParents.isEmpty()) {
didSomething=true;
BcelObjectType classType = BcelWorld.getBcelObjectType(onType);
for (Iterator j = newPare... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
CompilationAndWeavingContext.leavingPhase(tok);
}
public LazyClassGen weaveWithoutDump(UnwovenClassFile classFile, BcelObjectType classType) throws IOException {
return weave(classFile, classType, false);
}
LazyClassGen weave(UnwovenClassFile classFile, BcelObjectType classType) throws IOException {
Laz... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | boolean mightNeedToWeave =
shadowMungers.size() > 0 ||
typeMungers.size() > 0 ||
classType.isAspect() ||
world.getDeclareAnnotationOnMethods().size()>0 ||
world.getDeclareAnnotationOnFields().size()>0;
boolean mightNeedBridgeMethods =
world.isInJava5Mode() &&
!classTyp... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | classDebugInfo = clazz.toLongString();
} catch (Exception e) {
classDebugInfo = clazz.getClassName();
}
String messageText = "trouble in: \n" + classDebugInfo;
getWorld().getMessageHandler().handleMessage(
new Message(messageText,IMessage.ABORT,re,null)
);
} catch (Error re) {
... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (clazz != null && !clazz.getChildClasses(world).isEmpty()) {
return clazz;
}
return null;
}
}
private void dumpUnchanged(UnwovenClassFile classFile) throws IOException {
if (zipOutputStream != null) {
writeZipEntry(getEntryName(classFile.getJavaClass().getClassName()), class... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
} else {
classFile.writeWovenBytes(
clazz.getJavaClass(world).getBytes(),
clazz.getChildClasses(world)
);
}
}
private void writeZipEntry(String name, byte[] bytes) throws IOException {
ZipEntry newEntry = new ZipEntry(name);
zipOutputStream.putNextEntry(newEntry);
zipOutputStream.wri... |
233,497 | Bug 233497 StringIndexOutOfBoundsException thrown in BcelWeaver | null | resolved fixed | 93b7bed | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-05-22T18:26:18Z | 2008-05-22T18:13:20Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | return result;
}
public void setProgressListener(IProgressListener listener, double previousProgress, double progressPerClassFile) {
progressListener = listener;
this.progressMade = previousProgress;
this.progressPerClassFile = progressPerClassFile;
}
public void setReweavableMode(boolean xNotReweavable) {
... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.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... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | import org.aspectj.ajdt.internal.core.builder.AjBuildManager;
import org.aspectj.bridge.ISourceLocation;
import org.aspectj.bridge.IMessage.Kind;
import org.aspectj.org.eclipse.jdt.core.Flags;
import org.aspectj.org.eclipse.jdt.core.compiler.CharOperation;
import org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNod... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | import org.aspectj.weaver.IHasPosition;
import org.aspectj.weaver.Member;
import org.aspectj.weaver.MemberKind;
import org.aspectj.weaver.NameMangler;
import org.aspectj.weaver.NewFieldTypeMunger;
import org.aspectj.weaver.NewMethodTypeMunger;
import org.aspectj.weaver.ReferenceType;
import org.aspectj.weaver.ResolvedM... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | private boolean xSerializableAspects;
private World world;
public Collection finishedTypeMungers = null;
private Map typexToBinding = new HashMap();
private Map rawTypeXToBinding = new HashMap();
public static EclipseFactory fromLookupEnvironment(LookupEnvironment env) {
AjLookupEnvironment aenv = (AjL... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | this.xSerializableAspects = xSer;
this.buildManager = null;
}
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(Referenc... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | public ResolvedType[] fromEclipse(ReferenceBinding[] bindings) {
if (bindings == null) {
return ResolvedType.NONE;
}
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 getNa... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | String className = new String(binding.qualifiedSourceName()).replace('.', '$');
if (packageName.length() > 0) {
className = packageName + "." + className;
}
return new String(className);
}
/**
* Some generics notes:
*
* Andy 6-May-05
* We were having trouble with parameterized types in a couple o... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | TypeVariableBinding tb = (TypeVariableBinding) binding;
UnresolvedTypeVariableReferenceType utvrt = (UnresolvedTypeVariableReferenceType) fromTypeVariableBinding(tb);
return utvrt;
}
if (binding instanceof ArrayBinding) {
ArrayBinding aBinding = (ArrayBinding) binding;
UnresolvedType componentType... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | return theType;
}
if (binding instanceof ParameterizedTypeBinding) {
if (binding instanceof RawTypeBinding) {
return UnresolvedType.forRawTypeName(getName(binding));
}
ParameterizedTypeBinding ptb = (ParameterizedTypeBinding) binding;
UnresolvedType[] arguments = null;
if (ptb.arg... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | if (arguments==null) arguments=new UnresolvedType[0];
String parameterizedSig = ResolvedType.PARAMETERIZED_TYPE_IDENTIFIER+CharOperation.charToString(binding.genericTypeSignature()).substring(1);
return TypeFactory.createUnresolvedParameterizedType(parameterizedSig,baseTypeSignature,arguments);
}
... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | if (binding instanceof LocalTypeBinding) {
LocalTypeBinding ltb = (LocalTypeBinding) binding;
if (ltb.constantPoolName() != null && ltb.constantPoolName().length > 0) {
return UnresolvedType.forSignature(new String(binding.signature()));
} else {
return UnresolvedType.forSignature(new Str... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | if (typeVariablesForAliasRecovery!=null) {
String aliasname = (String)typeVariablesForAliasRecovery.get(aTypeVariableBinding);
if (aliasname!=null) {
UnresolvedTypeVariableReferenceType ret = new UnresolvedTypeVariableReferenceType();
ret.setTypeVariable(new TypeVariable(aliasname));
return ret;
}
... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | tv.setAdditionalInterfaceBounds(superinterfaces);
tv.setRank(aTypeVariableBinding.rank);
if (aTypeVariableBinding.declaringElement instanceof MethodBinding) {
tv.setDeclaringElementKind(TypeVariable.METHOD);
} else {
tv.setDeclaringElementKind(TypeVariable.TYPE);
}
if (aTypeVariableBinding.declaringElem... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | public Collection getDeclareAnnotationOnTypes() {
return getWorld().getDeclareAnnotationOnTypes();
}
public Collection getDeclareAnnotationOnFields() {
return getWorld().getDeclareAnnotationOnFields();
}
public Collection getDeclareAnnotationOnMethods() {
return getWorld().getDeclareAnnotationOnMethods();... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | EclipseTypeMunger etm = makeEclipseTypeMunger(munger);
if (etm != null) ret.add(etm);
}
finishedTypeMungers = ret;
}
public EclipseTypeMunger makeEclipseTypeMunger(ConcreteTypeMunger concrete) {
if (concrete.getMunger() != null && EclipseTypeMunger.supportsKind(concrete.getMunger().getKin... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | return finishedTypeMungers;
}
public ResolvedMember makeResolvedMember(MethodBinding binding) {
return makeResolvedMember(binding, binding.declaringClass);
}
public ResolvedMember makeResolvedMember(MethodBinding binding, Shadow.Kind shadowKind) {
MemberKind memberKind = binding.isConstructor() ? Member.CONST... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | * this only happens if it is a generic itd that shares type variables with its target type.
*/
public ResolvedMember makeResolvedMemberForITD(MethodBinding binding,TypeBinding declaringType,
Map recoveryAliases) {
ResolvedMember result = null;
try {
typeVariablesForAliasRecovery = recoveryAliases;
resu... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | ResolvedType realDeclaringType = world.resolve(fromBinding(declaringType));
if (realDeclaringType.isRawType()) realDeclaringType = realDeclaringType.getGenericType();
ResolvedMemberImpl ret = new EclipseResolvedMember(binding,
memberKind,
realDeclaringType,
binding.modifiers,
fromBinding(binding.return... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | public ResolvedMember makeResolvedMember(FieldBinding binding, TypeBinding receiverType) {
ResolvedType realDeclaringType = world.resolve(fromBinding(receiverType));
if (realDeclaringType.isRawType()) realDeclaringType = realDeclaringType.getGenericType();
ResolvedMemberImpl ret = new EclipseResolvedMember(bi... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | !(typeX instanceof UnresolvedTypeVariableReferenceType)
) {
if (typeX.isRawType()) {
rawTypeXToBinding.put(typeX,ret);
} else {
typexToBinding.put(typeX, ret);
}
}
}
if (ret == null) {
System.out.println("can't find: " + typeX);
}
return ret;
}
private boolean isParame... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | private TypeBinding makeTypeBinding1(UnresolvedType typeX) {
if (typeX.isPrimitiveType()) {
if (typeX == ResolvedType.BOOLEAN) return TypeBinding.BOOLEAN;
if (typeX == ResolvedType.BYTE) return TypeBinding.BYTE;
if (typeX == ResolvedType.CHAR) return TypeBinding.CHAR;
if (typeX == ResolvedType.DOUBLE) re... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | indexOfTypeParameterBeingConverted = 0;
baseTypeForParameterizedType = null;
ParameterizedTypeBinding ptb =
lookupEnvironment.createParameterizedType(baseTypeBinding,argumentBindings,baseTypeBinding.enclosingType());
return ptb;
} else if (typeX.isTypeVariableReference()) {
return makeTypeVariableBin... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | }
}
private ReferenceBinding lookupBinding(String sname) {
char[][] name = CharOperation.splitOn('.', sname.toCharArray());
ReferenceBinding rb = lookupEnvironment.getType(name);
return rb;
}
public TypeBinding[] makeTypeBindings(UnresolvedType[] types) {
int len = types.length;
TypeBinding[] ret = ... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | public FieldBinding makeFieldBinding(NewFieldTypeMunger nftm) {
return internalMakeFieldBinding(nftm.getSignature(),nftm.getTypeVariableAliases());
}
/**
* Convert a resolvedmember into an eclipse field binding
*/
public FieldBinding makeFieldBinding(ResolvedMember member,List aliases) {
return internalMakeF... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | owningType.addSyntheticField(sfb);
return sfb;
}
/**
* 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 appr... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | fb = new SyntheticFieldBinding(member.getName().toCharArray(),
makeTypeBinding(member.getReturnType()),
member.getModifiers() | Flags.AccSynthetic,
currentType,
Constant.NotAConstant,-1);
} else {
fb = new FieldBinding(member.getName().toCharArray(),
makeTypeBinding(member.getReturnType()),
... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | public MethodBinding makeMethodBinding(ResolvedMember member,List aliases) {
return internalMakeMethodBinding(member,aliases);
}
/**
* Creates a method binding for a resolvedmember taking into account type variable aliases -
* this variant can take an aliasTargetType and should be used when the alias ta... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | */
public MethodBinding internalMakeMethodBinding(ResolvedMember member,List aliases,UnresolvedType aliasTargetType) {
typeVariableToTypeBinding.clear();
TypeVariableBinding[] tvbs = null;
if (member.getTypeVariables()!=null) {
if (member.getTypeVariables().length==0) {
tvbs = Binding.NO_TYPE_VARIABLES;
... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | makeTypeBinding(member.getReturnType()),
makeTypeBindings(member.getParameterTypes()),
makeReferenceBindings(member.getExceptions()),
declaringType);
if (tvbs!=null) mb.typeVariables = tvbs;
typeVariableToTypeBinding.clear();
currentType = null;
if (NameMangler.isSyntheticMethod(member.getName(),... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10: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... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | }
tvBinding.superInterfaces=rbs;
}
}
return tvBinding;
}
private TypeVariableBinding makeTypeVariableBindingFromAJTypeVariable(TypeVariable tv) {
TypeVariableBinding tvBinding = (TypeVariableBinding)typeVariableToTypeBinding.get(tv.getName());
if (currentType!=null) {
TypeVariableBinding tvb = cur... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | }
return tvBinding;
}
public MethodBinding makeMethodBindingForCall(Member member) {
return new MethodBinding(member.getModifiers() & ~ Modifier.INTERFACE,
member.getName().toCharArray(),
makeTypeBinding(member.getReturnType()),
makeTypeBindings(member.getParameterTypes()),
new ReferenceBinding[0... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | }
public void addSourceTypeBinding(SourceTypeBinding binding, CompilationUnitDeclaration unit) {
TypeDeclaration decl = binding.scope.referenceContext;
UnresolvedType simpleTx = null;
if (binding.isGenericType()) {
simpleTx = UnresolvedType.forRawTypeName(getName(binding));
} else if (binding.i... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | if (binding.isGenericType()) {
UnresolvedType complexTx = fromBinding(binding);
ResolvedType cName = world.resolve(complexTx,true);
ReferenceType complexName = null;
if (!cName.isMissing()) {
complexName = (ReferenceType) cName;
complexName = (ReferenceType) complexName.getGenericType();
if (co... |
227,295 | Bug 227295 AJC error, somehow connected with generics | Build ID: 1.5.0.20070607 Steps To Reproduce: I cannot find a way to reproduce it, it's somehow "randomic", for example it happened to me now while creating a new class in an aspectj project, but when i then saved the .java it compiled properly. That's why I'm filing it in AJDT and not in AspectJ directly. Based on the ... | resolved fixed | 3b2109a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-06T20:38:14Z | 2008-04-16T10:00:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | public boolean isXSerializableAspects() {
return xSerializableAspects;
}
public ResolvedMember fromBinding(MethodBinding binding) {
return new ResolvedMemberImpl(Member.METHOD,fromBinding(binding.declaringClass),binding.modifiers,
fromBinding(binding.returnType),CharOperation.charToString(binding... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | import org.aspectj.weaver.ResolvedPointcutDefinition;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.Shadow;
import org.aspectj.weaver.ShadowMunger;
import org.aspectj.weaver.UnresolvedType;
import org.aspectj.weaver.VersionedDataInputStream;
import org.aspectj.weaver.WeaverMessages;
import org.aspec... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | * No-arg constructor for @AJ style, where the if() body is actually the @Pointcut annotated method
*/
public IfPointcut(String enclosingPointcutHint) {
this.pointcutKind = IF;
this.enclosingPointcutHint = enclosingPointcutHint;
this.testMethod = null;
this.extraParameterFlags = ... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | }
public void write(DataOutputStream s) throws IOException {
s.writeByte(Pointcut.IF);
s.writeBoolean(testMethod != null);
if (testMethod != null) testMethod.write(s);
s.writeByte(extraParameterFlags);
writeLocation(s);
}
public static Pointcut read(VersionedDataInputStream s, ISourceContext context) t... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | int result = 17;
result = 37*result + testMethod.hashCode();
return result;
}
public String toString() {
if (extraParameterFlags < 0) {
return "if()";
} else {
return "if(" + testMethod + ")";
}
}
private boolean findingResidue = fa... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | Test ret = Literal.TRUE;
List args = new ArrayList();
if (extraParameterFlags >= 0) {
if (baseArgsCount > 0) {
ExposedState myState = new ExposedState(baseArgsCount);
residueSo... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | if ((extraParameterFlags & Advice.ThisJoinPointStaticPart) != 0) {
args.add(shadow.getThisJoinPointStaticPartVar());
}
if ((extraParameterFlags & Advice.ThisEnclosingJoinPointStaticPart) != 0) {
args.add(shadow.getThisEnclosingJoinPointStaticPartVa... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | ret = Test.makeAnd(ret, Test.makeCall(testMethod, (Expr[])args.toArray(new Expr[args.size()])));
ifLastMatchedShadowId = shadow.shadowId;
ifLastMatchedShadowResidue = ret;
return ret;
} finally {
findingResidue = false;
}
}
protected boolean shouldCopyLocationForConcretize() {
return... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | if (partiallyConcretized != null) {
return partiallyConcretized;
}
final IfPointcut ret;
if (extraParameterFlags < 0 && testMethod == null) {
ResolvedPointcutDefinition def = bindings.peekEnclosingDefinition();
if (def != null) {
ResolvedType asp... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | "Cannot find if() body from '" + def.toString() + "' for '" + enclosingPointcutHint + "'",
this.getSourceLocation(),
null
);
return Pointcut.makeMatchesNothing(Pointcut.CONCRETE);
}
} else {
... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | if (bindings.directlyInAdvice()) {
ShadowMunger advice = bindings.getEnclosingAdvice();
if (advice instanceof Advice) {
ret.baseArgsCount = ((Advice)advice).getBaseParameterCount();
} else {
ret.baseArgsCount = 0;
}
ret.residueSource = advice.getPointcut().concretize(inAspect, inAspect, ret.baseA... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | }
}
}
IntMap newBindings = IntMap.idMap(ret.baseArgsCount);
newBindings.copyContext(bindings);
ret.residueSource = def.getPointcut().concretize(inAspect, declaringType, newBindings);
}
return ret;
}
public Pointcut parameterizeWith(Map typeVariableMap,World w) {
return ... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | public int couldMatchKinds() {
return Shadow.NO_SHADOW_KINDS_BITS;
}
public boolean alwaysFalse() {
return true;
}
protected Test findResidueInternal(Shadow shadow, ExposedState state) {
return Literal.FALSE;
}
public FuzzyBoolean fastMatch(FastMatchInfo type) {
return FuzzyBoolean.NO;
... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | IntMap bindings) {
if (isDeclare(bindings.getEnclosingAdvice())) {
inAspect.getWorld().showMessage(IMessage.ERROR,
WeaverMessages.format(WeaverMessages.IF_IN_DECLARE),
bindings.getEnclosingAdvice().getSourceLocation(),
null);
return Pointcut.makeMatchesNothing(Pointcut.CONCRETE);
}
... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | public IfTruePointcut() {
super(null,0);
this.pointcutKind = Pointcut.IF_TRUE;
}
public boolean alwaysTrue() {
return true;
}
protected Test findResidueInternal(Shadow shadow, ExposedState state) {
return Literal.TRUE;
}
public FuzzyBoolean fastMatch(FastMatchInfo type) {
return ... |
155,347 | Bug 155347 NPE during compilation of class file with pointcuts | I commented out a static nested aspect inside a class to let me do a rename refactoring in Eclipse. This results in the following exception, which even a full rebuild won't fix. The class does have pointcut definitions inside of it. Commenting those out avoids the problem (though it caused other syntax errors...) java.... | resolved fixed | 248962b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-10T20:48:36Z | 2006-08-27T23:06:40Z | weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | }
public Pointcut concretize1(
ResolvedType inAspect,
ResolvedType declaringType,
IntMap bindings) {
if (isDeclare(bindings.getEnclosingAdvice())) {
inAspect.getWorld().showMessage(IMessage.ERROR,
WeaverMessages.format(WeaverMessages.IF_IN_DECLARE),
bindings.getEnclosingAdvice().getSo... |
203,367 | Bug 203367 ITD of interface on generic type; can't match calls to methods on interface+ | Build ID: I20070621-1340 Steps To Reproduce: package bug; // I used a "bug" package under the "src" source folder. public aspect CantMatchOnInterfaceIntroducedToGenericClass { public static interface Marker {} public static class NonGenericClass { public void doit(String msg) { System.out.println("doit(): msg = "+msg);... | resolved fixed | 11ebdd8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-17T04:02:05Z | 2007-09-13T21:46:40Z | tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.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
*... |
203,367 | Bug 203367 ITD of interface on generic type; can't match calls to methods on interface+ | Build ID: I20070621-1340 Steps To Reproduce: package bug; // I used a "bug" package under the "src" source folder. public aspect CantMatchOnInterfaceIntroducedToGenericClass { public static interface Marker {} public static class NonGenericClass { public void doit(String msg) { System.out.println("doit(): msg = "+msg);... | resolved fixed | 11ebdd8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-17T04:02:05Z | 2007-09-13T21:46:40Z | tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java | public void testSuperItds_pr198196_1() { runTest("super itds - 2"); }
public void testSuperItds_pr198196_2() { runTest("super itds - 3"); }
public void testSuperItds_pr198196_3() { runTest("super itds - 4"); }
public void testRunningBrokenCode_pr102733_2() { runTest("running broken code - 2"); }
public void testRun... |
203,367 | Bug 203367 ITD of interface on generic type; can't match calls to methods on interface+ | Build ID: I20070621-1340 Steps To Reproduce: package bug; // I used a "bug" package under the "src" source folder. public aspect CantMatchOnInterfaceIntroducedToGenericClass { public static interface Marker {} public static class NonGenericClass { public void doit(String msg) { System.out.println("doit(): msg = "+msg);... | resolved fixed | 11ebdd8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-17T04:02:05Z | 2007-09-13T21:46:40Z | tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java | IRelationshipMap irm = AsmManager.getDefault().getRelationshipMap();
Set entries = irm.getEntries();
boolean gotSomethingValid = false;
String expected = "<recursivepackage{RecursiveCatcher.java}RecursiveCatcher~recursiveCall~I?method-call(void recursivepackage.RecursiveCatcher.recursiveCall(int... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/AndAnnotationTypePattern.java | /* *******************************************************************
* Copyright (c) 2004 IBM Corporation.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* ... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/AndAnnotationTypePattern.java | private AnnotationTypePattern left;
private AnnotationTypePattern right;
public AndAnnotationTypePattern(AnnotationTypePattern left, AnnotationTypePattern right) { |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/AndAnnotationTypePattern.java | this.left = left;
this.right = right;
setLocation(left.getSourceContext(), left.getStart(), right.getEnd());
}
public FuzzyBoolean matches(AnnotatedElement annotated) {
return left.matches(annotated).and(right.matches(annotated));
}
public FuzzyBoolean matches(AnnotatedElement annotated, ResolvedType[] para... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/AndAnnotationTypePattern.java | ret.copyLocationFrom(this);
if (this.isForParameterAnnotationMatch()) ret.setForParameterAnnotationMatch();
return ret;
}
public static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException {
AnnotationTypePattern p = new AndAnnotationTypePattern(
AnnotationType... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/AndAnnotationTypePattern.java | public int hashCode() {
int result = 17;
result = result*37 + left.hashCode();
result = result*37 + right.hashCode();
result = result*37 + (isForParameterAnnotationMatch()?0:1);
return result;
}
public String toString() {
return left.toString() + " " + right.toString();
}
public AnnotationTypePatt... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/NotAnnotationTypePattern.java | /* *******************************************************************
* Copyright (c) 2004 IBM Corporation.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* ... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/NotAnnotationTypePattern.java | AnnotationTypePattern negatedPattern;
public NotAnnotationTypePattern(AnnotationTypePattern pattern) {
this.negatedPattern = pattern;
setLocation(pattern.getSourceContext(), pattern.getStart(), pattern.getEnd());
}
/* (non-Javadoc)
* @see org.aspectj.weaver.patterns.AnnotationTypePattern#matches(org.aspectj.... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/NotAnnotationTypePattern.java | }
public AnnotationTypePattern parameterizeWith(Map typeVariableMap,World w) {
AnnotationTypePattern newNegatedPattern = negatedPattern.parameterizeWith(typeVariableMap,w);
NotAnnotationTypePattern ret = new NotAnnotationTypePattern(newNegatedPattern);
ret.copyLocationFrom(this);
if (this.isForParameterAnnot... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/NotAnnotationTypePattern.java | NotAnnotationTypePattern other = (NotAnnotationTypePattern) obj;
return other.negatedPattern.equals(negatedPattern) && other.isForParameterAnnotationMatch()==isForParameterAnnotationMatch();
}
public int hashCode() {
int result = 17 + 37*negatedPattern.hashCode();
result = 37*result +(isForParameterAnnotationMa... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/OrAnnotationTypePattern.java | /* *******************************************************************
* Copyright (c) 2004 IBM Corporation.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* ... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/OrAnnotationTypePattern.java | private AnnotationTypePattern right;
public OrAnnotationTypePattern(AnnotationTypePattern left, AnnotationTypePattern right) {
this.left = left;
this.right = right;
setLocation(left.getSourceContext(), left.getStart(), right.getEnd());
}
public FuzzyBoolean matches(AnnotatedElement annotated) {
return left... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/OrAnnotationTypePattern.java | OrAnnotationTypePattern ret = new OrAnnotationTypePattern(newLeft,newRight);
ret.copyLocationFrom(this);
if (isForParameterAnnotationMatch()) ret.setForParameterAnnotationMatch();
return ret;
}
public Object accept(PatternNodeVisitor visitor, Object data) {
return visitor.visit(this,data);
}
public Object... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/OrAnnotationTypePattern.java | right.write(s);
writeLocation(s);
s.writeBoolean(isForParameterAnnotationMatch());
}
public boolean equals(Object obj) {
if (!(obj instanceof OrAnnotationTypePattern)) return false;
OrAnnotationTypePattern other = (OrAnnotationTypePattern) obj;
return (left.equals(other.left) && right.equals(other.right))... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | /* *******************************************************************
* Copyright (c) 2004 IBM Corporation.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* ... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | import org.aspectj.weaver.VersionedDataInputStream;
import org.aspectj.weaver.WeaverMessages;
import org.aspectj.weaver.World;
import org.aspectj.weaver.AjAttribute.WeaverVersionInfo;
/**
* @author colyer
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Styl... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | }
public TypePattern getTypePattern() {
return typePattern;
}
/* (non-Javadoc)
* @see org.aspectj.weaver.patterns.AnnotationTypePattern#matches(org.aspectj.weaver.AnnotatedElement)
*/
public FuzzyBoolean matches(AnnotatedElement annotated) {
return matches(annotated,null);
}
/**
* Resol... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | if (resolvedMember.getName().equals(k) && resolvedMember.isAbstract()) {
validKey = true;
ResolvedType t = resolvedMember.getReturnType().resolve(scope.getWorld());
if (t.isEnum()) {
int pos = v.lastIndexOf(".");
if (pos == -1) {
IMessage m = MessageUtil.error(
WeaverMe... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | float value = Float.parseFloat(v);
annotationValues.put(k,Float.toString(value));
} catch (NumberFormatException nfe) {
IMessage m = MessageUtil.error(
WeaverMessages.format(WeaverMessages.INVALID_ANNOTATION_VALUE,v,"float"),
getSourceLocation());
scope.get... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | annotationValues.put(k,Long.toString(value));
} catch (NumberFormatException nfe) {
IMessage m = MessageUtil.error(
WeaverMessages.format(WeaverMessages.INVALID_ANNOTATION_VALUE,v,"long"),
getSourceLocation());
scope.getWorld().getMessageHandler().handleMessage(m);
... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | WeaverMessages.format(WeaverMessages.INVALID_ANNOTATION_VALUE,v,"char"),
getSourceLocation());
scope.getWorld().getMessageHandler().handleMessage(m);
} else {
annotationValues.put(k,v.substring(1,2));
}
} else {
throw new RuntimeException("Not implemented for "+t)... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | throw new IllegalStateException("Cannot use annotationvalues with a wild annotation pattern");
}
if (isForParameterAnnotationMatch()) {
if (parameterAnnotations!=null && parameterAnnotations.length!=0) {
for (int i = 0; i < parameterAnnotations.length; i++) {
if (typePattern.matches(parameterAnnotations... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | }
/**
* This can modify in place, or return a new TypePattern if the type changes.
*/
public AnnotationTypePattern resolveBindings(IScope scope, Bindings bindings,
boolean allowBinding)
{
if (!scope.getWorld().isInJava5Mode()) {
scope.message(MessageUtil.error(WeaverMessages... |
237,962 | Bug 237962 [migration] Unexpected problem loading an aspect built with 1.5.4 | We always support processing of old aspects. It doesn't matter what level of AspectJ was used to build an aspect, as long as you use that version or a later version of the weaver, we can unpack it and don't require it to be rebuilt from source. However, I've just encountered a .class apparently built with 1.5.4 that 1.... | resolved fixed | be03167 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-06-20T17:15:52Z | 2008-06-20T16:40:00Z | weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | return eatp;
} else {
return this;
}
}
public AnnotationTypePattern parameterizeWith(Map typeVariableMap,World w) {
WildAnnotationTypePattern ret = new WildAnnotationTypePattern(typePattern.parameterizeWith(typeVariableMap,w));
ret.copyLocationFrom(this);
ret.resolved = resol... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.