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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | localVariables.put(lvt,newp);
} else {
p.end = newInstructionHandle;
}
}
}
}
now continue
oldInstructionHandle = oldInstructi... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | Map duplicatedLocalMap = new HashMap();
for (Iterator iter = localVariables.keySet().iterator(); iter.hasNext(); ) {
LocalVariableTag tag = (LocalVariableTag) iter.next();
LVPosition lvpos = (LVPosition)localVariables.get(tag);
InstructionHandle start = lvp... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | private void addExceptionHandlers(MethodGen gen, Map map, LinkedList exnList) {
for (Iterator iter = exnList.iterator(); iter.hasNext();) {
ExceptionRange r = (ExceptionRange) iter.next();
if (r.isEmpty()) continue;
gen.addExceptionHandler(
remap(r.getRealS... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | newTargets[k] = remap(oldTargets[k], map);
newTargets[k].addTargeter(newBranchInstruction);
}
}
}
private void handleRangeInstruction(InstructionHandle ih, LinkedList exnList) {
Range r = Range.getRange(ih);
if (r instanceof ExceptionRange) {
ExceptionRange er = (ExceptionRange... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | if (Range.isRangeHandle(ih)) {
continue;
}
Instruction i = ih.getInstruction();
Instruction c = Utility.copyInstruction(i);
if (c instanceof BranchInstruction)
map.put(ih, intoList.append((BranchInstruction) c));
else
... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | }
}
}
static void insertHandler(ExceptionRange fresh, LinkedList l) {
for (ListIterator iter = l.listIterator(); iter.hasNext();) {
ExceptionRange r = (ExceptionRange) i... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | iter.previous();
iter.add(fresh);
return;
}
}
l.add(fresh);
}
public boolean isPrivate() {
return Modifier.isPrivate(getAccessFlags());
}
public boolean isProtected() {
return Modifier.isProtected(getAccessFl... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | * <li> For each non-range-handle instruction T in body, for each instruction S
* that is a targeter of T, S is
* either a branch instruction, an exception range or a tag
* <li> For each range-handle instruction T in body, there is exactly one targeter S
* that is a range.
* <li> For each range-... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | if (ih.getInstruction() instanceof BranchInstruction) {
body.add(ih.getInstruction());
}
}
for (InstructionHandle ih = il.getStart(); ih != null; ih = ih.getNext()) {
assertGoodHandle(ih, body, ranges, from);
InstructionTargeter[] ts = ih.getTargeters();
if (ts != null) {
for (int i = ts.leng... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | Stack ranges,
String from)
{
if (ih.getTarget() != inst.getTarget()) {
throw new BCException("bad branch instruction/handle pair in " + from);
}
InstructionHandle target = ih.getTarget();
assertInBody(target, body, from);
assertTargetedBy(target, inst, from);
if (inst instanceof Select) {
Select se... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | }
}
private static void assertGoodRange(Range r, Set body, String from) {
assertInBody(r.getStart(), body, from);
assertRangeHandle(r.getStart(), from);
assertTargetedBy(r.getStart(), r, from);
assertInBody(r.getEnd(), body, from);
assertRangeHandle(r.getEnd(), from);
assertTargetedBy(r.getEnd(... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | throw new RuntimeException("bad targeting relationship in " + from);
}
private static void assertTargets(InstructionTargeter targeter, InstructionHandle target, String from) {
if (targeter instanceof Range) {
Range r = (Range) targeter;
if (r.getStart() == target || r.getEnd() == target) return;
if (r... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | if (ts[i] instanceof Range) {
if (ret != null) throw new BCException("range handle with multiple ranges in " + from);
ret = (Range) ts[i];
}
}
if (ret == null) throw new BCException("range handle with no range in " + from);
return ret;
}
private static void assertGoodTargeter(
... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | if (memberView == null) return true;
return memberView.isAjSynthetic();
}
boolean isSynthetic() {
if (memberView == null) return false;
return memberView.isSynthetic();
}
public ISourceLocation getSourceLocation() {
if (memberView!=null) return memberView.getSourceLocation... |
147,711 | Bug 147711 Add an option to generate aj-synthetics with true synthetic flag | In a number of cases tools are getting confused over generated aj members that are "aj-synthetic" but not marked with the synthetic attribute (because in the past, this has upset other tools). The most recent example was a JAXB posting on the list - by having a perthis() clause in an aspect that matched a type with JAX... | resolved fixed | c9f311a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-24T11:36:59Z | 2006-06-19T12:26:40Z | weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | public String getParameterSignature() {
if (memberView!=null) return memberView.getParameterSignature();
return MemberImpl.typesToSignature(BcelWorld.fromBcel(getArgumentTypes()));
}
public BcelMethod getMemberView() {
return memberView;
}
public void forcePublic() {
markAsChanged();
access... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.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:www... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testDuplicateBridgeMethods_pr147801_1() { runTest("duplicate bridge methods");}
public void testPackageIgnoredForException_pr147701_1() { runTest("package for exception ignored");}
public void testPackageIgnoredForException_pr147701_2() { runTest("package for exception ignored - 2");}
public void test... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testCompletelyBrokenAopConcretization_pr142165_1() { runTest("broken concretization");}
public void testCompletelyBrokenAopConcretization_pr142165_2() { runTest("broken concretization - 2");}
public void testCompletelyBrokenAopConcretization_pr142165_3() { runTest("broken concretization - 3");}
public... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testReferencePCutInPerClause_pr138219() { runTest("Can't use a FQ Reference pointcut in any pointcut expression referenced by a per-clause");}
public void testReferencePCutInPerClause_pr130722() { runTest("FQ Reference pointcut from perclause ref pc"); }
public void testDoubleAnnotationMatching_pr138223... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | + target.toLabelString(),method,target);
matches = AsmManager.getDefault().getRelationshipMap().get(method);
assertNotNull("'debit(java.lang.String,long)' should have some relationships but does not",matches);
assertTrue("'debit(java.lang.String,long)' should have one relationships but has "... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | IHierarchy top = AsmManager.getDefault().getHierarchy();
IProgramElement twoArgsMethod = top.findElementForLabel(
top.getRoot(),IProgramElement.Kind.METHOD,"twoArgsMethod(int,java.lang.String)");
assertNotNull("Couldn't find 'twoArgsMethod(int,java.lang.String)' element in the tree",twoArgsMetho... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | checkSignatureOfIPE("method()",IProgramElement.Kind.METHOD);
checkSignatureOfIPE("p()",IProgramElement.Kind.POINTCUT);
checkSignatureOfIPE("before(): p..",IProgramElement.Kind.ADVICE,"before()");
checkSignatureOfIPE("MyClass.method()",IProgramElement.Kind.INTER_TYPE_METHOD);
checkSignatureOfIPE("multiMethod... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | assertEquals("expected two sources of relationships but only found "
+ asmRelMap.getEntries().size(),2,asmRelMap.getEntries().size());
for (Iterator iter = asmRelMap.getEntries().iterator(); iter.hasNext();) {
String sourceOfRelationship = (String) iter.next();
IProgramElement ipe = top.findElement... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | + rel.getName(), "advised by", rel.getName());
List targets = rel.getTargets();
assertEquals("expected one target but found " + targets.size(),1,targets.size());
IProgramElement link = top.findElementForHandle((String)targets.get(0));
assertEquals("expected target 'MyBar.aj' but target " + link.... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | IRelationshipMap relMap = AsmManager.getDefault().getRelationshipMap();
assertEquals("expected 3 entries in the relationship map but found "
+ relMap.getEntries().size(), 3, relMap.getEntries().size());
} finally {
World.createInjarHierarchy = true;
}
}
public void testPCDInClassAppearsInMod... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | pcd = top.findElementForLabel(top.getRoot(),IProgramElement.Kind.POINTCUT,"pointcutInAspect()");
relationships = relMap.get(pcd);
assertNotNull("expected relationships for pointcut " + pcd.toLinkLabelString()
+ " but didn't", relationships);
} finally {
World.createInjarHierarchy = true;
}
}
... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | l = ipe.getParameterTypes();
}
boolean eq = CharOperation.equals(((char[])l.get(0)),expectedParm.toCharArray());
assertTrue("expected parameter to be '" + expectedParm + "' but found '" +
new String(((char[])l.get(0))) + "'",eq);
}
private void checkSignatureOfIPE(String ipeLabel, IProgramE... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | * ******************************************************************/
package org.aspectj.weaver.bcel;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.P... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | import org.aspectj.apache.bcel.generic.ObjectType;
import org.aspectj.apache.bcel.generic.PUTSTATIC;
import org.aspectj.apache.bcel.generic.Type;
import org.aspectj.apache.bcel.util.ClassLoaderRepository;
import org.aspectj.apache.bcel.util.ClassPath;
import org.aspectj.apache.bcel.util.Repository;
import org.aspectj.b... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | private ClassPathManager classPath;
private Repository delegate;
public BcelWorld() {
this("");
}
public BcelWorld(String cp) {
this(makeDefaultClasspath(cp), IMessageHandler.THROW, null);
}
private static List makeDefaultClasspath(String cp) {
List classPath = new ArrayList();... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | return classPath;
}
private static List getPathEntries(String s) {
List ret = new ArrayList();
StringTokenizer tok = new StringTokenizer(s, File.pathSeparator);
while(tok.hasMoreTokens()) ret.add(tok.nextToken());
return ret;
}
public BcelWorld(List classPath, IMessageHandle... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | delegate = this;
}
/**
* Build a World from a ClassLoader, for LTW support
*
* @param loader
* @param handler
* @param xrefHandler
*/
public BcelWorld(ClassLoader loader, IMessageHandler handler, ICrossReferenceHandler xrefHandler) {
this.classPath = null... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | public Advice shadowMunger(String str, int extraFlag) {
str = str.trim();
int start = 0;
int i = str.indexOf('(');
AdviceKind kind =
AdviceKind.stringToKind(str.substring(start, i));
start = ++i;
i = str.indexOf(')', i);
String[] ids = parseIds(str.su... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | if (str.length() == 0) return ZERO_STRINGS;
List l = new ArrayList();
int start = 0;
while (true) {
int i = str.indexOf(',', start);
if (i == -1) {
l.add(str.substring(start).trim());
break;
}
l.add(str.substring(sta... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | }
return ret;
}
public static UnresolvedType fromBcel(Type t) {
return UnresolvedType.forSignature(t.getSignature());
}
static UnresolvedType[] fromBcel(Type[] ts) {
UnresolvedType[] ret = new UnresolvedType[ts.length];
for (int i = 0, len = ts.length; i < len; i++) ... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | packageRestrictionsForFastDelegates=1;
} else {
packageRestrictionsForFastDelegates=2;
packagePrefixRestrictionList=new ArrayList();
StringTokenizer st = new StringTokenizer(possiblePackageRestrictions,":");
while (st.hasMoreTokens()) {
packagePrefixRestrictionList.add(st.nextT... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | return null;
} else {
ReferenceTypeDelegate delegate = buildAsmDelegate(ty,cf);
if (fallbackToLoadingBcelDelegatesForAspects && delegate.isAspect()) {
if (jc == null) jc = lookupJavaC... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | private ReferenceTypeDelegate buildAsmDelegate(ReferenceType type,ClassPathManager.ClassFile t) {
AsmDelegate asmDelegate;
try {
asmDelegate = new AsmDelegate(type,t.getInputStream());
} catch (IOException e) {
e.printStackTrace();
return null;
}
return asmDelegate;
}
public BcelObjectType ... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | ClassParser parser = new ClassParser(file.getInputStream(), file.getPath());
JavaClass jc = parser.parse();
file.close();
return jc;
} catch (IOException ioe) {
return null;
}
}
public BcelObjectType addSourceObjectType(JavaClass jc) {
BcelObjectType ret = null;
String signatur... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | nameTypeX = ReferenceType.fromTypeX(UnresolvedType.forRawTypeName(jc.getClassName()),this);
ret = buildBcelDelegate(nameTypeX, jc, true);
ReferenceType genericRefType = new ReferenceType(
UnresolvedType.forGenericTypeSignature(signature,ret.getDeclaredGenericSignature()),this);
nameTypeX.... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | fi.getSignature(cpg));
}
public Member makeJoinPointSignature(LazyMethodGen mg) {
return makeJoinPointSignatureFromMethod(mg, null);
}
public Member makeJoinPointSignatureFromMethod(LazyMethodGen mg, MemberImpl.Kind kind) {
Member ret = mg.getMemberView();
if (ret == null) {
int mods = mg.... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | fromBcel(mg.getArgumentTypes())
);
} else {
return ret;
}
}
public Member makeJoinPointSignatureForMonitorEnter(LazyClassGen cg,InstructionHandle h) {
MONITORENTER i = (MONITORENTER)h.getInstruction();
return MemberImpl.monitorEnter();
}
public Member makeJoinPointSignature... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | UnresolvedType ut = null;
short dimensions = arrayInstruction.getDimensions();
ObjectType ot = arrayInstruction.getLoadClassType(cpg);
if (ot!=null) {
ut = fromBcel(ot);
ut = UnresolvedType.makeArray(ut,dimensions);
} else {
Type t = arrayInstruction.getType(cpg);
ut = fromBcel(t);
}
R... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | String signature = ii.getSignature(cpg);
int modifier =
(ii instanceof INVOKEINTERFACE)
? Modifier.INTERFACE
: (ii instanceof INVOKESTATIC)
? Modifier.STATIC
: (ii instanceof INVOKESPECIAL && ! name.equals("<init>"))
? Modi... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | else declaringType = UnresolvedType.forName(declaring);
}
return MemberImpl.method(declaringType, modifier, name, signature);
}
public static Member makeMungerMethodSignature(JavaClass javaClass, Method method) {
int mods = 0;
if (method.isStatic()) mods = Modifier.STAT... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | public ConcreteTypeMunger concreteTypeMunger(
ResolvedTypeMunger munger, ResolvedType aspectType)
{
return new BcelTypeMunger(munger, aspectType);
}
public ConcreteTypeMunger makeCflowStackFieldAdder(ResolvedMember cflowField) {
return new BcelCflowStackFieldAdder(cflowField);
}
pub... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | ReferenceTypeDelegate rtDelegate = ((ReferenceType)concreteAspect).getDelegate();
if (rtDelegate instanceof BcelObjectType) {
return (BcelObjectType)rtDelegate;
} else {
return null;
}
}
public void tidyUp() {
classPath.closeArchives();
typeMap.report();
ResolvedType.resetPrimitives();
}
... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | public void clear() {
throw new RuntimeException("Not implemented");
}
/**
* The aim of this method is to make sure a particular type is 'ok'. Some
* operations on the delegate for a type modify it and this method is
* intended to undo that... see pr85132
*/
public void validateType(... |
148,786 | Bug 148786 new array construction join point can fail for freaky array constructors | Took me a while to discover how to recreate this problem, but this class: public class A { public static void main(String []argv) { byte[][] bytes = new byte[][]{{0},{1}}; } } causes this bytecode: 0: iconst_2 1: anewarray #18; //class "[B" and this causes the newarray joinpoint code to go bang. (eg. before(): call(*[]... | resolved fixed | 792d1df | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T11:34:41Z | 2006-06-27T09:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | }
Annotation anns[] = jc.getAnnotations();
if (anns.length == 0) {
return false;
}
boolean couldBeAtAspectJStyle = false;
for (int i = 0; i < anns.length; i++) {
Annotation ann = anns[i];
if ("Lorg/aspectj/lang/a... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | /* *******************************************************************
* Copyright (c) 2004 IBM Corporation
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* h... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | import org.aspectj.bridge.IMessageHandler;
import org.aspectj.bridge.Message;
import org.aspectj.bridge.MessageUtil;
import org.aspectj.bridge.MessageWriter;
import org.aspectj.bridge.Version;
import org.aspectj.bridge.IMessage.Kind;
import org.aspectj.util.FileUtil;
import org.aspectj.util.LangUtil;
import org.aspectj... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | /**
* System property used to turn on verbose weaving messages
*/
public static final String WEAVING_ADAPTOR_VERBOSE = "aj.weaving.verbose";
public static final String SHOW_WEAVE_INFO_PROPERTY = "org.aspectj.weaver.showWeaveInfo";
protected boolean enabled = true;
protected boolean verbose = getVerbose();
p... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | * Construct a WeavingAdator with a reference to a
* <code>GeneratedClassHandler</code>, a full search path for resolving
* classes and a complete set of aspects. The search path must include
* classes loaded by the class loader constructing the WeavingAdaptor and
* all its parents in the hierarchy.
* @par... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | List list = new LinkedList();
for (; loader != null; loader = loader.getParent()) {
if (loader instanceof WeavingClassLoader) {
URL[] urls = ((WeavingClassLoader)loader).getAspectURLs();
list.addAll(0,FileUtil.makeClasspath(urls));
}
}
return list;
}
private static boolean getVerbose () {
retu... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | messageHolder = new WeavingAdaptorMessageHandler(new PrintWriter(System.err));
messageHandler = messageHolder;
if (verbose) messageHandler.dontIgnore(IMessage.INFO);
if (Boolean.getBoolean(SHOW_WEAVE_INFO_PROPERTY)) messageHandler.dontIgnore(IMessage.WEAVEINFO);
info("AspectJ Weaver Version " + Version.text + "... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | warn("bad library: '" + libFile + "'");
}
}
/**
* Weave a class using aspects previously supplied to the adaptor.
* @param name the name of the class
* @param bytes the class bytes
* @return the woven bytes
* @exception IOException weave failed
*/
public byte[] weaveClass (String name, byte[] bytes)... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private boolean shouldWeave (String name, byte[] bytes) {
name = name.replace('/','.');
boolean b = !generatedClasses.containsKey(name) && shouldWeaveName(name);
return b && accept(name, bytes);
}
protected boolean accept(String name, byte[] bytes) {
return true;
}
protected boolea... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private boolean shouldWeaveAnnotationStyleAspect(String name, byte[] bytes) {
return bcelWorld.isAnnotationStyleAspect(name, bytes);
}
/**
* Weave a set of bytes defining a class.
* @param name the name of the class being woven
* @param bytes the bytes that define the class
* @return byte... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | }
private void registerAspectLibraries(List aspectPath) {
for (Iterator i = aspectPath.iterator(); i.hasNext();) {
String libName = (String)i.next();
addAspectLibrary(libName);
}
weaver.prepareForWeave();
}
/*
* Register an aspect library with this classloader for use during
* weaving. This cla... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | }
}
private static List makeClasspath(String cp) {
List ret = new ArrayList();
if (cp != null) {
StringTokenizer tok = new StringTokenizer(cp,File.pathSeparator);
while (tok.hasMoreTokens()) {
ret.add(tok.nextToken());
}
}
return ret;
}
protected boolean info (String message) {
return Mes... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | * Dump the given bytcode in _dump/... (dev mode)
*
* @param name
* @param b
* @param before whether we are dumping before weaving
* @throws Throwable
*/
protected void dump(String name, byte[] b, boolean before) {
String dirName = "_ajdump";
if (before) dirName = dirName + File.separator + "_before";
... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | * Processes messages arising from weaver operations.
* Tell weaver to abort on any message more severe than warning.
*/
protected class WeavingAdaptorMessageHandler extends MessageWriter {
private Set ignoring = new HashSet();
private IMessage.Kind failKind;
private boolean accumulating = true;
private... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | if ((null != kind) && (!ignoring.contains(kind))) {
ignoring.add(kind);
}
}
/**
* Remove a message kind from the list of those ignored from now on.
*/
public void dontIgnore (IMessage.Kind kind) {
if (null != kind) {
ignoring.remove(kind);
if (kind.equals(IMessage.INFO)) accumulating = fal... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | private UnwovenClassFile unwovenClass;
private List unwovenClasses = new ArrayList();
private UnwovenClassFile wovenClass;
private boolean isApplyAtAspectJMungersOnly = false;
private BcelObjectType delegate;
public WeavingClassFileProvider (String name, byte[] bytes) {
this.unwovenClass... |
148,388 | Bug 148388 LTW weaver produces a debug message at the begining | null | resolved fixed | 99d1c18 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-27T18:28:17Z | 2006-06-23T13:40:00Z | weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | if (wovenClass == null) {
wovenClass = result;
String name = result.getClassName();
if (shouldDump(name.replace('/', '.'), false)) {
dump(name, result.getBytes(), false);
}
}
else {
String className = result.getClassName();
System.err.println("? We... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | import org.aspectj.ajdt.internal.compiler.ast.InterTypeDeclaration;
import org.aspectj.ajdt.internal.compiler.ast.InterTypeFieldDeclaration;
import org.aspectj.ajdt.internal.compiler.ast.InterTypeMethodDeclaration;
import org.aspectj.ajdt.internal.compiler.ast.PointcutDeclaration;
import org.aspectj.ajdt.internal.compi... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | public static final String UNDEFINED="<undefined>";
public static final String DECLARE_PRECEDENCE = "precedence";
public static final String DECLARE_SOFT = "soft";
public static final String DECLARE_PARENTS = "parents";
public static final String DECLARE_WARNING = "warning";
public static final String DECLARE_ERRO... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | if (ad.pointcutDesignator.getPointcut() instanceof ReferencePointcut) {
ReferencePointcut rp = (ReferencePointcut)ad.pointcutDesignator.getPointcut();
details.append(rp.name).append("..");
} else if (ad.pointcutDesignator.getPointcut() instanceof AndPointcut) {
AndPointcut ap = (AndPointcut)ad.pointc... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | node.setName(translatePointcutName(new String(methodDeclaration.selector)));
setParameters(methodDeclaration, node);
} else if (methodDeclaration instanceof DeclareDeclaration) {
DeclareDeclaration declare = (DeclareDeclaration)methodDeclaration;
String name = DEC_LABEL + " ";
if (declare.declareDecl... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | if (kindOfDP == null) {
kindOfDP = "implements ";
try {
ResolvedType rtx = tx.resolve(((AjLookupEnvironment)declare.scope.environment()).factory.getWorld());
if (!rtx.isInterface()) kindOfDP = "extends ";
} catch (Throwable t) {
}
}
String typename= t... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | } else if (declare.declareDecl instanceof DeclareAnnotation) {
DeclareAnnotation deca = (DeclareAnnotation)declare.declareDecl;
String thekind = deca.getKind().toString();
node.setName(name+"@"+thekind.substring(3));
if (deca.getKind()==DeclareAnnotation.AT_CONSTRUCTOR) {
node.setKind(IPr... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | node.setKind(IProgramElement.Kind.INTER_TYPE_CONSTRUCTOR);
node.setName(itd.getOnType().toString() + "." + itd.getOnType().toString());
} else {
node.setKind(IProgramElement.Kind.ERROR);
node.setName(name);
}
node.setCorrespondingType(itd.returnType.toString());
if (node.getKind()... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | } else if ("Lorg/aspectj/lang/annotation/Before;".equals(annotationSig)
|| "Lorg/aspectj/lang/annotation/After;".equals(annotationSig)
|| "Lorg/aspectj/lang/annotation/AfterReturning;".equals(annotationSig)
|| "L... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | }
return tpList;
}
}
public void setParameters(AbstractMethodDeclaration md, IProgramElement pe) {
Argument[] argArray = md.arguments;
if (argArray == null) {
pe.setParameterNames(Collections.EMPTY_LIST);
pe.setParameterSignatures(Collections.EMPTY_LIST);
} else {
List names = new ArrayLi... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | }
}
pe.setParameterNames(names);
if (!paramSigs.isEmpty()) {
pe.setParameterSignatures(paramSigs);
}
}
}
private boolean acceptArgument(String name, String type) {
if (name.charAt(0)!='a' && type.charAt(0)!='o') return true;
return !name.startsWith("ajc$this_")
&& !type.equals("org.aspectj... |
148,911 | Bug 148911 NPR compiling Spring | The Spring 2.0 RC1 project contains two directories with aspects. Since the eclipse project does not compile cleanly with just the java nature, I decided to try adding the aspectj nature and giving the aspectj builder a shot. I don't have any idea what might be the trigger to the problem, but simply checking out Spring... | resolved fixed | b59b036 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T07:32:35Z | 2006-06-27T23:13:20Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | }
public String genDeclareMessage(String message) {
int length = message.length();
if (length < MAX_MESSAGE_LENGTH) {
return message;
} else {
return message.substring(0, MAX_MESSAGE_LENGTH-1) + "..";
}
}
}
}
}
private String translatePointcutName(String name) {
int index = name.inde... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.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:www... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testDuplicateBridgeMethods_pr147801_1() { runTest("duplicate bridge methods");}
public void testPackageIgnoredForException_pr147701_1() { runTest("package for exception ignored");}
public void testPackageIgnoredForException_pr147701_2() { runTest("package for exception ignored - 2");}
public void test... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testCompletelyBrokenAopConcretization_pr142165_1() { runTest("broken concretization");}
public void testCompletelyBrokenAopConcretization_pr142165_2() { runTest("broken concretization - 2");}
public void testCompletelyBrokenAopConcretization_pr142165_3() { runTest("broken concretization - 3");}
public... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | public void testReferencePCutInPerClause_pr138219() { runTest("Can't use a FQ Reference pointcut in any pointcut expression referenced by a per-clause");}
public void testReferencePCutInPerClause_pr130722() { runTest("FQ Reference pointcut from perclause ref pc"); }
public void testDoubleAnnotationMatching_pr138223... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | + target.toLabelString(),method,target);
matches = AsmManager.getDefault().getRelationshipMap().get(method);
assertNotNull("'debit(java.lang.String,long)' should have some relationships but does not",matches);
assertTrue("'debit(java.lang.String,long)' should have one relationships but has "... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | IHierarchy top = AsmManager.getDefault().getHierarchy();
IProgramElement twoArgsMethod = top.findElementForLabel(
top.getRoot(),IProgramElement.Kind.METHOD,"twoArgsMethod(int,java.lang.String)");
assertNotNull("Couldn't find 'twoArgsMethod(int,java.lang.String)' element in the tree",twoArgsMetho... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | checkSignatureOfIPE("method()",IProgramElement.Kind.METHOD);
checkSignatureOfIPE("p()",IProgramElement.Kind.POINTCUT);
checkSignatureOfIPE("before(): p..",IProgramElement.Kind.ADVICE,"before()");
checkSignatureOfIPE("MyClass.method()",IProgramElement.Kind.INTER_TYPE_METHOD);
checkSignatureOfIPE("multiMethod... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | assertEquals("expected two sources of relationships but only found "
+ asmRelMap.getEntries().size(),2,asmRelMap.getEntries().size());
for (Iterator iter = asmRelMap.getEntries().iterator(); iter.hasNext();) {
String sourceOfRelationship = (String) iter.next();
IProgramElement ipe = top.findElement... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | + rel.getName(), "advised by", rel.getName());
List targets = rel.getTargets();
assertEquals("expected one target but found " + targets.size(),1,targets.size());
IProgramElement link = top.findElementForHandle((String)targets.get(0));
assertEquals("expected target 'MyBar.aj' but target " + link.... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | IRelationshipMap relMap = AsmManager.getDefault().getRelationshipMap();
assertEquals("expected 3 entries in the relationship map but found "
+ relMap.getEntries().size(), 3, relMap.getEntries().size());
} finally {
World.createInjarHierarchy = true;
}
}
public void testPCDInClassAppearsInMod... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | pcd = top.findElementForLabel(top.getRoot(),IProgramElement.Kind.POINTCUT,"pointcutInAspect()");
relationships = relMap.get(pcd);
assertNotNull("expected relationships for pointcut " + pcd.toLinkLabelString()
+ " but didn't", relationships);
} finally {
World.createInjarHierarchy = true;
}
}
... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | l = ipe.getParameterTypes();
}
boolean eq = CharOperation.equals(((char[])l.get(0)),expectedParm.toCharArray());
assertTrue("expected parameter to be '" + expectedParm + "' but found '" +
new String(((char[])l.get(0))) + "'",eq);
}
private void checkSignatureOfIPE(String ipeLabel, IProgramE... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distri... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | public static final String ITD_PREFIX = PREFIX + "interType$";
public static final char[] METHOD_ASPECTOF = {'a', 's', 'p','e','c','t','O','f'};
public static final char[] METHOD_HASASPECT = {'h', 'a', 's','A','s','p','e','c','t'};
public static final char[] STATIC_INITIALIZER = {'<', 'c', 'l','i','n','i','t','>'};
... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | methodName.startsWith("ajc$after")) {
return false;
} else if (methodName.startsWith("ajc$around")) {
return (methodName.endsWith("proceed"));
} else if (methodName.startsWith("ajc$interMethod$")) {
return false;
}
return true;
}
else if (methodName.indexOf("_aroundBody") != -1) {
... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | public static String perTypeWithinFieldForTarget(UnresolvedType aspectType) {
return makeName(aspectType.getNameAsIdentifier(), "ptwAspectInstance");
}
public static String perTypeWithinLocalAspectOf(UnresolvedType aspectType) {
return makeName(aspectType.getNameAsIdentifier(), "localAspectOf");
}
publi... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | return makeName("inlineAccessMethod", aspectType.getNameAsIdentifier(),
objectType.getNameAsIdentifier(), name);
}
public static String inlineAccessMethodForFieldGet(String name, UnresolvedType objectType, UnresolvedType aspectType) {
return makeName("inlineAccessFieldGet", aspectType.getNameAsIdentifier(),
... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | * is declared onto
*/
public static String interFieldInterfaceField(UnresolvedType aspectType, UnresolvedType interfaceType, String name) {
return makeName("interField", aspectType.getNameAsIdentifier(),
interfaceType.getNameAsIdentifier(), name);
}
/**
* This instance method goes on the interface the f... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | return makeName("interFieldSetDispatch", aspectType.getNameAsIdentifier(),
onType.getNameAsIdentifier(), name);
}
/**
* This static method goes on the aspect that declares the inter-type field
*/
public static String interFieldGetDispatcher(UnresolvedType aspectType, UnresolvedType onType, String name) {
... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | aspectType.getNameAsIdentifier(),
classType.getNameAsIdentifier(),
name);
}
/**
* This method goes on the target type of the inter-type method. (and possibly the topmost-implemeters,
* if the target type is an interface)
*/
public static String interMethod(int modifiers, UnresolvedType aspectType, Unr... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | }
/**
* This static method goes on the declaring aspect of the inter-type constructor.
*/
public static String preIntroducedConstructor(
UnresolvedType aspectType,
UnresolvedType targetType)
{
return makeName("preInterConstructor", aspectType.getNameAsIdentifier(),
targetType.getNameAsIdentifier())... |
148,727 | Bug 148727 Can't call synthetic aspectOf method on aspect in library jar | Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa... | resolved fixed | 21e06a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-06-28T09:16:01Z | 2006-06-26T19:26:40Z | weaver/src/org/aspectj/weaver/NameMangler.java | return makeName("superDispatch",
classType.getNameAsIdentifier(), name);
}
/**
* This static method goes on the target class of the inter-type method.
*/
public static String protectedDispatchMethod(UnresolvedType classType, String name)
{
return makeName("protectedDispatch",
classType.getNameAsIde... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.