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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testCantProvideDefaultImplViaITD_pr110307_5() {runTest("Cant provide default implementation via ITD - 5");}
public void testCantProvideDefaultImplViaITD_pr110307_7() {runTest("Cant provide default implementation via ITD - 7");}
public void testCallJoinPointsInAnonymousInnerClasses() {
... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | IHierarchy top = AsmManager.getDefault().getHierarchy();
IProgramElement anonRunMethodIPE = top.findElementForLabel(top.getRoot(),
IProgramElement.Kind.METHOD,"run()");
assertNotNull("Couldn't find 'run()' element in the tree",anonRunMethodIPE);
List l = AsmManager... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
}
targets = rel.getTargets();
assertTrue("Should have one target but has" + targets.size(),
targets.size()==1);
target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0));
assertEquals("target of relationship should be 'run()' but is "
+ target.to... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | + target.toLabelString(),"before(): p..",target.toLabelString());
IProgramElement adviceIPE = top.findElementForLabel(top.getRoot(),
IProgramElement.Kind.ADVICE,"before(): p..");
assertNotNull("Couldn't find 'before(): p..' element in the tree",adviceIPE);
l = AsmManager.getDefault().ge... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | assertNotNull("Couldn't find 'method-call(void pack.Test.someMethod())' element in the tree",pe);
}
public void testVarArgsIITDInConstructor() {
runTest("ITD varargs in constructor");
}
public void testWeaveInfoMessageForDeclareAtMethodOnITDdMethod() {
runTest("weaveinfo message for declare at meth... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testNoVerifyErrorWithTwoThisPCDs_pr113447() {
runTest("no verify error with two this pcds");
}
public void testNoVerifyErrorWithTwoAtThisPCDs_pr113447() {
runTest("no verify error with two at this pcds");
}
public void testNoVerifyErrorWithAtWithinPCDs_pr113447() {
runTest("no verify err... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testNPEInThisJoinPointStaticPart() {
runTest("thisJoinPointStaticPart in if test");
}
public void testPointcutParsingOfCompiledPointcuts() {
runTest("pointcut parsing with ajc compiled pointcut references");
}
public void testReflectionOfAbstractITDs() {
runTest("reflection on abstra... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testXlintMessageForImproperAnnotationType_pr115252_AND() {runTest("xlint message for improper annotation type inside AND");}
public void testXlintMessageForImproperAnnotationType_pr115252_Return() {runTest("xlint message for improper annotated return type");}
public void testXlintMessageForImproperAnn... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Common Public License v1.0
* which accompanies this distrib... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | import org.aspectj.apache.bcel.generic.InstructionList;
import org.aspectj.apache.bcel.generic.Type;
import org.aspectj.apache.bcel.generic.annotation.AnnotationGen;
import org.aspectj.bridge.IMessage;
import org.aspectj.bridge.ISourceLocation;
import org.aspectj.bridge.Message;
import org.aspectj.bridge.MessageUtil;
i... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | import org.aspectj.weaver.UnresolvedType;
import org.aspectj.weaver.WeaverMessages;
import org.aspectj.weaver.WeaverStateInfo;
import org.aspectj.weaver.World;
import org.aspectj.weaver.patterns.DeclareAnnotation;
import org.aspectj.weaver.patterns.Pointcut;
public class BcelTypeMunger extends ConcreteTypeMunger {
pub... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | worthReporting = false;
} else if (munger.getKind() == ResolvedTypeMunger.PrivilegedAccess) {
changed = mungePrivilegedAccess(weaver, (PrivilegedAccessMunger)munger);
worthReporting = false;
} else if (munger.getKind() == ResolvedTypeMunger.Constructor) {
changed = mungeNewConstructor(weaver, (NewConstruct... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | String tName = weaver.getLazyClassGen().getType().getSourceLocation().getSourceFile().getName();
if (tName.indexOf("no debug info available")!=-1) tName = "no debug info available";
else tName = getShortname(weaver.getLazyClassGen().getType().getSourceLocation().getSourceFile().getPath());
String fName = getSh... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
}
CompilationAndWeavingContext.leavingPhase(tok);
return changed;
}
private String getShortname(String path) {
int takefrom = path.lastIndexOf('/');
if (takefrom == -1) {
takefrom = path.lastIndexOf('\\');
}
return path.substring(takefrom+1);
}
private boolean mungeNewAnnotationOnType(Bcel... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | List methods = newParent.getMethodsWithoutIterator(false,true);
for (Iterator iter = methods.iterator(); iter.hasNext();) {
ResolvedMember superMethod = (ResolvedMember) iter.next();
if (!superMethod.getName().equals("<init>")) {
LazyMethodGen subMethod = findMatchingMethod(newParentTar... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | List methods = newParent.getMethodsWithoutIterator(false,true);
for (Iterator i = methods.iterator(); i.hasNext();) {
ResolvedMember o = (ResolvedMember)i.next();
if (o.isAbstract() && !o.getName().startsWith("ajc$interField")) {
ResolvedMember discovered... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | .matches(
AjcMemberMaker.interMethod(
sig,m.getAspectType(),sig.getDeclaringType().resolve(weaver.getWorld()).isInterface()),o)) {
satisfiedByITD = true;
... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | newParentTarget.getType().getSourceLocation(),
new ISourceLocation[]{mungerLoc});
return false;
}
return true;
}
/**
* Rule 3. Can't narrow visibility of methods when overriding
*/
private boolean enforceDecpRule3_visibilityChanges(BcelClassWeaver weaver, ResolvedType n... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | cont=false;
}
}
return cont;
}
/**
* Rule 4. Can't have incompatible return types
*/
private boolean enforceDecpRule4_compatibleReturnTypes(BcelClassWeaver weaver, ResolvedMember superMethod, LazyMethodGen subMethod) {
boolean cont = true;
String superReturnTypeSig = ... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | * method static or override and make a static method an instance method.
*/
private boolean enforceDecpRule5_cantChangeFromStaticToNonstatic(BcelClassWeaver weaver,ISourceLocation mungerLoc,ResolvedMember superMethod, LazyMethodGen subMethod ) {
if (superMethod.isStatic() && !subMethod.isStatic())... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
}
return found;
}
/**
* The main part of implementing declare parents extends. Modify super ctor calls to target the new type.
*/
public boolean attemptToModifySuperCalls(BcelClassWeaver weaver,LazyClassGen newParentTarget, ResolvedType newParent) {
String currentParent = newParen... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | boolean satisfiedByITDC = false;
for (Iterator ii = newParentTarget.getType().getInterTypeMungersIncludingSupers().iterator(); ii.hasNext() && !satisfiedByITDC; ) {
ConcreteTypeMunger m = (ConcreteTypeMunger)ii.next();
... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
/**
* Creates a nice signature for the ctor, something like "(int,Integer,String)"
*/
private String createReadableCtorSig(ResolvedType newParent, ConstantPoolGen cpg, INVOKESPECIAL invokeSpecial) {
StringBuffer sb = new StringBuffer();
Type[] ctorArgs = invokeSpecial.getArgumentTypes(cpg);
sb.... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | private boolean mungePrivilegedAccess(
BcelClassWeaver weaver,
PrivilegedAccessMunger munger)
{
LazyClassGen gen = weaver.getLazyClassGen();
ResolvedMember member = munger.getMember();
ResolvedType onType = weaver.getWorld().resolve(member.getDeclaringType(),munger.getSourceLocation());
if (onType.isRaw... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | m.forcePublic();
}
}
return true;
} else if (member.getKind() == Member.STATIC_INITIALIZATION) {
gen.forcePublic();
return true;
} else {
throw new RuntimeException("unimplemented");
}
}
return false;
}
private void addFieldGetter(
LazyClassGen gen,
ResolvedMember... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | il.append(fact.createFieldAccess(
gen.getClassName(),
field.getName(),
BcelWorld.makeBcelType(field.getType()), Constants.GETFIELD));
}
il.append(InstructionFactory.createReturn(BcelWorld.makeBcelType(field.getType())));
mg.getBody().insert(il);
gen.addMethodGen(mg,getSignature().getSourceLoca... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | il.append(fact.createFieldAccess(
gen.getClassName(),
field.getName(),
fieldType, Constants.PUTFIELD));
}
il.append(InstructionFactory.createReturn(Type.VOID));
mg.getBody().insert(il);
gen.addMethodGen(mg,getSignature().getSourceLocation());
}
private void addMethodDispatch(
LazyClassGe... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | il.append(InstructionFactory.createLoad(paramType, pos));
pos+=paramType.getSize();
}
il.append(Utility.createInvoke(fact, (BcelWorld)aspectType.getWorld(),
method));
il.append(InstructionFactory.createReturn(BcelWorld.makeBcelType(method.getReturnType())));
mg.getBody().insert(il);
gen.addMethod... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | gen.getConstantPoolGen());
}
private boolean mungePerObjectInterface(
BcelClassWeaver weaver,
PerObjectInterfaceTypeMunger munger)
{
LazyClassGen gen = weaver.getLazyClassGen();
if (couldMatch(gen.getBcelObjectType(), munger.getTestPointcut())) {
FieldGen fg = makeFieldGen(gen,
AjcMemberMaker... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | il.append(InstructionFactory.createReturn(fieldType));
mg.getBody().insert(il);
gen.addMethodGen(mg);
LazyMethodGen mg1 = new LazyMethodGen(
Modifier.PUBLIC,
Type.VOID,
NameMangler.perObjectInterfaceSet(aspectType),
new Type[]{fieldType,}, new String[0],
gen);
InstructionLi... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | private boolean mungePerTypeWithinTransformer(BcelClassWeaver weaver) {
LazyClassGen gen = weaver.getLazyClassGen();
FieldGen fg = makeFieldGen(gen, AjcMemberMaker.perTypeWithinField(gen.getType(), aspectType));
gen.addField(fg.getField(),getSourceLocation());
T... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
private boolean couldMatch(
BcelObjectType bcelObjectType,
Pointcut pointcut) {
return !bcelObjectType.isInterface();
}
private boolean mungeNewMethod(BcelClassWeaver weaver, NewMethodTypeMunger munger) {
World w = weaver.getWorld();
ResolvedMember unMangledInterMethod = munger.getSignature().reso... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (onType.isEnum()) {
signalError(WeaverMessages.ITDM_ON_ENUM_NOT_ALLOWED,weaver,onType);
return false;
}
if (onInterface && gen.getLazyMethodGen(unMangledInterMethod.getName(), unMangledInterMethod.getSignature(),true) != null) {
return false;
}
if (onType.equals(gen.getType())) {... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (aspectType.isRawType()) toLookOn = aspectType.getGenericType();
ResolvedMember realMember = getRealMemberForITDFromAspect(toLookOn,memberHoldingAnyAnnotations,false);
if (realMember==null) throw new BCException("Couldn't find ITD holder member '"+
memberHoldingAnyAnnotations+"' on aspect "+aspectType)... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | int pos = 0;
if (!unMangledInterMethod.isStatic()) {
body.append(InstructionFactory.createThis());
pos++;
}
Type[] paramTypes = BcelWorld.makeBcelTypes(mangledInterMethod.getParameterTypes());
for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | addNeededSuperCallMethods(weaver, onType, munger.getSuperMethodsCalled());
return true;
} else if (onInterface && !Modifier.isAbstract(unMangledInterMethod.getModifiers())) {
if (!gen.getType().isTopmostImplementor(onType)) {
ResolvedType rtx = gen.getType().getTopmostImp... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | mg.setAccessFlags(Modifier.PUBLIC | Modifier.ABSTRACT);
}
Type[] paramTypes = BcelWorld.makeBcelTypes(mangledInterMethod.getParameterTypes());
Type returnType = BcelWorld.makeBcelType(mangledInterMethod.getReturnType());
InstructionList body = mg.getBody();
InstructionFactory fact = ... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | addNeededSuperCallMethods(weaver, onType, munger.getSuperMethodsCalled());
if (munger.getDeclaredSignature()!=null) {
boolean needsbridging = false;
ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null,munger.getSignature().getDeclaringType().resolve(getWorld()),false,... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (!bridgingSetter.getParameterTypes()[i].getErasureSignature().equals(unMangledInterMethod.getParameterTypes()[i].getErasureSignature()) ) {
body.append(fact.createCast(paramType,bridgingToParms[i]));
}
pos+=paramType.getSize();
}
body.append(Utility.createInvoke(fact, weaver... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | */
private void createAnyBridgeMethodsForCovariance(BcelClassWeaver weaver, NewMethodTypeMunger munger, ResolvedMember unMangledInterMethod, ResolvedType onType, LazyClassGen gen, Type[] paramTypes) {
ResolvedType superclass = onType.getSuperclass();
boolean quitRightNow = false;
String localMe... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (!aMethod.getReturnType().getErasureSignature().equals(localReturnTypeESig) && !Modifier.isPrivate(aMethod.getModifiers())) {
createBridgeMethod(weaver.getWorld(), munger, unMangledInterMethod, gen, paramTypes, aMethod);
quitRightNow = true;
}
}
}
}
}
/**
* Create a bridge method... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | fact = clazz.getFactory();
if (!unMangledInterMethod.isStatic()) {
body.append(InstructionFactory.createThis());
pos++;
}
for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
body.append(InstructionFactory.createLoad(paramType, pos));
pos+=paramType.getSiz... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | BcelWorld.makeBcelTypes(introduced.getParameterTypes()),
BcelWorld.makeBcelTypesAsClassNames(introduced.getExceptions()),
gen
);
if (weaver.getWorld().isInJava5Mode()){
AnnotationX annotationsOnRealMember[] = null;
... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | int pos = 0;
Type[] paramTypes = BcelWorld.makeBcelTypes(introduced.getParameterTypes());
for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
body.append(InstructionFactory.createLoad(paramType, pos));
pos+=para... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedMember realMember = null;
for (int i = 0; realMember==null && i < aspectMethods.length; i++) {
ResolvedMember member = aspectMethods[i];
if (member.getName().equals(lookingFor.getName())){
UnresolvedType [] memberParams = member.getGenericParameterTypes();
if (memberParams.length == lookingForPa... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
}
}
if (matchOK) realMember = member;
}
}
}
if (debug && realMember==null) System.err.println("Didn't find a match");
return realMember;
}
private void addNeededSuperCallMethods(
BcelClassWeaver weaver,
ResolvedType onType,
Set neededSuperCalls)
{
LazyClassGen gen = weaver.get... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | superMethod.getName());
LazyMethodGen dispatcher =
makeDispatcher(
gen,
dispatchName,
superMethod,
weaver.getWorld(),
isSuper);
weaver.addLazyMethodGen(dispatcher);
}
}
}
private void signalError(String msgid,BcelClassWeaver weaver,UnresolvedType onType) {
IMessage ms... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | return false;
}
if (onType.isEnum()) {
signalError(WeaverMessages.ITDC_ON_ENUM_NOT_ALLOWED,weaver,onType);
return false;
}
if (! onType.equals(currentClass.getType())) return false;
ResolvedMember explicitConstructor = newConstructorTypeMunger.getExplicitConstructor();
LazyMethodGen mg =
... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | mg.addAnnotation(new AnnotationX(ag.getAnnotation(),weaver.getWorld()));
}
}
List allDecams = weaver.getWorld().getDeclareAnnotationOnMethods();
for (Iterator i = allDecams.iterator(); i.hasNext();){
DeclareAnnotation decaMC = (DeclareAnnotation) i.next();
if (decaMC.matches(explicitCo... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | Member preMethod =
AjcMemberMaker.preIntroducedConstructor(aspectType, onType, declaredParams);
body.append(Utility.createInvoke(fact, null, preMethod));
int arraySlot = mg.allocateLocal(1);
body.append(InstructionFactory.createStore(Type.OBJECT, arraySlot));
body.append(InstructionConstants.ALOA... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | body.append(InstructionConstants.ALOAD_0);
Member postMethod =
AjcMemberMaker.postIntroducedConstructor(aspectType, onType, declaredParams);
UnresolvedType[] postParamTypes = postMethod.getParameterTypes();
for (int i = 1, len = postParamTypes.length; i < len; i++) {
body.append(InstructionFactory.... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | BcelWorld world,
boolean isSuper)
{
Type[] paramTypes = BcelWorld.makeBcelTypes(superMethod.getParameterTypes());
Type returnType = BcelWorld.makeBcelType(superMethod.getReturnType());
int modifiers = Modifier.PUBLIC;
if (onGen.isInterface()) modifiers |= Modifier.ABSTRACT;
LazyMethodGen mg =
... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | pos+=paramType.getSize();
}
if (isSuper) {
body.append(Utility.createSuperInvoke(fact, world, superMethod));
} else {
body.append(Utility.createInvoke(fact, world, superMethod));
}
body.append(InstructionFactory.createReturn(returnType));
return mg;
}
private boolean mungeNewField(BcelClassWeaver... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedMember interMethodBody = munger.getInitMethod(aspectType);
AnnotationX annotationsOnRealMember[] = null;
if (weaver.getWorld().isInJava5Mode()){
ResolvedType toLookOn = aspectType;
if (aspectType.isRawType()) toLookOn = aspectType.getGenericType();
ResolvedMember realMembe... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (annotationsOnRealMember!=null) {
for (int i = 0; i < annotationsOnRealMember.length; i++) {
AnnotationX annotationX = annotationsOnRealMember[i];
Annotation a = annotationX.getBcelAnnotation();
AnnotationGen ag = new AnnotationGen(a,weaver.getLazyClassGen().getConstantPoolGen(),true);
... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | }
}
gen.addField(fg.getField(),getSourceLocation());
ResolvedMember itdfieldGetter = AjcMemberMaker.interFieldInterfaceGetter(field, gen.getType(), aspectType);
LazyMethodGen mg = makeMethodGen(gen, itdfieldGetter);
InstructionList il = new InstructionList();
Instruct... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null,munger.getSignature().getDeclaringType().resolve(getWorld()),false,munger.getTypeVariableAliases());
boolean needsbridging = false;
if (!toBridgeTo.getReturnType().getErasureSignature().equals(munger.getSignature().getReturnType().... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | if (munger.getDeclaredSignature()!=null) {
ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null,munger.getSignature().getDeclaringType().resolve(getWorld()),false,munger.getTypeVariableAliases());
boolean needsbridging = false;
if (!toBridgeTo.getReturnType().getErasureSignatu... |
117,681 | Bug 117681 VerifyError when using annotations to define inter-type annotation | Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)... | resolved fixed | 11ab99f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T12:54:02Z | 2005-11-23T10:00:00Z | weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java | for (int i = 0, len = paramTypes.length; i < len; i++) {
Type paramType = paramTypes[i];
body.append(InstructionFactory.createLoad(paramType, pos));
if (!bridgingSetter.getParameterTypes()[i].getErasureSignature().equals(itdfieldSetter.getParameterTypes()[i].getErasureSignature()) ) {
System.err.print... |
116,254 | Bug 116254 AjTypeSystem interface cannot be used in LTW environment | null | resolved fixed | 81e6b60 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T13:14:22Z | 2005-11-14T17:40:00Z | aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/DeclareSoftImpl.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
* htt... |
116,254 | Bug 116254 AjTypeSystem interface cannot be used in LTW environment | null | resolved fixed | 81e6b60 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T13:14:22Z | 2005-11-14T17:40:00Z | aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/DeclareSoftImpl.java | private AjType<?> declaringType;
private PointcutExpression pointcut;
private AjType<?> exceptionType;
private String missingTypeName;
public DeclareSoftImpl(AjType declaringType, String pcut, String exceptionTypeName) {
this.declaringType = declaringType;
this.pointcut = new PointcutExpressionImpl(pcut);
... |
116,254 | Bug 116254 AjTypeSystem interface cannot be used in LTW environment | null | resolved fixed | 81e6b60 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T13:14:22Z | 2005-11-14T17:40:00Z | aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/DeclareSoftImpl.java | public AjType getDeclaringType() {
return this.declaringType;
}
/* (non-Javadoc)
* @see org.aspectj.lang.reflect.DeclareSoft#getSoftenedExceptionType()
*/
public AjType getSoftenedExceptionType() throws ClassNotFoundException {
if (this.missingTypeName != null) throw new ClassNotFoundException(this.missingTy... |
116,254 | Bug 116254 AjTypeSystem interface cannot be used in LTW environment | null | resolved fixed | 81e6b60 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T13:14:22Z | 2005-11-14T17:40:00Z | aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/StringToType.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
* htt... |
116,254 | Bug 116254 AjTypeSystem interface cannot be used in LTW environment | null | resolved fixed | 81e6b60 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T13:14:22Z | 2005-11-14T17:40:00Z | aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/StringToType.java | public static Type[] commaSeparatedListToTypeArray(String typeNames, Class classScope)
throws ClassNotFoundException {
StringTokenizer strTok = new StringTokenizer(typeNames,",");
Type[] ret = new Type[strTok.countTokens()];
int index = 0;
outer: while (strTok.hasMoreTokens()) {
String typeName = strTok.ne... |
116,254 | Bug 116254 AjTypeSystem interface cannot be used in LTW environment | null | resolved fixed | 81e6b60 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T13:14:22Z | 2005-11-14T17:40:00Z | aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/StringToType.java | if (tVars[i].getName().equals(typeName)) {
return tVars[i];
}
}
throw new ClassNotFoundException(typeName);
}
}
private static Type makeParameterizedType(String typeName, Class classScope)
throws ClassNotFoundException {
int paramStart = typeName.indexOf('<');
String baseName = typeName.subst... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | /*******************************************************************************
* Copyright (c) 2004 IBM
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://ww... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | import org.aspectj.apache.bcel.classfile.JavaClass;
import org.aspectj.apache.bcel.classfile.Method;
import org.aspectj.apache.bcel.classfile.Signature;
import org.aspectj.apache.bcel.util.ClassPath;
import org.aspectj.apache.bcel.util.SyntheticRepository;
import org.aspectj.asm.AsmManager;
import org.aspectj.asm.IHier... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testClassFormatError_pr114436() { runTest("ClassFormatError binary weaving perthis");}
public void testParserException_pr115788() { runTest("parser exception");}
public void testPossibleStaticImports_pr113066_1() { runTest("possible static imports bug - 1");}
public void testPossibleStaticImports_pr11... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testFieldGetProblemWithGenericField_pr113861() {runTest("field-get problems with generic field");}
public void testDeclareAnnotationOnNonExistentType_pr99191_1() { runTest("declare annotation on non existent type - 1");}
public void testDeclareAnnotationOnNonExistentType_pr99191_2() { runTest("declare a... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | runTest("Various kinds of ambiguous bindings");
}
public void test_ambiguousArgsDetection() {
runTest("ambiguous args");
}
public void testIncorrectExceptionTableWhenBreakInMethod_pr78021() {
runTest("Injecting exception into while loop with break statement causes catch block to be ignored");
}
... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | runTest("compiler error when mixing inheritance, overriding and polymorphism");
}
public void testPerTypeWithin_pr106554() {runTest("Problem in staticinitialization with pertypewithin aspect");}
public void testPerTypeWithinMissesNamedInnerTypes() {
runTest("pertypewithin() handing of inner classes (1)")... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
}
public void npeOnTypeNotFound() {
runTest("structure model npe on type not found");
}
public void testNoRuntimeExceptionSoftening() {
runTest("declare soft of runtime exception");
}
public void testRuntimeNoSoftenWithHandler() {
runTest("declare soft w. catch block");
}
public vo... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testPTWInterface() {
runTest("pertypewithin({interface}) illegal field modifier");
}
public void testEnumCalledEnumEtc() {
runTest("enum called Enum, annotation called Annotation, etc");
}
public void testInternalCompilerError_pr86832() {
runTest("Internal compiler error");
}
p... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testItdGenerics_pr99228() {runTest("ITD of a field into a generic class");}
public void testItdGenerics_pr98320() {runTest("intertype with nested generic type");}
public void testItdGenerics_pr100227() {runTest("inner class with generic enclosing class");}
public void testItdGenerics_pr100260() {run... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | runTest("intermediate annotation matching");
}
public void testBadRuntimeTestGeneration() {
runTest("target(@Foo *)");
}
public void testErrorMessageOnITDWithTypePatterns() {
runTest("clear error message on itd with type pattern");
}
public void testAjKeywordsAsIdentifiers() {
runTest("bef... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testAtSuppressWarnings() {
runTest("@SuppressWarnings should suppress");
}
public void testDEOWWithBindingPointcut() {
runTest("declare warning : foo(str) : ...;");
}
public void testAroundAdviceAndInterfaceInitializer() {
runTest("around advice on interface initializer");
}
pu... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testAnonymousInnerClassWithMethodReturningTypeParameter_pr107898() {
runTest("anonymous inner class with method returning type parameter");
}
public void testMatchingOfObjectArray() {
runTest("matching against Object[]");
}
public void testMultipleAnonymousInnerClasses_pr108104() ... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testParameterizedVarArgsMatch() {
runTest("varargs with type variable");
}
public void testFieldAccessInsideITDM() {
runTest("itd field access inside itd method");
}
public void testTypeVarWithTypeVarBound() {
runTest("type variable with type variable bound");
}
public void testEn... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testVisibiltyInSignatureMatchingWithOverridesPart1() {
runTest("visibility in signature matching with overrides - 1");
}
public void testVisibiltyInSignatureMatchingWithOverridesPart2() {
runTest("visibility in signature matching with overrides - 2");
}
public void testVisibiltyInSignatureMatc... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testOverrideAndCovarianceWithDecPRuntimeMultiFiles() {
runTest("override and covariance with decp - runtime separate files");
}
public void testOverrideAndCovarianceWithDecPRuntimeMultiFilesBinaryWeaving() {
runTest("override and covariance with decp - binary weaving");
}
public void testAb... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testAdviceOnCflow() {
runTest("advising cflow advice execution");
}
public void testNoTypeMismatchOnSameGenericTypes() {
runTest("no type mismatch on generic types in itds");
}
public void testSuperCallInITD() {
runTest("super call in ITD");
}
public void testSuperCallInITDPar... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testNoVerifyErrorOnGenericCollectionMemberAccess() {
runTest("no verify error on generic collection member access");
}
public void testRawAndGenericTypeConversionITDCons() {
runTest("raw and generic type conversion with itd cons");
}
public void testAtAnnotationBindingWithAround() {
... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testCantProvideDefaultImplViaITD_pr110307_5() {runTest("Cant provide default implementation via ITD - 5");}
public void testCantProvideDefaultImplViaITD_pr110307_7() {runTest("Cant provide default implementation via ITD - 7");}
public void testCallJoinPointsInAnonymousInnerClasses() {
... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | IHierarchy top = AsmManager.getDefault().getHierarchy();
IProgramElement anonRunMethodIPE = top.findElementForLabel(top.getRoot(),
IProgramElement.Kind.METHOD,"run()");
assertNotNull("Couldn't find 'run()' element in the tree",anonRunMethodIPE);
List l = AsmManager... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
}
targets = rel.getTargets();
assertTrue("Should have one target but has" + targets.size(),
targets.size()==1);
target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0));
assertEquals("target of relationship should be 'run()' but is "
+ target.to... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | + target.toLabelString(),"before(): p..",target.toLabelString());
IProgramElement adviceIPE = top.findElementForLabel(top.getRoot(),
IProgramElement.Kind.ADVICE,"before(): p..");
assertNotNull("Couldn't find 'before(): p..' element in the tree",adviceIPE);
l = AsmManager.getDefault().ge... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | assertNotNull("Couldn't find 'method-call(void pack.Test.someMethod())' element in the tree",pe);
}
public void testVarArgsIITDInConstructor() {
runTest("ITD varargs in constructor");
}
public void testWeaveInfoMessageForDeclareAtMethodOnITDdMethod() {
runTest("weaveinfo message for declare at meth... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testNoVerifyErrorWithTwoThisPCDs_pr113447() {
runTest("no verify error with two this pcds");
}
public void testNoVerifyErrorWithTwoAtThisPCDs_pr113447() {
runTest("no verify error with two at this pcds");
}
public void testNoVerifyErrorWithAtWithinPCDs_pr113447() {
runTest("no verify err... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | }
public void testNPEInThisJoinPointStaticPart() {
runTest("thisJoinPointStaticPart in if test");
}
public void testPointcutParsingOfCompiledPointcuts() {
runTest("pointcut parsing with ajc compiled pointcut references");
}
public void testReflectionOfAbstractITDs() {
runTest("reflection on abstra... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testXlintMessageForImproperAnnotationType_pr115252_AND() {runTest("xlint message for improper annotation type inside AND");}
public void testXlintMessageForImproperAnnotationType_pr115252_Return() {runTest("xlint message for improper annotated return type");}
public void testXlintMessageForImproperAnn... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | weaver/src/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.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 ... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | weaver/src/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java | private final static TypePattern MAYBE = new TypePatternMayBe();
private final boolean m_isTarget;
private final ResolvedType m_fromAspectType;
public PerThisOrTargetPointcutVisitor(boolean isTarget, ResolvedType fromAspectType) {
m_isTarget = isTarget;
m_fromAspectType = fromAspectType;
... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | weaver/src/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java | } else {
return node.getTypePattern();
}
}
public Object visit(WithincodePointcut node, Object data) {
if (m_isTarget) {
return MAYBE;
} else {
return node.getSignature().getDeclaringType();
}
}
public Object v... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | weaver/src/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java | } else if (node.getKind().equals(Shadow.ConstructorExecution)
|| node.getKind().equals(Shadow.Initialization)
|| node.getKind().equals(Shadow.MethodExecution)
|| node.getKind().equals(Shadow.PreInitialization)
|| node.getKind().equals(Shado... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | weaver/src/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java | return MAYBE;
}
return new NotTypePattern(negated);
}
public Object visit(ThisOrTargetAnnotationPointcut node, Object data) {
if (m_isTarget && !node.isThis()) {
return node.getAnnotationTypePattern();
} else if (!m_isTarget && node.isThis()) {
return node... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | weaver/src/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java | } else {
return MAYBE;
}
}
public Object visit(ReferencePointcut node, Object data) {
ResolvedPointcutDefinition pointcutDec;
ResolvedType searchStart = m_fromAspectType;
if (node.onType != null) {
searchStart = node... |
114,054 | Bug 114054 NPE in CContentOutlinePage.createContentProvider() | CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null. | resolved fixed | a4caeb9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T16:20:19Z | 2005-10-28T03:26:40Z | weaver/src/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java | public Object visit(ConcreteCflowPointcut node, Object data) {
return MAYBE;
}
public Object visit(ArgsPointcut node, Object data) {
return MAYBE;
}
public Object visit(ArgsAnnotationPointcut node, Object data) {
return MAYBE;
}
public Object visit(AnnotationPointcut node... |
114,495 | Bug 114495 unqualified superaspect<T> pointcut sortafunny in subaspect | null | resolved fixed | 86880f7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T19:21:03Z | 2005-11-01T10:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | /*******************************************************************************
* Copyright (c) 2004 IBM
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://ww... |
114,495 | Bug 114495 unqualified superaspect<T> pointcut sortafunny in subaspect | null | resolved fixed | 86880f7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T19:21:03Z | 2005-11-01T10:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | import org.aspectj.apache.bcel.util.SyntheticRepository;
import org.aspectj.asm.AsmManager;
import org.aspectj.asm.IHierarchy;
import org.aspectj.asm.IProgramElement;
import org.aspectj.asm.IRelationship;
import org.aspectj.asm.internal.Relationship;
import org.aspectj.testing.XMLBasedAjcTestCase;
import org.aspectj.ut... |
114,495 | Bug 114495 unqualified superaspect<T> pointcut sortafunny in subaspect | null | resolved fixed | 86880f7 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2005-11-23T19:21:03Z | 2005-11-01T10:13:20Z | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | public void testPossibleStaticImports_pr113066_3() { runTest("possible static imports bug - 3");}
public void testITDCtor_pr112783() { runTest("Problem with constructor ITDs");}
public void testAnnotatedITDFs_pr114005_1() { runTest("Annotated ITDFs - 1");}
public void testAnnotatedITDFs_pr1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.