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,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | return;
}
if (superType.isRawType()) {
scope.problemReporter().signalError(sourceStart, sourceEnd,
"a generic super-aspect must be fully parameterized in an extends clause");
ignoreFurtherInvestigation = true;
return;
}
}
}
private FieldBinding initFailureField= null;
/**
* A... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | annotations = new Annotation[annotations.length + toAdd.length];
System.arraycopy(old,0,annotations,0,old.length);
System.arraycopy(toAdd,0,annotations,old.length,toAdd.length);
}
}
public void generateCode(ClassFile enclosingClassFile) {
if (ignoreFurtherInvestigation) {
if (binding == null)
r... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | binding.addField(factory.makeFieldBinding(AjcMemberMaker.perSingletonField(
typeX)));
methods[0] = new AspectClinit((Clinit)methods[0], compilationResult, false, true, initFailureField);
} else if (perClause.getKind() == PerClause.PERCFLOW) {
binding.addField(
factory.makeFieldBinding(
... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | generateInlineAccessMembers(classFile);
addVersionAttributeIfNecessary(classFile);
classFile.extraAttributes.add(
new EclipseAttributeAdapter(new AjAttribute.Aspect(perClause)));
if (binding.privilegedHandler != null) {
ResolvedMember[] members = ((PrivilegedHandler)binding.privilegedHandler).getMemb... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | }
private static char[] weaverVersionChars = "org.aspectj.weaver.WeaverVersion".toCharArray();
private void generateInlineAccessMembers(ClassFile classFile) {
for (Iterator i = superAccessForInline.values().iterator(); i.hasNext(); ) {
AccessForInlineVisitor.SuperAccessMethodPair pair = (AccessForInlineVisitor... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | generatePerCflowAspectOfMethod(classFile);
generatePerCflowHasAspectMethod(classFile);
generatePerCflowPushMethod(classFile);
generatePerCflowAjcClinitMethod(classFile);
} else if (perClause.getKind() == PerClause.PEROBJECT) {
TypeBinding interfaceType =
generatePerObjectInterface(classFile);
gene... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | }
private void generateMethod(ClassFile classFile, MethodBinding methodBinding, BodyGenerator gen) {
generateMethod(classFile,methodBinding,null,gen);
}
protected List makeEffectiveSignatureAttribute(ResolvedMember sig,Shadow.Kind kind,boolean weaveBody) {
List l = new ArrayList(1);
l.add(new EclipseAttrib... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | } else {
attributeNumber = classFile.generateMethodInfoAttribute(methodBinding, false, AstUtil.getAjSyntheticAttribute());
}
int codeAttributeOffset = classFile.contentsOffset;
classFile.generateCodeAttributeHeader();
CodeStream codeStream = classFile.codeStream;
MethodDeclaration md = AstUtil.mak... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | typeX)));
codeStream.invokevirtual(world.makeMethodBindingForCall(
AjcMemberMaker.cflowStackPeekInstance()));
codeStream.checkcast(binding);
codeStream.areturn();
}});
}
private void generatePerCflowHasAspectMethod(ClassFile classFile) {
final EclipseFactory world = EclipseFactory.fromSc... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | new BodyGenerator() {
public void generate(CodeStream codeStream) {
codeStream.getstatic(
world.makeFieldBinding(
AjcMemberMaker.perCflowField(
typeX)));
codeStream.new_(binding);
codeStream.dup();
codeStream.invokespecial(
new MethodBinding(0, "<init>".toCharArray(), ... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | codeStream.new_(world.makeTypeBinding(AjcMemberMaker.CFLOW_STACK_TYPE));
codeStream.dup();
codeStream.invokespecial(world.makeMethodBindingForCall(AjcMemberMaker.cflowStackInit()));
codeStream.putstatic(
world.makeFieldBinding(
AjcMemberMaker.perCflowField(
typeX)));
codeStream.... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | generateMethod(classFile,ptwGetWithinTypeMethod,new BodyGenerator() {
public void generate(CodeStream codeStream) {
codeStream.aload_0();
codeStream.getfield(world.makeFieldBinding(AjcMemberMaker.perTypeWithinWithinTypeField(typeX,typeX)));
codeStream.areturn();
}});
}*/
private void generatePer... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | codeStream.aload_1();
codeStream.areturn();
anythingGoesWrong.placeEnd();
anythingGoesWrong.place();
codeStream.astore_1();
codeStream.new_(world.makeTypeBinding(AjcMemberMaker.NO_ASPECT_BOUND_EXCEPTION));
codeStream.dup();
codeStream.invokespecial(world.... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | codeStream.aload_0();
codeStream.checkcast(interfaceType);
codeStream.invokeinterface(world.makeMethodBindingForCall(
AjcMemberMaker.perObjectInterfaceGet(typeX)));
codeStream.dup();
codeStream.ifnull(popWrongType);
codeStream.areturn();
popWrongType.place();
codeStream.pop()... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | codeStream.instance_of(interfaceType);
codeStream.ifeq(wrongType);
codeStream.aload_0();
codeStream.checkcast(interfaceType);
codeStream.invokeinterface(world.makeMethodBindingForCall(
AjcMemberMaker.perObjectInterfaceGet(typeX)));
codeStream.ifnull(wrongType);
codeStream.iconst_1();
co... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | codeStream.goto_(leave);
noInstanceExists.place();
codeStream.iconst_0();
leave.place();
goneBang.placeEnd();
codeStream.ireturn();
goneBang.place();
codeStream.astore_1();
codeStream.iconst_0();
codeStream.ireturn();
}});
}
private void g... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | codeStream.ifnonnull(wrongType);
codeStream.aload_0();
codeStream.checkcast(interfaceType);
codeStream.new_(binding);
codeStream.dup();
codeStream.invokespecial(
new MethodBinding(0, "<init>".toCharArray(),
BaseTypes.VoidBinding, new TypeBinding[0],
new ReferenceBinding[0], bi... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | codeStream.aconst_null();
codeStream.invokevirtual(
new MethodBinding(
0,
"getDeclaredMethod".toCharArray(),
world.makeTypeBinding(UnresolvedType.forSignature("Ljava/lang/reflect/Method;")),
new TypeBinding[]{world.makeTypeBinding(UnresolvedType.forSignature("Ljava/la... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | codeStream.aconst_null();
codeStream.areturn();
}});
}
private void generatePerTypeWithinCreateAspectInstanceMethod(ClassFile classFile) {
final EclipseFactory world = EclipseFactory.fromScopeLookupEnvironment(this.scope);
generateMethod(classFile, AjcMemberMaker.perTypeWithinCreateAspectInstance(worl... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | /*
* if (ajc$perSingletonInstance == null)
* throw new NoAspectBoundException("A", ajc$initFailureCause);
* else
* return ajc$perSingletonInstance;
*/
FieldBinding fb = world.makeFieldBinding(AjcMemberMaker.perSingletonField(typeX));
codeStream.getstatic(fb); ... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | generateMethod(classFile, hasAspectMethod, new BodyGenerator() {
public void generate(CodeStream codeStream) {
codeStream.getstatic(world.makeFieldBinding(AjcMemberMaker.perSingletonField(
typeX)));
Label isNull = new Label(codeStream);
codeStream.ifnull(isNull);
codeStream.iconst_1();
... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | BaseTypes.VoidBinding, new TypeBinding[0],
new ReferenceBinding[0], binding));
codeStream.putstatic(
world.makeFieldBinding(
AjcMemberMaker.perSingletonField(
typeX)));
codeStream.return_();
}});
}
private void generateSuperAccessMethod(ClassFile classFile, final... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | generateInlineAccessMethod(classFile, (MethodBinding)binding, member);
}
}
private void generateInlineAccessors(ClassFile classFile, final InlineAccessFieldBinding accessField, final ResolvedMember field) {
final FieldBinding fieldBinding = factory.makeFieldBinding(field);
generateMethod(classFile, acc... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | codeStream.putstatic(fieldBinding);
} else {
codeStream.aload_0();
codeStream.load(fieldBinding.type, 1);
codeStream.putfield(fieldBinding);
}
codeStream.return_();
}});
}
private void generateInlineAccessMethod(ClassFile classFile, final MethodBinding accessMethod, final R... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | }
private PerClause.Kind lookupPerClauseKind(ReferenceBinding binding) {
PerClause perClause;
if (binding instanceof BinaryTypeBinding) {
ResolvedType superTypeX = factory.fromEclipse(binding);
perClause = superTypeX.getPerClause();
} else if (binding instanceof Sour... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | }
if (perClause == null) {
return lookupPerClauseKind(binding.superclass());
} else {
return perClause.getKind();
}
}
private void buildPerClause(ClassScope scope) {
EclipseFactory world = EclipseFactory.fromScopeLookupEnvironment(scope);
if (perClause == null... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | aspectOfMethod = AjcMemberMaker.perCflowAspectOfMethod(typeX);
hasAspectMethod = AjcMemberMaker.perCflowHasAspectMethod(typeX);
} else if (perClause.getKind() == PerClause.PEROBJECT) {
aspectOfMethod = AjcMemberMaker.perObjectAspectOfMethod(typeX);
hasAspectMethod = AjcMemberMaker.perObjectHasAspectMet... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | checkSpec(classScope);
if (ignoreFurtherInvestigation) return;
buildPerClause(scope);
if (methods != null) {
for (int i = 0; i < methods.length; i++) {
if (methods[i] instanceof InterTypeDeclaration) {
EclipseTypeMunger m = ((InterTypeDeclaration)methods[i]).build(classScope);
if (m != null) c... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java | printModifiers(this.declaredModifiers,output);
output.append("aspect " );
output.append(name);
if (superclass != null) {
output.append(" extends ");
superclass.print(0, output);
}
if (superInterfaces != null && superInterfaces.length > 0) {
output.append((kind() == IGenericType.INTERFACE_DECL) ? "... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | /*******************************************************************************
* Copyright (c) 2006 IBM
* 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
* http://w... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | public void testAtajInheritance_pr149305_1() { runTest("ataj inheritance - 1");}
public void testAtajInheritance_pr149305_2() { runTest("ataj inheritance - 2");}
public void testAtajInheritance_pr149305_3() { runTest("ataj inheritance - 3");}
/**
* Performs verification of a class - the supplied class is ... |
148,693 | Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier | null | resolved fixed | 82f217f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-05T08:22:55Z | 2006-06-26T16:40:00Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | vr = v.doPass3a(i);
System.err.println(vr);
assertTrue("Verification: "+vr,vr.getStatus()==VerificationResult.VERIFIED_OK);
System.err.println("Pass3b for "+ms[i]);
vr = v.doPass3b(i);
System.err.println(vr);
assertTrue("Verification: "+vr,vr.getStatus()==VerificationResult.VERIFIED_OK);
}
}
pro... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | /*******************************************************************************
* Copyright (c) 2006 IBM
* 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
* http://w... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | public void testIllegalStateException_pr148737() { runTest("illegalstateexception for non generic type");}
public void testAtajInheritance_pr149305_1() { runTest("ataj inheritance - 1");}
public void testAtajInheritance_pr149305_2() { runTest("ataj inheritance - 2");}
public void testAtajInheritance_pr149... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | /* *******************************************************************
* Copyright (c) 2002,2005 Contributors
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
*... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | * java.lang.reflect based delegates too).
*
* Every UnresolvedType has a signature, the unique key for the type in the world.
*
*
* TypeXs are fully aware of their complete type information (there is no
* erasure in the UnresolvedType world). To achieve this, the signature of TypeXs
* combines the basic Java... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | * TypeParamsOpt ClassSig<ParamSigList>;
*
* but with the L for the class sig replaced by "P". For example List<String> has
* signature
*
* Pjava/util/List<Ljava/lang/String>;
*
* and List<T> in the following class :
* class Foo<T> { List<T> lt; }
*
* has signature:
* <1:>Pjava/util/List<T1;>;
*
* A ty... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | */
public class UnresolvedType implements TypeVariableDeclaringElement {
public static final UnresolvedType[] NONE = new UnresolvedType[0];
public static final UnresolvedType OBJECT = forSignature("Ljava/lang/Object;");
public static final UnresolvedType OBJECTARRAY = forSignature("[Lja... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | protected String signature;
/**
* The erasure of the signature. Contains only the Java signature of the type
* with all supertype, superinterface, type variable, and parameter information
* removed.
*/
protected String signatureErasure;
/**
* Iff isParameterized(), then these are the t... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | private boolean isSuper = false;
private boolean isExtends = false;
/**
* Determines if this represents a primitive type. A primitive type
* is one of nine predefined resolved types.
*
* @return true iff this type represents a primitive type
*
* @see ResolvedType#Boolean
... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | public final boolean isArray() { return signature.startsWith("["); }
/**
* Equality is checked based on the underlying signature.
* {@link ResolvedType} objects' equals is by reference.
*/
public boolean equals(Object other) {
if (! (other instanceof UnresolvedType)) return false;
... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | * one of the UnresolvedType.forXXX static methods for normal creation of
* TypeXs.
* Picks apart the signature string to set the type kind and calculates the
* corresponding signatureErasure. A SIMPLE type created from a plain
* Java signature may turn into a GENERIC type when it is resolved.
*... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | this.signatureErasure = signatureErasure;
if (signature.charAt(0)=='-') isSuper = true;
if (signature.charAt(0)=='+') isExtends = true;
}
public UnresolvedType(String signature, String signatureErasure, UnresolvedType[] typeParams) {
this.signature = signature;
this.signatu... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | * Constructs a UnresolvedType for a java language type name. For example:
*
* <blockquote><pre>
* UnresolvedType.forName("java.lang.Thread[]")
* UnresolvedType.forName("int")
* </pre></blockquote>
*
* Types may equivalently be produced by this or by {@link #forSignature(String)}.... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | ret[i] = UnresolvedType.forName(names[i]);
}
return ret;
}
public static UnresolvedType forGenericType(String name,TypeVariable[] tvbs,String genericSig) {
String sig = nameToSignature(name);
UnresolvedType ret = UnresolvedType.forSignature(sig);
ret.typeKind=TypeKind.GENERIC;
ret.t... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | return ret;
}
public static UnresolvedType forGenericTypeVariables(String sig, TypeVariable[] tVars) {
UnresolvedType ret = UnresolvedType.forSignature(sig);
ret.typeKind=TypeKind.GENERIC;
ret.typeVariables = tVars;
ret.signatureErasure = sig;
ret.signature = ret.signatureErasu... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | }
/**
* Creates a new type array with a fresh type inserted at the beginning.
*
*
* @param start the left hand side of the new array
* @param types the right hand side of the new array
*/
public static UnresolvedType[] insert(UnresolvedType start, UnresolvedType[] types) {
int len = types.leng... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | *
* @param signature the JVM bytecode signature string for the desired type.
* @return a type object represnting that JVM bytecode signature.
*/
public static UnresolvedType forSignature(String signature) {
switch (signature.charAt(0)) {
case 'B': return ResolvedType.BY... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | * @see #forSignature(String)
*/
public static UnresolvedType[] forSignatures(String[] sigs) {
UnresolvedType[] ret = new UnresolvedType[sigs.length];
for (int i = 0, len = sigs.length; i < len; i++) {
ret[i] = UnresolvedType.forSignature(sigs[i]);
}
return ret;
}... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | sb.append(",");
}
sb.append(typeParameters[typeParameters.length -1].getSimpleName());
sb.append(">");
name = sb.toString();
}
return name;
}
public String getRawName() {
return signatureToName((signatureErasure==null?signature:signatureErasure));
}
public Stri... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | }
/**
* Returns an array of strings representing the java langauge names of
* an array of types.
*
* @param types an array of UnresolvedType objects
* @return an array of Strings fo the java language names of types.
* @see #getName()
*/
public static String[] getNames(Unresol... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | *
* @return the java JVM signature string for this type.
*/
public String getSignature() {
return signature;
}
/**
* For parameterized types, return the signature for the raw type
*/
public String getErasureSignature() {
if (signatureErasure==null) return signature;
return signatur... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | /**
* Get the upper bound for a generic wildcard
*/
public UnresolvedType getUpperBound() {
return upperBound;
}
/**
* Get the lower bound for a generic wildcard
*/
public UnresolvedType getLowerBound() {
return lowerBound;
}
/**
* Set the upper bound for a generic wildcard
*/
public void set... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | * for a name type. For all other types, this will return the type itself.
*
* The only guarantee is given in JLS 13.1 where code generated according to
* those rules will have type names that can be split apart in this way.
* @return the outermost enclosing UnresolvedType object or this.
*/
... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | * Returns a java language string representation of this type.
*/
public String toString() {
return getName();
}
public String toDebugString() {
return getName();
}
/**
* Returns a resolved version of this type according to a particular world.
*
* @param worl... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | String name = signature.substring(1, signature.length() - 1).replace('/', '.');
return name;
case 'T':
StringBuffer nameBuff2 = new StringBuffer();
int colon = signature.indexOf(";");
String tvarName = signature.substring(1,colon);
nameBuff2.append(tvarName);
... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | innerBuff = new StringBuffer();
}
}
nameBuff.append(">");
break;
case ';' : break;
default:
nameBuff.append(c);
}
}
return nameBuff.toString();
case 'S': return "short";
case 'V': return "void";
case 'Z': return "boolean"... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | if (name.equals("float")) return "F";
if (name.equals("int")) return "I";
if (name.equals("long")) return "J";
if (name.equals("short")) return "S";
if (name.equals("boolean")) return "Z";
if (name.equals("void")) return "V";
if (name.equals("?")) return name;
if ... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | StringBuffer innerBuff = new StringBuffer();
while(nestLevel > 0) {
c = name.charAt(++i);
if (c == '<') nestLevel++;
if (c == '>') nestLevel--;
if (c == ',' && nestLevel == 1) {
nameBuff.append(nameToSignature(innerBuff.toString()));
innerBuff = new StringBuffer();
... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | public void write(DataOutputStream s) throws IOException {
s.writeUTF(getSignature());
}
public static UnresolvedType read(DataInputStream s) throws IOException {
String sig = s.readUTF();
if (sig.equals(MISSING_NAME)) {
return ResolvedType.MISSING;
} else {
UnresolvedType ret = UnresolvedType.forSign... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | }
public String getNameAsIdentifier() {
return getName().replace('.', '_');
}
public String getPackageNameAsIdentifier() {
String name = getName();
int index = name.lastIndexOf('.');
if (index == -1) {
return "";
} else {
return name.substring(0, index).replace('.', '_');
}
}
public String ge... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | /**
* Doesn't include the package
*/
public String getClassName() {
String name = getName();
int index = name.lastIndexOf('.');
if (index == -1) {
return name;
} else {
return name.substring(index+1);
}
}
public TypeVariable[] getTypeVariables() {
return typeVariables;
}
public static cla... |
148,409 | Bug 148409 [generics] ClassCastException in UnresolvedType.java:348 | I am using AspectJ load time weaving with Spring 2.0 RC1 to inject my entities, and I am getting the following exception: java.lang.ClassCastException: org.aspectj.apache.bcel.classfile.Signature$TypeVariableSignature at org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(UnresolvedType.java:348) at org.aspectj.w... | resolved fixed | 369de87 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-06T12:12:07Z | 2006-06-23T16:26:40Z | weaver/src/org/aspectj/weaver/UnresolvedType.java | return type;
}
private TypeKind(String type) {
this.type = type;
}
private final String type;
}
/**
* Will return true if the type being represented is parameterized with a type variable
* from a generic method/ctor rather than a type variable from a generic type.
* Only subclasses know the an... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | /*******************************************************************************
* Copyright (c) 2006 IBM
* 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
* http://w... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | public void testGenericInheritanceDecp_pr150095() { runTest("generics, inheritance and decp");}
public void testIllegalStateException_pr148737() { runTest("illegalstateexception for non generic type");}
public void testAtajInheritance_pr149305_1() { runTest("ataj inheritance - 1");}
public void testAtajInheri... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.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... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | private String[] parameterNames = null;
protected UnresolvedType[] checkedExceptions = UnresolvedType.NONE;
/**
* if this member is a parameterized version of a member in a generic type, |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | * then this field holds a reference to the member we parameterize.
*/
protected ResolvedMember backingGenericMember = null;
protected Set annotationTypes = null;
private boolean isAnnotatedElsewhere = false;
private boolean isAjSynthetic = false;
protected TypeVariable[] type... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | public ResolvedMemberImpl(
Kind kind,
UnresolvedType declaringType,
int modifiers,
UnresolvedType returnType,
String name,
UnresolvedType[] parameterTypes,
UnresolvedType[] checkedExceptions)
{
super(kind, declaringType, modifiers, returnType, name, parameterTypes);
this.checkedExceptions = checkedE... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | public ResolvedMemberImpl(
Kind kind,
UnresolvedType declaringType,
int modifiers,
String name,
String signature)
{
super(kind, declaringType, modifiers, name, signature);
}
/**
* Compute the full set of signatures for a member. This walks up the hierarchy
* giving the ResolvedMember ... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | ResolvedType originalDeclaringType = joinPointSignature.getDeclaringType().resolve(inAWorld);
ResolvedMemberImpl firstDefiningMember = (ResolvedMemberImpl) joinPointSignature.resolve(inAWorld);
if (firstDefiningMember == null) {
return new JoinPointSignature[0];
}
ResolvedTy... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | accumulateMembersMatching(firstDefiningMember,superTypeIterator,typesAlreadyVisited,memberSignatures);
}
JoinPointSignature[] ret = new JoinPointSignature[memberSignatures.size()];
memberSignatures.toArray(ret);
return ret;
}
private static boolean shouldWalkUpHierarchyFor(Member ... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | }
/**
* We have a resolved member, possibly with type parameter references as parameters or return
* type. We need to find all its ancestor members. When doing this, a type parameter matches
* regardless of bounds (bounds can be narrowed down the hierarchy).
*/
private static void accum... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | accumulateMembersMatching(foundMember,toLookIn.getDirectSupertypes(),typesAlreadyVisited,foundMembers);
}
}
}
}
/**
* Returns true if the parent member is visible to the child member
* In the same declaring type this is always true, otherwise if parent is private
* it is false.
... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | public final UnresolvedType[] getExceptions(World world) {
return getExceptions();
}
public UnresolvedType[] getExceptions() {
return checkedExceptions;
}
public ShadowMunger getAssociatedShadowMunger() {
return null;
}
public boolean isAjSynthetic() {
... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | return annotationTypes.contains(ofType);
}
public ResolvedType[] getAnnotationTypes() {
if (annotationTypes == null) return null;
return (ResolvedType[])annotationTypes.toArray(new ResolvedType[]{});
}
public AnnotationX[] getAnnotations() {
if (backingGener... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | public boolean isBridgeMethod() {
return (modifiers & Constants.ACC_BRIDGE)!=0;
}
public boolean isVarargsMethod() {
return (modifiers & Constants.ACC_VARARGS)!=0;
}
public void setVarargsMethod() {
modifiers = modifiers | Constants.ACC_VARARGS;
}
public boolean isSynt... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | } else {
s.writeInt(typeVariables.length);
for (int i = 0; i < typeVariables.length; i++) {
typeVariables[i].write(s);
}
}
String gsig = getGenericSignature();
if (getSignature().equals(gsig)) {
s.writeBoolean(false);
} else {
s.writeBoolean(true);
s.writeInt(parameterTypes.length);
for... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | for (int i = 0; i < parameterTypes.length; i++) {
UnresolvedType array_element = parameterTypes[i];
sb.append(array_element.getSignature());
}
sb.append(")");
sb.append(returnType.getSignature());
return sb.toString();
}
public static void writeArray(ResolvedMember[] membe... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | if (isvarargs) m.setVarargsMethod();
}
int tvcount = s.readInt();
if (tvcount!=0) {
m.typeVariables = new TypeVariable[tvcount];
for (int i=0;i<tvcount;i++) {
m.typeVariables[i]=TypeVariable.read(s);
m.typeVariables[i].setDeclaringElement(m);
}
}
if (s.getMajorVersion()>=AjAttribute... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | ResolvedMember[] members = new ResolvedMember[len];
for (int i=0; i < len; i++) {
members[i] = ResolvedMemberImpl.readResolvedMember(s, context);
}
return members;
}
public ResolvedMember resolve(World world) {
try {
if (typeVariables!=null && typeVariables.length>0) {
for... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | for (int i = 0; i < parameterTypes.length; i++) {
parameterTypes[i] = parameterTypes[i].resolve(world);
}
}
returnType = returnType.resolve(world);
} finally {
world.setTypeVariableLookupScope(null);
}
return this;
}
public ISourceContext getSourceContext(World world) {
return getDe... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | public ISourceLocation getSourceLocation() {
if (getSourceContext() == null) {
return null;
}
return getSourceContext().makeSourceLocation(this);
}
public int getEnd() {
return end;
}
public ISourceContext getSourceContext() {
return sourceContext;
}
public int getSta... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | public boolean isAbstract() {
return Modifier.isAbstract(modifiers);
}
public boolean isPublic() {
return Modifier.isPublic(modifiers);
}
public boolean isProtected() {
return Modifier.isProtected(modifiers);
}
public boolean isNative() {
return Modifier.isNative(modifiers);
}
... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | return isAnnotatedElsewhere;
}
/**
* Get the UnresolvedType for the return type, taking generic signature into account
*/
public UnresolvedType getGenericReturnType() {
return getReturnType();
}
/**
* Get the TypeXs of the parameter types, taking generic signature into account
*/
public UnresolvedTy... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | */
public ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters,ResolvedType newDeclaringType, boolean isParameterized,List aliases) {
if (
!getDeclaringType().isGenericType()) {
throw new IllegalStateException("Can't ask to parameterize a member of non-generic type: "+getDeclaringType()+" kin... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | }
UnresolvedType parameterizedReturnType = parameterize(getGenericReturnType(),typeMap,isParameterized);
UnresolvedType[] parameterizedParameterTypes = new UnresolvedType[getGenericParameterTypes().length];
for (int i = 0; i < parameterizedParameterTypes.length; i++) {
parameterizedParameterTypes[i] =
... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | return typeVariables;
}
protected UnresolvedType parameterize(UnresolvedType aType, Map typeVariableMap, boolean inParameterizedType) {
if (aType instanceof TypeVariableReference) {
String variableName = ((TypeVariableReference)aType).getTypeVariable().getName();
if (!typeVariableMap.containsKey(variableNam... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | * If this member is defined by a parameterized super-type, return the erasure
* of that member.
* For example:
* interface I<T> { T foo(T aTea); }
* class C implements I<String> {
* String foo(String aString) { return "something"; }
* }
* The resolved member for C.foo has signature String foo(String). T... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | myErasure = matchingMember.backingGenericMember;
return myErasure;
}
}
}
}
return null;
}
private ResolvedMember myErasure = null;
private boolean calculatedMyErasure = false;
public boolean hasBackingGenericMember() {
return backingGenericMember!=null;
}
public ResolvedMember getBac... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | /**
* Returns a copy of this member but with the declaring type swapped.
* Copy only needs to be shallow.
* @param newDeclaringType
*/
public JoinPointSignature withSubstituteDeclaringType(ResolvedType newDeclaringType) {
JoinPointSignature ret = new JoinPointSignature(this,newDeclaringType);
return ret;
... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | return myParameterSignature.equals(candidateParameterSignature);
}
}
/** converts e.g. <T extends Number>.... List<T> to just Ljava/util/List<T;>;
* whereas the full signature would be Ljava/util/List<T:Ljava/lang/Number;>;
*/
private String myParameterSignatureWithBoundsRemoved = null;
/**
* converts e.... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | for (int i = 0; i < myParameterTypes.length; i++) {
UnresolvedType thisParameter = myParameterTypes[i];
if (thisParameter.isTypeVariableReference()) {
sig.append(thisParameter.getUpperBound().getSignature());
} else {
sig.append(thisParameter.getSignature());
}
}
myParameterSignatureErasure = si... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | * Useful for writing tests, returns *everything* we know about this member.
*/
public String toDebugString() {
StringBuffer r = new StringBuffer();
int mods = modifiers;
if ((mods & 4096)>0) mods = mods -4096;
if ((mods & 512)>0) mods = mods -512;
if ((mods & 131072)>0) mods = mod... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | r.append('.');
r.append(name);
if (kind != FIELD) {
r.append("(");
UnresolvedType[] params = getGenericParameterTypes();
boolean parameterNamesExist = showParameterNames && parameterNames!=null && parameterNames.length==params.length;
if (params.length != 0) {
... |
150,671 | Bug 150671 declare error on set of volatile field does not work | When an aspect has a declare error statement involving a pointcut that captures the setting of a volatile field, a compilation error is not produced. This bug can be reproduced as follows. Consider the following class: class A { private volatile int state; public void foo() { state = 0; } } Now consider this aspect: as... | resolved fixed | 357bbe9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-25T07:46:13Z | 2006-07-14T15:13:20Z | weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java | if (kind != FIELD) {
buf.append("(");
UnresolvedType[] params = getGenericParameterTypes();
if (params.length != 0) {
buf.append(params[0].getSimpleName());
for (int i=1, len = params.length; i < len; i++) {
buf.append(", ");
buf.append... |
151,182 | Bug 151182 NPE in BcelWeaver using LTW | Hi, I created a logging aspect for our application some time ago using 1.5.0 of AspectJ. I enabled this from time to time using Load Time Weaving. I have recently recompiled the aspect using 1.5.2 and tried to run it also using the 1.5.2 weaver jar, but it fails with a NullPointerException. This is part of one of the m... | resolved fixed | 397a19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-27T09:25:50Z | 2006-07-20T07:20:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.java | /*******************************************************************************
* Copyright (c) 2005 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
... |
151,182 | Bug 151182 NPE in BcelWeaver using LTW | Hi, I created a logging aspect for our application some time ago using 1.5.0 of AspectJ. I enabled this from time to time using Load Time Weaving. I have recently recompiled the aspect using 1.5.2 and tried to run it also using the 1.5.2 weaver jar, but it fails with a NullPointerException. This is part of one of the m... | resolved fixed | 397a19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-27T09:25:50Z | 2006-07-20T07:20:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.java | private IWeavingContext weavingContext;
private static Trace trace = TraceFactory.getTraceFactory().getTrace(Aj.class);
public Aj(){
this(null);
}
public Aj(IWeavingContext context){
if (trace.isTraceEnabled()) trace.enter("<init>",this,new Object[] {context});
this.weavingContext = context;
if (tra... |
151,182 | Bug 151182 NPE in BcelWeaver using LTW | Hi, I created a logging aspect for our application some time ago using 1.5.0 of AspectJ. I enabled this from time to time using Load Time Weaving. I have recently recompiled the aspect using 1.5.2 and tried to run it also using the 1.5.2 weaver jar, but it fails with a NullPointerException. This is part of one of the m... | resolved fixed | 397a19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-27T09:25:50Z | 2006-07-20T07:20:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.java | public byte[] preProcess(String className, byte[] bytes, ClassLoader loader) {
if (trace.isTraceEnabled()) trace.enter("preProcess",this,new Object[] {className,bytes,loader});
if (loader == null || className == null) {
if (trace.isTraceEnabled()) trace.exit("preProcess",byte... |
151,182 | Bug 151182 NPE in BcelWeaver using LTW | Hi, I created a logging aspect for our application some time ago using 1.5.0 of AspectJ. I enabled this from time to time using Load Time Weaving. I have recently recompiled the aspect using 1.5.2 and tried to run it also using the 1.5.2 weaver jar, but it fails with a NullPointerException. This is part of one of the m... | resolved fixed | 397a19d | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-07-27T09:25:50Z | 2006-07-20T07:20:00Z | loadtime/src/org/aspectj/weaver/loadtime/Aj.java | private static Map weavingAdaptors = new WeakHashMap();
static WeavingAdaptor getWeaver(ClassLoader loader, IWeavingContext weavingContext) {
ExplicitlyInitializedClassLoaderWeavingAdaptor adaptor = null;
synchronized(weavingAdaptors) {
adaptor = (ExplicitlyInitializedCla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.