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
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} List decaFs = getMatchingSubset(allDecafs,clazz.getType()); if (decaFs.isEmpty()) return false; Field[] fields = clazz.getFieldGens(); if (fields!=null) { for (int fieldCounter = 0;fieldCounter<fields.length;fieldCounter++) { BcelField aBcelField = new BcelField(clazz.getB...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
AnnotationGen ag = new AnnotationGen(a,clazz.getConstantPoolGen(),true); FieldGen myGen = new FieldGen(fields[fieldCounter],clazz.getConstantPoolGen()); myGen.addAnnotation(ag); Field newField = myGen.getField(); aBcelField.addAnnotation(decaF.getAnnotationX()); clazz.replaceF...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
DeclareAnnotation decaF = (DeclareAnnotation) iter.next(); if (decaF.matches(aBcelField,world)) { if (doesAlreadyHaveAnnotation(aBcelField,decaF,reportedProblems)) continue; aBcelField.addAnnotation(decaF.getAnnotationX()); AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Utility.beautifyLocation(decaF.getSourceLocation())})); } } /** * Check if a resolved member (field/method/ctor) already has an annotation, if it * does then put out a warning and return true */ private boolean doesAlreadyHaveAnnotation(ResolvedMember rm,DeclareAnnotation deca,List reportedP...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
reportedProblems.add(new Integer(itdfieldsig.hashCode()*deca.hashCode())); world.getLint().elementAlreadyAnnotated.signal( new String[]{rm.toString(),deca.getAnnotationTypeX().toString()}, rm.getSourceLocation(),new ISourceLocation[]{deca.getSourceLocation()}); } } return true; ...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
private boolean inlineSelfConstructors(List methodGens) { boolean inlinedSomething = false; for (Iterator i = methodGens.iterator(); i.hasNext();) { LazyMethodGen mg = (LazyMethodGen) i.next(); if (! mg.getName().equals("<init>")) continue; InstructionHandle ih = findSuperOrThisCall(mg); if (ih != null ...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
r.associateWithTargets( Range.genStart(body, body.getStart().getNext()), Range.genEnd(body, call.getPrev())); } else { r.associateWithTargets( Range.genStart(body, call.getNext()), Range.genEnd(body)); } } private boolean isThisCall(InstructionHandle ih) { INVOKESPECIAL inst = (INVOKESPEC...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/* Implementation notes: * * We allocate two slots for every tempvar so we don't screw up * longs and doubles which may share space. This could be conservatively avoided * (no reference to a long/double instruction, don't do it) or packed later. * Right now we don't bother to pack. * * Allo...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
* @param frameEnv an environment to map from donor frame to recipient frame, * initially populated with argument locations. * @param fact an instruction factory for recipient */ static InstructionList genInlineInstructions( LazyMethodGen donor, LazyMethodGen recipient, IntMap frameEnv, InstructionFact...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (isAcrossClass) { CPInstruction cpi = (CPInstruction) fresh; cpi.setIndex( recipientCpg.addConstant( donorCpg.getConstant(cpi.getIndex()), donorCpg)); } } if (src.getInstruction() == Range.RANGEINSTRUCTION) { dest = ret.append(Range.RANGEINSTRUCTION); } else if (fresh i...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
freshIndex = frameEnv.get(oldIndex); } indexed.setIndex(freshIndex); dest = ret.append(fresh); } else { dest = ret.append(fresh); } srcToDest.put(src, dest); } Map tagMap = new HashMap(); Map shadowMap = new HashMap(); for (InstructionHandle dest = ret.getStart(), src = sourceLi...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Select select = (Select) branch; InstructionHandle[] oldTargets = select.getTargets(); for (int k = oldTargets.length - 1; k >= 0; k--) { select.setTarget( k, (InstructionHandle) srcToDest.get(oldTargets[k])); } } } } InstructionTargeter[] srcTarg...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
er.getCatchType(), er.getPriority()); freshEr.associateWithTargets( dest, (InstructionHandle)srcToDest.get(er.getEnd()), (InstructionHandle)srcToDest.get(er.getHandler())); } } else if (old instanceof ShadowRange) { ShadowRange...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } } if (!keepReturns) ret.append(footer); return ret; } /** generate the argument stores in preparation for inlining. * * @param donor the method we will inline from. Used to get the signature. * @param recipient the method we will inline into. Used to get the frame size * so we can...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
Type[] argTypes = donor.getArgumentTypes(); for (int i = 0, len = argTypes.length; i < len; i++) { Type argType = argTypes[i]; int argSlot = recipient.allocateLocal(argType); ret.insert(InstructionFactory.createStore(argType, argSlot)); frameEnv.put(donorFramePos, argSlot); donorFramePos += argType.get...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (i != 0) return i; return aa.getSignature().compareTo(bb.getSignature()); } } ); for (Iterator i = addedLazyMethodGens.iterator(); i.hasNext(); ) { clazz.addMethodGen((LazyMethodGen)i.next()); } } void addPerSingletonField(Member field) { ObjectType aspectType = (ObjectType) BcelWor...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
clinit.getBody().insert(setup); } /** * Returns null if this is not a Java constructor, and then we won't * weave into it at all */ private InstructionHandle findSuperOrThisCall(LazyMethodGen mg) { int depth = 1; InstructionHandle start = mg.getBody().getStart(); while (true) { if (start == null) ...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
return matchInit(mg, shadowAccumulator); } else if (!shouldWeaveBody(mg)) { return false; } else { if (mg.getName().equals("<clinit>")) { clinitShadow = enclosingShadow = BcelShadow.makeStaticInitialization(world, mg); } else if (mg.isAdviceMethod()) { enclosingShadow = BcelShadow.makeAdvi...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
h = h.getNext()) { match(mg, h, enclosingShadow, shadowAccumulator); } } if (canMatch(enclosingShadow.getKind()) && !mg.getName().startsWith("ajc$interFieldInit")) { if (match(enclosingShadow, shadowAccumulator)) { enclosingShadow.init(); } } mg.matchedShadows = shadowAccumulator; ...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
h != null; h = h.getNext()) { if (h == superOrThisCall) { beforeSuperOrThisCall = false; continue; } match(mg, h, beforeSuperOrThisCall ? null : enclosingShadow, shadowAccumulator); } } if (canMatch(Shadow.ConstructorExecution)) match(enclosingShadow, shadowAccumulator); ...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} } InstructionList inits = genInitInstructions(addedThisInitializers, false); enclosingShadow.getRange().insert(inits, Range.OutsideBefore); } boolean addedInitialization = match( BcelShadow.makeUnfinishedInitialization(world, mg), initializationShadows); addedI...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
/** * first sorts the mungers, then gens the initializers in the right order */ private InstructionList genInitInstructions(List list, boolean isStatic) { list = PartialOrder.sort(list); if (list == null) { throw new BCException("circularity in inter-types"); } InstructionList ret =...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
) { FieldInstruction fi = (FieldInstruction) i; if (fi instanceof PUTFIELD || fi instanceof PUTSTATIC) { InstructionHandle prevHandle = ih.getPrev(); Instruction prevI = prevHandle.getInstruction(); if (Utility.isConstantPushInstruction(prevI)) { Member field = BcelWor...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
} else if (i instanceof InvokeInstruction) { InvokeInstruction ii = (InvokeInstruction) i; if (ii.getMethodName(clazz.getConstantPoolGen()).equals("<init>")) { if (canMatch(Shadow.ConstructorCall)) match( BcelShadow.makeConstructorCall(world, mg, ih, enclosingShadow), shadowAccumulator); ...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
ExceptionRange er = (ExceptionRange) t; if (er.getCatchType() == null) continue; if (isInitFailureHandler(ih)) return; match( BcelShadow.makeExceptionHandler( world, er, mg, ih, enclosingShadow), shadowAccumulator); } } } } private boolean isInitFailureH...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
List shadowAccumulator) { FieldInstruction fi = (FieldInstruction) ih.getInstruction(); Member field = BcelWorld.makeFieldJoinPointSignature(clazz, fi); if (field.getName().startsWith(NameMangler.PREFIX)) return; ResolvedMember resolvedField = field.resolve(world); if (resolvedField == null) { ...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
if (field.getName().startsWith(NameMangler.PREFIX)) return; ResolvedMember resolvedField = field.resolve(world); if (resolvedField == null) { return; } else if (resolvedField.isSynthetic()) { return; } else { BcelShadow bs = BcelShadow.makeFieldGet(world,resolvedField,mg,ih,enclosingShadow);...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
return null; } /** * For a given resolvedmember, this will discover the real annotations for it. * <b>Should only be used when the resolvedmember is the contents of an effective signature * attribute, as thats the only time when the annotations aren't stored directly in the * resolvedMember</b> * @param r...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
annotations = resolvedDooberry.getAnnotationTypes(); } else { ResolvedMember realthing = AjcMemberMaker.interMethodDispatcher(rm.resolve(world),memberHostType).resolve(world); ResolvedMember theRealMember = findResolvedMemberNamed(memberHostType.resolve(world),realthing.getName()); if (th...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
throw new BCException("Unexpectedly went bang when searching for annotations on "+rm,t); } } private void matchInvokeInstruction(LazyMethodGen mg, InstructionHandle ih, InvokeInstruction invoke, BcelShadow enclosingShadow, List shadowAccumulator) { String methodName = invoke.getName(cpg); if (methodNa...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
AjAttribute.EffectiveSignatureAttribute effectiveSig = declaredSig.getEffectiveSignature(); if (effectiveSig == null) return; if (effectiveSig.isWeaveBody()) return; ResolvedMember rm = effectiveSig.getEffectiveSignature(); fixAnnotationsForResolvedMember(rm,declaredSig); ...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
WeaverMetrics.recordMatchResult(true); shadow.addMunger(munger); isMatched = true; if (shadow.getKind() == Shadow.StaticInitialization) { clazz.warnOnAddedStaticInitializer(shadow,munger.getSourceLocation()); } } else { WeaverMetrics.reco...
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
resolved fixed
2da9b31
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T15:49:49Z
2005-06-09T15:13:20Z
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.IMPLEMENTING_ON_SHADOW,shadow); shadow.implement(); CompilationAndWeavingContext.leavingPhase(tok); } int ii = mg.getMaxLocals(); mg.matchedShadows = null; } public LazyClas...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06: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...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
import org.aspectj.asm.IHierarchy; import org.aspectj.asm.IProgramElement; import org.aspectj.asm.IRelationship; import org.aspectj.asm.internal.Relationship; import org.aspectj.testing.XMLBasedAjcTestCase; import org.aspectj.util.LangUtil; public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testBadDecp_pr110788_3() { runTest("bad generic decp - 3");} public void testBadDecp_pr110788_4() { runTest("bad generic decp - 4");} public void testVarargsITD_pr110906() { runTest("ITD varargs problem");} public void testIncompatibleClassChangeError_pr113630_1() {runTest("IncompatibleClassChangeE...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void test_aroundMethodAspect() { runTest("method called around in aspect"); } public void test_ambiguousBindingsDetection() { runTest("Various kinds of ambiguous bindings"); } public void test_ambiguousArgsDetection() { runTest("ambiguous args"); } public void testIncorrectException...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
method.getLineNumberTable()!=null); } } public void testCanOverrideProtectedMethodsViaITDandDecp_pr83303() { runTest("compiler error when mixing inheritance, overriding and polymorphism"); } public void testPerTypeWithin_pr106554() {runTest("Problem in staticinitialization with pertypewithin a...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintWriter pw = new PrintWriter(baos); AsmManager.dumptree(pw,AsmManager.getDefault().getHierarchy().getRoot(),0); pw.flush(); String tree = baos.toString(); assertTrue("Expected 'Red [enumvalue]' somewhere in here:"+tree,tree.indexOf("Red ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("dirs on aspectpath"); } 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,...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testStaticImports_pr84260() {runTest("static import failures");} 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 ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testMissingNamePattern_pr107059() { runTest("parser crashes on call(void (@a *)(..)"); } public void testIntermediateAnnotationMatching() { runTest("intermediate annotation matching"); } public void testBadRuntimeTestGeneration() { runTest("target(@Foo *)"); } public void testE...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("void field type in pointcut expression"); } public void testPointcutOverriding() { runTest("overriding final pointcut from super-aspect"); } public void testAtSuppressWarnings() { runTest("@SuppressWarnings should suppress"); } public void testDEOWWithBindingPointcut() { runTest("...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testMultipleAnonymousInnerClasses() { runTest("multiple anonymous inner classes"); } public void testPrivilegedMethodAccessorsGetRightExceptions_pr82989() { runTest("Compiler error due to a wrong exception check in try blocks"); } public void testAnonymousInnerClassWithMethodReturningTyp...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testAtAfterThrowingWithNoFormal() { 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...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("inner class passed as argument to varargs method"); } public void testInlinedFieldAccessInProceedCall() { runTest("inlined field access in proceed call"); } public void testVisibiltyInSignatureMatchingWithOverridesPart1() { runTest("visibility in signature matching with overrides - 1"); }...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("parse generic type signature with parameterized type in interface"); } public void testOverrideAndCovarianceWithDecPRuntime() { runTest("override and covariance with decp - runtime"); } public void testOverrideAndCovarianceWithDecPRuntimeMultiFiles() { runTest("override and covariance with ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
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"); ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
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...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
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...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
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(), ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
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));...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
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...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
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...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.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...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
protected ResolvedType concreteAspect; protected List innerCflowEntries = Collections.EMPTY_LIST; protected int nFreeVars; protected TypePattern exceptionType; protected UnresolvedType[] bindingParameterTypes; protected List suppressedLintKinds = null; public stati...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
ResolvedType inAspect) { Advice ret = world.createAdviceMunger(isThis ? AdviceKind.PerThisEntry : AdviceKind.PerTargetEntry, entry, null, 0, entry); ret.concreteAspect = inAspect; return ret; } public static Advice makePerTypeWithinEntry(World world, Pointcut p, Resolv...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
this.signature = signature; if (signature != null) { this.bindingParameterTypes = signature.getParameterTypes(); } else { this.bindingParameterTypes = new UnresolvedType[0]; } } public boolean match(Shadow shadow, World world) { if (super.match(shadow, world)) { if (shadow.getKind() == Shado...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
} else if (kind == AdviceKind.PerThisEntry) { return shadow.hasThis(); } else if (kind == AdviceKind.Around) { if (shadow.getKind() == Shadow.PreInitialization) { world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.AROUND_ON_PREINIT), getSourceLocation(), ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
return true; } else if(!shadow.getReturnType().resolve(world).isAssignableFrom(getSignature().getReturnType().resolve(world))) { world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.INCOMPATIBLE_RETURN_TYPE,shadow), getSourceLocation(), shadow.getSourceLocation(...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
world.getLint().uncheckedArgument.signal( new String[] { afterReturningType.getSimpleName(), uncheckedMatchWith, afterReturningType.getSimpleBaseName(), shadow.toResolvedString(world)}, getSourceLocation(), new ISourceLocation[] {shadow.getSourceLocation()}); } ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
protected int getExtraParameterCount() { return countOnes(getExtraParameterFlags() & ParameterMask); } public UnresolvedType[] getBindingParameterTypes() { return this.bindingParameterTypes; } public void setBindingParameterTypes(UnresolvedType[] types) { this.bindingParameterTypes = types; } public static ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
public UnresolvedType getExtraParameterType() { if (!hasExtraParameter()) return ResolvedType.MISSING; if (signature instanceof ResolvedMember) { return ((ResolvedMember)signature).getGenericParameterTypes()[getBaseParameterCount()]; } else { return signature.getParameterTypes()[getBaseParameterCount()]; ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
Pointcut p = pointcut.concretize(fromType, getDeclaringType(), signature.getArity(), this); if (clause != null) { Pointcut oldP = p; p = new AndPointcut(clause, p); p.copyLocationFrom(oldP); p.state = Pointcut.CONCRETE; p.m_ignoreUnboundBindingForName...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Advice.java
} private volatile int hashCode = 0; public int hashCode() { if (hashCode == 0) { int result = 17; result = 37*result + kind.hashCode(); result = 37*result + pointcut.hashCode(); if (signature != null) result = 37*result + signature.hashCode(); ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Member.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * 2005 Contributors * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1.0...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Member.java
public static class Kind extends TypeSafeEnum { public Kind(String name, int key) { super(name, key); } public static Kind read(DataInputStream s) throws IOException { int key = s.readByte(); switch(key) { case 1: return METHOD; case 2: re...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Member.java
public String toLongString(); public Kind getKind(); public UnresolvedType getDeclaringType(); public UnresolvedType getReturnType(); public UnresolvedType getType(); public String getName(); public UnresolvedType[] getParameterTypes(); /** * Return full signature, including return type, e.g. "()LFastCar;" for...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/Member.java
public boolean isProtected(World world); public boolean isStatic(World world); public boolean isStrict(World world); public boolean isStatic(); public boolean isInterface(); public boolean isPrivate(); /** * Returns true iff the member is generic (NOT parameterized) * For example, a method declared in a gener...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.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...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
protected Kind kind; protected UnresolvedType declaringType; protected int modifiers; protected UnresolvedType returnType; protected String name; protected UnresolvedType[] parameterTypes; private final String signature; private final String declaredSignature; private String paramSignatur...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
private JoinPointSignatureIterator joinPointSignatures = null; public MemberImpl( Kind kind, UnresolvedType declaringType, int modifiers, String name, String signature) { this.kind = kind; this.declaringType = declaringType; this.modifiers = modi...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
UnresolvedType[] parameterTypes) { super(); this.kind = kind; this.declaringType = declaringType; this.modifiers = modifiers; this.returnType = returnType; this.name = name; this.parameterTypes = parameterTypes; if (kind == FIELD) { this.s...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
* * <blockquote><pre> * UnresolvedType.signatureToTypes("()[Z")[0].equals(Type.forSignature("[Z")) * UnresolvedType.signatureToTypes("(JJ)I")[1] * .equals(UnresolvedType.forSignatures(new String[] {"J", "J"})) * </pre></blockquote> * * @param signature the JVM bytecode m...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
StringBuffer buf = new StringBuffer(); buf.append("("); for(int i=0;i<paramTypes.length;i++) { buf.append(paramTypes[i].getSignature()); } buf.append(")"); return buf.toString(); } /** * returns an Object[] pair of UnresolvedType, UnresolvedType[] r...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
int start = i; while (c == '[') c = sig.charAt(++i); if (c == 'L' || c == 'P') { int nextSemicolon = sig.indexOf(';',start); int firstAngly = sig.indexOf('<',start); if (firstAngly == -1 || firstAngly>nextSemicolon) { i = nextSemicolon + 1; l.add(U...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
} else if (c=='T') { int nextSemicolon = sig.indexOf(';',start); String nextbit = sig.substring(start,nextSemicolon); l.add(UnresolvedType.forSignature(nextbit)); i=nextSemicolon+1; } else { i++; l.add(UnresolvedType.forSignature(sig.substring(start, i))); ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
return new MemberImpl( FIELD, UnresolvedType.forName(declaring), mods, ty, name, UnresolvedType.NONE); } public static MemberImpl method(UnresolvedType declTy, int mods, UnresolvedType rTy, String name, UnresolvedType[] paramTys) { ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
return new ResolvedMemberImpl( HANDLER, inType, Modifier.STATIC, "<catch>", "(" + catchType.getSignature() + ")V"); } /** Takes a string in this form: * * <blockquote><pre> * static? TypeName TypeName.Id * </pre></blockquote> * Pretty much just for testing, a...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
UnresolvedType retTy = UnresolvedType.forName(str.substring(start, i)); start = i; i = str.lastIndexOf('.'); UnresolvedType declaringTy = UnresolvedType.forName(str.substring(start, i).trim()); start = ++i; String name = str.substring(start, len).trim(); return new Member...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
} else if (str.startsWith("interface", i)) { mods = Modifier.INTERFACE; i += 9; } else if (str.startsWith("private", i)) { mods = Modifier.PRIVATE; i += 7; } while (Character.isWhitespace(str.charAt(i))) i++; int start ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
while (true) { int i = str.indexOf(',', start); if (i == -1) { l.add(str.substring(start).trim()); break; } l.add(str.substring(start, i).trim()); start = i+1; } return (String[]) l.toArray(new String[l.size()]);...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
if (i != 0) return i; return getSignature().compareTo(o.getSignature()); } /** * Equality is checked based on the underlying signature, so the hash code * of a member is based on its kind, name, signature, and declaring type. The * algorithm for this was taken from page 38 of effectiv...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
if (parameterTypes.length != 0) { buf.append(parameterTypes[0]); for (int i=1, len = parameterTypes.length; i < len; i++) { buf.append(", "); buf.append(parameterTypes[i].getName()); } } buf.append(")"); } return buf.toStr...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
/* (non-Javadoc) * @see org.aspectj.weaver.Member#getKind() */ public Kind getKind() { return kind; } /* (non-Javadoc) * @see org.aspectj.weaver.Member#getDeclaringType() */ public UnresolvedType getDeclaringType() { return declaringType; } /* (non-Javadoc) * @see org.aspectj.weaver.Member#get...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
* @see org.aspectj.weaver.Member#getDeclaredSignature() */ public String getDeclaredSignature() { return declaredSignature;} /* (non-Javadoc) * @see org.aspectj.weaver.Member#getArity() */ public int getArity() { return parameterTypes.length; } /* (non-Javadoc) * @see org.aspectj.weaver.Member#g...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
if (! equalTypes(getParameterTypes(), am.getParameterTypes())) return true; return getReturnType().equals(am.getReturnType()); } private static boolean equalTypes(UnresolvedType[] a, UnresolvedType[] b) { int len = a.length; if (len != b.length) return false; for (int i = 0;...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
* @see org.aspectj.weaver.Member#isProtected(org.aspectj.weaver.World) */ public final boolean isProtected(World world) { return Modifier.isProtected(resolve(world).getModifiers()); } /* (non-Javadoc) * @see org.aspectj.weaver.Member#isStatic(org.aspectj.weaver.World) */ public final boole...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
} /* (non-Javadoc) * @see org.aspectj.weaver.Member#isPrivate() */ public final boolean isPrivate() { return Modifier.isPrivate(modifiers); } /* (non-Javadoc) * @see org.aspectj.weaver.Member#canBeParameterized() */ public boolean canBeParameterized() { return ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
else if (name.equals("<clinit>")) return "clinit$"; else return name; } /* (non-Javadoc) * @see org.aspectj.weaver.Member#hasAnnotation(org.aspectj.weaver.UnresolvedType) */ public boolean hasAnnotation(UnresolvedType ofType) { throw new UnsupportedOperationException("You should resolve this member ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
*/ public Collection getDeclaringTypes(World world) { ResolvedType myType = getDeclaringType().resolve(world); Collection ret = new HashSet(); if (kind == CONSTRUCTOR) { ret.add(myType); } else if (isStatic() || kind == FIELD) { walkUpStatic(ret, myType); } else { walkUp(ret, myType); } r...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
} if (b) acc.add(curr); return b; } private boolean walkUpStatic(Collection acc, ResolvedType curr) { if (curr.lookupMemberNoSupers(this) != null) { acc.add(curr); return true; } else { boolean b = false; for (Iterator i = curr.getDirectSupertypes(); i.hasNext(); ) { b |= walkUpStatic(acc, ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
return "makeMethodSig"; } else if (kind == CONSTRUCTOR) { return "makeConstructorSig"; } else if (kind == FIELD) { return "makeFieldSig"; } else if (kind == HANDLER) { return "makeCatchClauseSig"; } else if (kind == STATIC_INITIALIZATION) { return "makeInitializerSig"; }...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
} else if (kind == HANDLER) { return "org.aspectj.lang.reflect.CatchClauseSignature"; } else if (kind == STATIC_INITIALIZATION) { return "org.aspectj.lang.reflect.InitializerSignature"; } else if (kind == ADVICE) { return "org.aspectj.lang.reflect.AdviceSignature"; } else { throw ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
throw new RuntimeException("unimplemented"); } } private String getHandlerSignatureString(World world) { StringBuffer buf = new StringBuffer(); buf.append(makeString(0)); buf.append('-'); buf.append('-'); buf.append(makeString(getDeclaringType())); buf....
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
} protected String getAdviceSignatureString(World world) { StringBuffer buf = new StringBuffer(); buf.append(makeString(getModifiers(world))); buf.append('-'); buf.append(getName()); buf.append('-'); buf.append(makeString(getDeclaringType())); buf.append('-'); ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
buf.append('-'); buf.append(makeString(getExceptions(world))); buf.append('-'); buf.append(makeString(getReturnType())); buf.append('-'); return buf.toString(); } protected String getConstructorSignatureString(World world) { StringBuffer buf = new StringBuffer(); ...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
buf.append('-'); buf.append(makeString(getDeclaringType())); buf.append('-'); buf.append(makeString(getReturnType())); buf.append('-'); return buf.toString(); } protected String makeString(int i) { return Integer.toString(i, 16); } protected String makeString(Unresolve...
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
resolved fixed
8cea30f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-27T18:01:54Z
2005-10-26T18:06:40Z
weaver/src/org/aspectj/weaver/MemberImpl.java
protected String makeString(String[] names) { if (names == null) return ""; StringBuffer buf = new StringBuffer(); for (int i = 0, len=names.length; i < len; i++) { buf.append(names[i]); buf.append(':'); } return buf.toString(); } /* (non-Javadoc) * @s...
108,892
Bug 108892 Load Time Weaving problem with Aspect Definition at 2 Levels of Hierarchy
I am trying to weave into Tomcat with a system-level aspect (META-INF/aop.xml is found in a jar on the system classpath), and also have a Web application with an aop.xml properly deployed. When I try to run them both together, only the system-level aspects work. If I remove the system-level aspect jar from the classpat...
resolved fixed
794f9b5
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-10-28T12:07:14Z
2005-09-07T02:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
/* ******************************************************************* * Copyright (c) 2005 IBM Corporation Ltd * 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 ...