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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | range.append(advice);
} else {
InstructionList callback = makeCallToCallback(callbackMethod);
InstructionList postCallback = new InstructionList();
if (terminatesWithReturn()) {
callback.append(
InstructionFactory.createReturn(callbackMethod.getReturnType()));
} else {
advice.append(
Ins... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | callback.append(InstructionConstants.ALOAD_0);
}
if (targetVar != null && targetVar != thisVar) {
callback.append(BcelRenderer.renderExpr(fact, world, targetVar));
}
callback.append(BcelRenderer.renderExprs(fact, world, argVars));
if (thisJoinPointVar != nul... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | stateIndex++;
}
if (targetVar != null && targetVar != thisVar) {
arrayVar.appendConvertableArrayStore(il, fact, stateIndex, targetVar);
targetVar.setPositionInAroundState(stateIndex);
stateIndex++;
}
for (int i = 0, len = getArgCount(); i<len; i+... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | IntMap ret = new IntMap();
for(int i = 0, len = adviceArgs.length; i < len; i++) {
BcelVar v = (BcelVar) adviceArgs[i];
if (v == null) continue;
int pos = v.getPositionInAroundState();
if (pos >= 0) {
ret.put(pos, i);
}
}
... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | superClassName,
getEnclosingClass().getFileName(),
Modifier.PUBLIC,
new String[] {},
getWorld());
InstructionFactory fact = new InstructionFac... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | BcelVar proceedVar = new BcelVar(UnresolvedType.OBJECTARRAY.resolve(world), 1);
BcelVar stateVar =
new BcelVar(UnresolvedType.OBJECTARRAY.resolve(world), runMethod.allocateLocal(1));
mbody.append(InstructionFactory.createThis());
mbody.append(fact.createGetField(superClassName, "state", objectArrayTy... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | mbody.append(Utility.createSet(
fact,
AjcMemberMaker.aroundClosurePreInitializationField()));
mbody.append(InstructionConstants.ACONST_NULL);
} else {
mbody.append(
Utility.createConversion(
fact,
callbackMethod.getReturnType(),
Type.OBJ... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | if (getKind() == PreInitialization) {
addPreInitializationReturnCode(
freshMethod,
getSuperConstructorParameterTypes());
}
getEnclosingClass().addMethodGen(freshMethod,munger.getSourceLocation());
return freshMethod;
}
private void addPreInitializationReturnCode(
LazyMethodG... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | arrayVar.appendLoad(body, fact);
swap
body.append(InstructionConstants.SWAP);
body.append(Utility.createConstant(fact, i));
body.append(InstructionConstants.SWAP);
body.append(InstructionFactory.createArrayStore(Type.OBJECT));
}
arrayVar.appendLoad(body, fact);
body.app... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | for (int i = 0, len = argVars.length; i < len; i++) {
ret.put(argVars[i].getSlot(), reti);
reti += argVars[i].getType().getSize();
}
if (thisJoinPointVar != null) {
ret.put(thisJoinPointVar.getSlot(), reti++);
}
point.
... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | * It may take some extra arguments: this, target.
* If it's argsOnStack, then it must take both this/target
* If it's argsOnFrame, it shares this and target.
* ??? rewrite this to do less array munging, please
*/
private LazyMethodGen createMethodGen(String newMethodName, int visibilityModifier... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | }
targetType = getThisType();
}
parameterTypes = addType(BcelWorld.makeBcelType(targetType), parameterTypes);
}
if (thisVar != null) {
UnresolvedType thisType = getThisType();
parameterTypes = addType(BcelWorld.makeBcelType(thisType), parameterTypes... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | BcelWorld.makeBcelType(returnType),
newMethodName,
parameterTypes,
new String[0],
getEnclosingClass());
}
private boolean samePackage(String p1, String p2) {
if (p1 == null) return p2 == null;
if (p2 == null) return false;
return p1.equals... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | return new BcelVar(typeX.resolve(world), genTempVarIndex(typeX.getSize()));
}
public BcelVar genTempVar(UnresolvedType typeX, String localName) {
BcelVar tv = genTempVar(typeX);
}
}
return tv;
}
private int genTempVarIndex(int size) {
return enclosingMethod.allocateLocal(size)... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/BcelShadow.java | (kind == ConstructorExecution) ||
(kind == AdviceExecution) ||
(kind == StaticInitialization) ||
(kind == PreInitialization) ||
(kind == Initialization)) {
if (getEnclosingMethod().hasDeclaredLineNumberInfo()) {
offset = getEnclosingMethod().getDeclarationOffset();
}
... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distri... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | import org.aspectj.apache.bcel.generic.ArrayType;
import org.aspectj.apache.bcel.generic.BIPUSH;
import org.aspectj.apache.bcel.generic.BasicType;
import org.aspectj.apache.bcel.generic.BranchInstruction;
import org.aspectj.apache.bcel.generic.ConstantPushInstruction;
import org.aspectj.apache.bcel.generic.INSTANCEOF;
... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | private Utility() {
super();
}
/*
* Ensure we report a nice source location - particular in the case
* where the source info is missing (binary weave).
*/
public static String beautifyLocation(ISourceLocation isl) {
StringBuffer nice = new StringBuffer();
if (isl==null || isl.getSourceFile()==... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | int takeFrom = isl.getSourceFile().getPath().lastIndexOf('/');
if (takeFrom == -1) {
takeFrom = isl.getSourceFile().getPath().lastIndexOf('\\');
}
nice.append(isl.getSourceFile().getPath().substring(takeFrom +1));
if (isl.getLine()!=0) nice.append(":").append(isl.getLine());
}
... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | BcelWorld.makeBcelTypes(signature.getParameterTypes()),
kind);
}
public static Instruction createInvoke(
InstructionFactory fact,
BcelWorld world,
Member signature) {
short kind;
if (signature.isInterface()) {
kind = Constants.INVOKEINTERFACE;
... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | public static Instruction createGet(InstructionFactory fact, Member signature) {
short kind;
if (signature.isStatic()) {
kind = Constants.GETSTATIC;
} else {
kind = Constants.GETFIELD;
}
return fact.createFieldAccess(
signature.getDeclaringType... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | signature.getName(),
BcelWorld.makeBcelType(signature.getReturnType()),
kind);
}
public static Instruction createSet(InstructionFactory fact, Member signature) {
short kind;
if (signature.isStatic()) {
kind = Constants.PUTSTATIC;
} else {
kind... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | }
return fact.createInvoke(
declaringClass.getClassName(),
newMethod.getName(),
Type.getReturnType(newMethod.getSignature()),
Type.getArgumentTypes(newMethod.getSignature()),
kind);
}
public static byte[] stringToUTF(String s) {
try {
ByteArra... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | if (m.getEnclosingClass().isInterface()) {
kind = Constants.INVOKEINTERFACE;
} else if (m.isStatic()) {
kind = Constants.INVOKESTATIC;
} else if (m.isPrivate() || m.getName().equals("<init>")) {
kind = Constants.INVOKESPECIAL;
} else {
kind = Const... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | member.getName(),
BcelWorld.makeBcelType(member.getReturnType()),
BcelWorld.makeBcelTypes(member.getParameterTypes()),
kind);
}
public static String[] makeArgNames(int n) {
String[] ret = new String[n];
for (int i=0; i<n; i++) {
ret[i] = "arg"... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | validBoxing.put("FLjava/lang/Float;","floatValue");
validBoxing.put("ILjava/lang/Integer;","intValue");
validBoxing.put("JLjava/lang/Long;","longValue");
validBoxing.put("SLjava/lang/Short;","shortValue");
validBoxing.put("ZLjava/lang/Boolean;","booleanValue");
}
public static void ... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | } else if (fromType.equals(UnresolvedType.OBJECT)) {
Type to = BcelWorld.makeBcelType(toType);
if (toType.isPrimitiveType()) {
String name = toType.toString() + "Value";
il.append(
fact.createInvoke(
"org.aspectj.runtime... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | if (toType.isPrimitiveType()) {
il.append(
fact.createInvoke(
"org.aspectj.runtime.internal.Conversions",
name,
to,
new Type[]{Type.OBJECT},
Constants.INVOKESTATIC));
... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | il.append(fact.createCheckCast((ReferenceType) to));
}
}
public static InstructionList createConversion(InstructionFactory factory,Type fromType,Type toType) {
return createConversion(factory,fromType,toType,false);
}
public static InstructionList createConversion(
Instruct... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | throw new BCException("attempting to cast from void to basic type");
il.append(InstructionFactory.createNull(Type.OBJECT));
return il;
}
if (fromType.equals(Type.OBJECT)) {
if (toType instanceof BasicType) {
String name = toType.toString() + "Value";
... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | } else {
throw new RuntimeException();
}
}
if (fromType instanceof ReferenceType
&& ((ReferenceType)fromType).isAssignmentCompatibleWith(toType)) {
return il;
}
if (allowAutoboxing) {
if (toType instanceo... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | name,
Type.OBJECT,
new Type[] { fromType },
Constants.INVOKESTATIC));
il.append(fact.createCast(Type.OBJECT, toType));
return il;
}
}
il.append(fact.createCast(fromType, toType));
return il;
}
... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | }
return inst;
}
public static JavaClass makeJavaClass(String filename, byte[] bytes) {
try {
ClassParser parser = new ClassParser(new ByteArrayInputStream(bytes), filename);
return parser.parse();
} catch (IOException e) {
throw new BCException("malformed class file");
}
}
publi... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | */
public static void replaceInstruction(
InstructionHandle ih,
BranchInstruction branchInstruction,
LazyMethodGen enclosingMethod)
{
InstructionList il = enclosingMethod.getBody();
InstructionHandle fresh = il.append(ih, branchInstruction);
deleteInstruction(... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | * @param ih the instruction handle to delete
* @param retargetTo the instruction handle to retarget targeters of ih to.
* @param enclosingMethod where to find ih's instruction list.
*/
public static void deleteInstruction(
InstructionHandle ih,
InstructionHandle retargetTo,
LazyMethodGen enclos... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | * object will not have been deep copied, so modifying targets in fresh will modify
* the original Select - not what we want ! (It is a bug in BCEL to do with cloning
* Select objects).
*
* <pre>
* declare error:
* call(* Instruction.copy()) && within(org.aspectj.weaver)
* ... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | }
public static int getSourceLine(InstructionHandle ih) {
int lookahead=0;
while (lookahead++ < 100) {
if (ih == null) return -1;
InstructionTargeter[] ts = ih.getTargeters();
if (ts != null) {
for (int j = ts.length - 1; j >= 0; j--) {
InstructionTargeter... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | ih.addTargeter(new LineNumberTag(lineNumber));
}
public static int makePublic(int i) {
return i & ~(Modifier.PROTECTED | Modifier.PRIVATE) | Modifier.PUBLIC;
}
public static int makePrivate(int i) {
return i & ~(Modifier.PROTECTED | Modifier.PUBLIC) | Modifier.PRIVATE;
}
public static BcelVar[] pushAndReturnA... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | /**
* Check if the annotations contain a SuppressAjWarnings annotation and
* if that annotation specifies that the given lint message (identified
* by its key) should be ignored.
*
*/
public static boolean isSuppressing(AnnotationX[] anns,String lintkey) {
if (anns == null) return fals... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | }
}
}
return suppressed;
}
public static List getSuppressedWarnings(AnnotationX[] anns, Lint lint) {
if (anns == null) return Collections.EMPTY_LIST;
List suppressedWarnings = new ArrayList();
boolean found = false;
for (int i = 0;!found && i<... |
148,007 | Bug 148007 boolean methods with after advice return incorrect result on JRockit under WLS | null | resolved fixed | 426cbdc | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-22T04:49:26Z | 2006-06-21T08:53:20Z | weaver/src/org/aspectj/weaver/bcel/Utility.java | }
}
}
}
return suppressedWarnings;
}
public static boolean isSimple(Method method) {
if (method.getCode()==null) return true;
if (method.getCode().getCode().length>10) return false;
InstructionList instrucs = new InstructionList(method.getCode().getCode()); ... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.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... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | import org.aspectj.ajdt.internal.compiler.lookup.PrivilegedHandler;
import org.aspectj.bridge.context.CompilationAndWeavingContext;
import org.aspectj.bridge.context.ContextToken;
import org.aspectj.org.eclipse.jdt.core.compiler.CharOperation;
import org.aspectj.org.eclipse.jdt.internal.compiler.ClassFile;
import org.a... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | public PointcutDesignator pointcutDesignator;
int baseArgumentCount;
public Argument extraArgument;
public AdviceKind kind;
private int extraArgumentFlags = 0;
public MethodBinding proceedMethodBinding;
public List proceedCalls = new ArrayList... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | List l = new ArrayList(1);
l.add(new EclipseAttributeAdapter(makeAttribute()));
addDeclarationStartLineAttribute(l,classFile);
return classFile.generateMethodInfoAttribute(binding, false, l);
}
private AjAttribute makeAttribute() {
if (kind == AdviceKind.Around) {
return new AjAttribute.AdviceAttribute(k... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | if (!argTb.isCompatibleWith(expectedTb)) {
scope.problemReporter().typeMismatchError(argTb, expectedTb, extraArgument);
ignoreFurtherInvestigation = true;
return;
}
}
pointcutDesignator.finishResolveTypes(this, this.binding,
baseArgumentCount, upperScope.referenceContext.binding);
if (... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | formalsUnchangedToProceed = new boolean[baseArgumentCount];
proceedCallSignatures = new ResolvedMember[0];
proceedInInners = false;
declaredExceptions = new UnresolvedType[0];
for (int i=0; i < n; i++) {
Proceed call = (Proceed)proceedCalls.get(i);
if (call.inInner) {
proceedInInners ... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.ACCESS_FOR_INLINE, selector);
this.traverse(v, (ClassScope) null);
CompilationAndWeavingContext.leavingPhase(tok);
if (!v.isInlinable) proceedInInners = true;
}
}
}
public int getDeclaredPa... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | for (int i=0; i < nargs-1; i++) {
closureIndex += AstUtil.slotsNeeded(binding.parameters[i]);
}
codeStream.loadObject(closureIndex);
codeStream.generateInlinedValue(nargs-1);
codeStream.newArray(
new ArrayBinding(
classScope.getType(TypeBinding.JAVA_LANG_OBJECT,
TypeBinding.JAV... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | ReferenceBinding closureType = (ReferenceBinding)binding.parameters[nargs-1];
MethodBinding runMethod = closureType.getMethods("run".toCharArray())[0];
codeStream.invokevirtual(runMethod);
TypeBinding returnType = binding.returnType;
if (returnType.isBaseType()) {
codeStream.invokestatic(AjTypeConstants.getC... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | }
private static TypeBinding[] resize(int newSize, TypeBinding[] bindings) {
int len = bindings.length;
TypeBinding[] ret = new TypeBinding[newSize];
System.arraycopy(bindings, 0, ret, 0, Math.min(newSize, len));
return ret;
}
/**
* Add either the @Before, @After, @Around, @AfterReturning or @AfterThrowi... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | }
AtAspectJAnnotationFactory.addAnnotation(this, adviceAnnotation,this.scope);
}
private String buildArgNameRepresentation() {
StringBuffer args = new StringBuffer();
int numArgsWeCareAbout = getDeclaredParameterCount();
if (this.arguments != null) {
for (int i = 0; i < numArgsWeCareAbout; i++) {
if ... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | kind,
adviceSequenceNumberInType,
stringifiedPointcut.toString().hashCode()).toCharArray();
if (arguments != null) {
baseArgumentCount = arguments.length;
}
if (kind == AdviceKind.Around) {
extraArgument = makeFinalArgument("ajc_aroundClosure",
AjTypeConstants.getAroundClosureType());
}... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | }
pointcutDesignator.postParse(typeDec, this);
}
private int checkAndSetModifiers(int modifiers, ClassScope scope) {
if (modifiers == 0) return Modifier.PUBLIC;
else if (modifiers == Modifier.STRICT) return Modifier.PUBLIC | Modifier.STRICT;
else {
tagAsHavingErrors();
scope.problemReporter().signalErro... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java | if (args == null) {
return new Argument[addedArguments];
}
int len = args.length;
Argument[] ret = new Argument[len + addedArguments];
System.arraycopy(args, 0, ret, 0, len);
return ret;
}
}
public StringBuffer printBody(int indent, StringBuffer output) {
output.append(": ");
if (po... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/DeclareDeclaration.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... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/DeclareDeclaration.java | import java.util.Collection;
import java.util.Iterator;
import org.aspectj.ajdt.internal.compiler.lookup.EclipseScope;
import org.aspectj.org.eclipse.jdt.internal.compiler.ClassFile;
import org.aspectj.org.eclipse.jdt.internal.compiler.CompilationResult;
import org.aspectj.org.eclipse.jdt.internal.compiler.ast.Annotati... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/DeclareDeclaration.java | declarationSourceStart = sourceStart = declareDecl.getStart();
declarationSourceEnd = sourceEnd = declareDecl.getEnd();
}
this.returnType = TypeReference.baseTypeReference(T_void, 0);
}
public void addAtAspectJAnnotations() {
Annotation annotation = null;
if (declareDecl instanceof DeclareAnnot... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/DeclareDeclaration.java | if (iter.hasNext()) parents.append(", ");
}
annotation = AtAspectJAnnotationFactory
.createDeclareParentsAnnotation(childPattern,parents.toString(),dp.isExtends(),declarationSourceStart);
} else if (declareDecl instanceof DeclarePrecedence) {
DeclarePrecedence dp = (DeclarePrecedence) declareDecl;... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/DeclareDeclaration.java | protected boolean shouldDelegateCodeGeneration() {
return true;
}
public void parseStatements(
Parser parser,
CompilationUnitDeclaration unit) {
}
public void resolveStatements(ClassScope upperScope) {
}
public Declare build(ClassScope classScope) {
if (declareDecl == null) return n... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/DeclareDeclaration.java | }
/**
* We need the ajc$declare method that is created to represent this declare to
* be marked as synthetic
*/
protected int generateInfoAttributes(ClassFile classFile) {
return super.generateInfoAttributes(classFile,true);
}
public void postParse(TypeDeclaration typeDec) {
super.postParse(typeDec);
... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.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... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.java | /**
* pointcut [declaredModifiers] [declaredName]([arguments]): [pointcutDesignator];
*
* <p>No method will actually be generated for this node but an attribute
* will be added to the enclosing class.</p>
*
* @author Jim Hugunin
*/
public class PointcutDeclaration extends AjMethodDeclaration {
public static f... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.java | public void parseStatements(
Parser parser,
CompilationUnitDeclaration unit) {
}
public void postParse(TypeDeclaration typeDec) {
if (arguments == null) arguments = new Argument[0];
this.declaredModifiers = modifiers;
this.declaredName = new String(selector);
selector = CharOperation... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.java | return;
}
} else if (!Modifier.isAbstract(typeDec.modifiers)) {
typeDec.scope.problemReporter().signalError(sourceStart, sourceEnd,
"The abstract pointcut " + new String(declaredName) +
" can only be defined in an abstract aspect");
ignoreFurtherInvestigation = true;
... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.java | */
public void addAtAspectJAnnotations() {
String argNames = buildArgNameRepresentation();
Annotation pcutAnnotation =
AtAspectJAnnotationFactory.createPointcutAnnotation(getPointcutText(),argNames,declarationSourceStart);;
if (annotations == null) {
annotations = new Annotation[] { pcutAnnotation };
} ... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.java | if (i != 0) args.append(",");
args.append(new String(this.arguments[i].name));
}
}
return args.toString();
}
public void setGenerateSyntheticPointcutMethod() {
generateSyntheticPointcutMethod = true;
}
public void resolve(ClassScope upperScope) {
if (binding!= null) {
binding.t... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.java | }
if (binding == null || ignoreFurtherInvestigation) return;
if (Modifier.isAbstract(this.declaredModifiers)&& (pointcutDesignator != null)) {
scope.problemReporter().signalError(sourceStart, sourceEnd, "abstract pointcut can't have body");
ignoreFurtherInvestigation = true;
return;
}
if (poin... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.java | resolvedPointcutDeclaration.setPosition(sourceStart, sourceEnd);
resolvedPointcutDeclaration.setSourceContext(new EclipseSourceContext(compilationResult));
return resolvedPointcutDeclaration;
}
public AjAttribute makeAttribute() {
return new AjAttribute.PointcutDeclarationAttribute(makeResolvedPointcutDefinitio... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.java | * if someone else hasn't already.
*/
private void addVersionAttributeIfNecessary(ClassFile classFile) {
for (Iterator iter = classFile.extraAttributes.iterator(); iter.hasNext();) {
EclipseAttributeAdapter element = (EclipseAttributeAdapter) iter.next();
if (CharOperation.equals(element.getNameChars(),weaver... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | 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... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | import java.util.Map;
import org.aspectj.ajdt.internal.compiler.ast.AspectDeclaration;
import org.aspectj.ajdt.internal.compiler.ast.AstUtil;
import org.aspectj.ajdt.internal.core.builder.AjBuildManager;
import org.aspectj.bridge.ISourceLocation;
import org.aspectj.bridge.IMessage.Kind;
import org.aspectj.org.eclipse.j... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | import org.aspectj.weaver.BoundedReferenceType;
import org.aspectj.weaver.ConcreteTypeMunger;
import org.aspectj.weaver.IHasPosition;
import org.aspectj.weaver.Member;
import org.aspectj.weaver.NewFieldTypeMunger;
import org.aspectj.weaver.NewMethodTypeMunger;
import org.aspectj.weaver.ReferenceType;
import org.aspectj... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | 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 = (AjLookupEnvironment)env;
return aenv.fac... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | 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(ReferenceBinding binding) {
if (binding ==... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | 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... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | 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 of places - due to TypeVariableBindings. When we
* see a TypeVariableBinding now... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | UnresolvedTypeVariableReferenceType utvrt = (UnresolvedTypeVariableReferenceType) fromTypeVariableBinding(tb);
return utvrt;
}
if (binding instanceof ArrayBinding) {
ArrayBinding aBinding = (ArrayBinding) binding;
UnresolvedType componentType = fromBinding(aBinding.leafComponentType);
return Unres... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | if (binding instanceof ParameterizedTypeBinding) {
if (binding instanceof RawTypeBinding) {
return UnresolvedType.forRawTypeName(getName(binding));
}
ParameterizedTypeBinding ptb = (ParameterizedTypeBinding) binding;
UnresolvedType[] arguments = null;
if (ptb.arguments!=null) {
argu... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | 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);
}
... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | return UnresolvedType.forSignature(new String(binding.signature()));
} else {
return UnresolvedType.forSignature(new String(ltb.enclosingType.signature()));
}
}
return UnresolvedType.forName(getName(binding));
}
/**
* Some type variables refer to themselves recursively, this enables u... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | UnresolvedTypeVariableReferenceType ret = new UnresolvedTypeVariableReferenceType();
ret.setTypeVariable(new TypeVariable(aliasname));
return ret;
}
}
if (typeVariablesForThisMember.containsKey(new String(aTypeVariableBinding.sourceName))) {
return (UnresolvedType)typeVariablesForThisMember.get(new... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | tv.setDeclaringElementKind(TypeVariable.METHOD);
} else {
tv.setDeclaringElementKind(TypeVariable.TYPE);
}
if (aTypeVariableBinding.declaringElement instanceof MethodBinding)
typeVariablesForThisMember.put(new String(aTypeVariableBinding.sourceName),ret);
typeVariableBindingsInProgress.remove(aTypeVariab... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | public Collection getDeclareAnnotationOnFields() {
return getWorld().getDeclareAnnotationOnFields();
}
public Collection getDeclareAnnotationOnMethods() {
return getWorld().getDeclareAnnotationOnMethods();
}
public boolean areTypeMungersFinished() {
return finishedTypeMungers != null;
}
public void ... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | finishedTypeMungers = ret;
}
public EclipseTypeMunger makeEclipseTypeMunger(ConcreteTypeMunger concrete) {
if (concrete.getMunger() != null && EclipseTypeMunger.supportsKind(concrete.getMunger().getKind())) {
AbstractMethodDeclaration method = null;
if (concrete instanceof EclipseTypeMunge... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | public ResolvedMember makeResolvedMember(MethodBinding binding) {
return makeResolvedMember(binding, binding.declaringClass);
}
public ResolvedMember makeResolvedMember(MethodBinding binding, Shadow.Kind shadowKind) {
Member.Kind memberKind = binding.isConstructor() ? Member.CONSTRUCTOR : Member.METHOD;
if (sha... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | Map recoveryAliases) {
ResolvedMember result = null;
try {
typeVariablesForAliasRecovery = recoveryAliases;
result = makeResolvedMember(binding,declaringType);
} finally {
typeVariablesForAliasRecovery = null;
}
return result;
}
public ResolvedMember makeResolvedMember(MethodBinding binding, Ty... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | if (realDeclaringType.isRawType()) realDeclaringType = realDeclaringType.getGenericType();
ResolvedMemberImpl ret = new ResolvedMemberImpl(
memberKind,
realDeclaringType,
binding.modifiers,
fromBinding(binding.returnType),
new String(binding.selector),
fromBindings(binding.parameters),
fromBindi... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | ResolvedType realDeclaringType = world.resolve(fromBinding(receiverType));
if (realDeclaringType.isRawType()) realDeclaringType = realDeclaringType.getGenericType();
return new ResolvedMemberImpl(
Member.FIELD,
realDeclaringType,
binding.modifiers,
world.resolve(fromBinding(binding.type)),
new String... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | } else {
typexToBinding.put(typeX, ret);
}
}
}
if (ret == null) {
System.out.println("can't find: " + typeX);
}
return ret;
}
private ReferenceBinding baseTypeForParameterizedType;
private int indexOfTypeParameterBeingConverted;
private TypeBinding makeTypeBinding1(UnresolvedType type... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | dim++;
typeX = typeX.getComponentType();
}
return lookupEnvironment.createArrayType(makeTypeBinding(typeX), dim);
} else if (typeX.isParameterizedType()) {
UnresolvedType[] typeParameters = typeX.getTypeParameters();
ReferenceBinding baseTypeBinding = lookupBinding(typeX.getBaseName());
T... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | TypeBinding bound = null;
if (brt.isExtends()) {
boundkind = Wildcard.EXTENDS;
bound = makeTypeBinding(brt.getUpperBound());
} else if (brt.isSuper()) {
boundkind = Wildcard.SUPER;
bound = makeTypeBinding(brt.getLowerBound());
}
TypeBinding[] otherBounds = null;
if (brt.getAdditionalBound... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | return ret;
}
private ReferenceBinding[] makeReferenceBindings(UnresolvedType[] types) {
int len = types.length;
ReferenceBinding[] ret = new ReferenceBinding[len];
for (int i = 0; i < len; i++) {
ret[i] = (ReferenceBinding)makeTypeBinding(types[i]);
}
return ret;
}
public FieldBinding m... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | return internalMakeFieldBinding(member,null);
}
/**
* 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 appropr... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | Constant.NotAConstant);
typeVariableToTypeBinding.clear();
currentType = null;
return fb;
}
private ReferenceBinding currentType = null;
public MethodBinding makeMethodBinding(NewMethodTypeMunger nmtm) {
return internalMakeMethodBinding(nmtm.getSignature(),nmtm.getTypeVariableAliases());
}
/**
* Co... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | */
public MethodBinding makeMethodBinding(ResolvedMember member) {
return internalMakeMethodBinding(member,null);
}
public MethodBinding internalMakeMethodBinding(ResolvedMember member,List aliases) {
return internalMakeMethodBinding(member,aliases,member.getDeclaringType());
}
/**
* Take a normal AJ me... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | if (aliases!=null && aliases.size()!=0) {
int i=0;
ReferenceBinding aliasTarget = (ReferenceBinding)makeTypeBinding(aliasTargetType);
for (Iterator iter = aliases.iterator(); iter.hasNext();) {
String element = (String) iter.next();
typeVariableToTypeBinding.put(element,aliasTarget.typeVariables()[i++]... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | }
return ret;
}
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 T... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | } else {
TypeBinding tbs[] = makeTypeBindings(tv.getAdditionalInterfaceBounds());
ReferenceBinding[] rbs= new ReferenceBinding[tbs.length];
for (int i = 0; i < tbs.length; i++) {
rbs[i] = (ReferenceBinding)tbs[i];
}
tvBinding.superInterfaces=rbs;
}
}
return tvBinding;
}
private TypeVariab... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | for (int i = 0; i < tbs.length; i++) {
rbs[i] = (ReferenceBinding)tbs[i];
}
tvBinding.superInterfaces=rbs;
}
}
return tvBinding;
}
public MethodBinding makeMethodBindingForCall(Member member) {
return new MethodBinding(member.getCallsiteModifiers(),
member.getName().toCharArray(),
makeTyp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.