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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/Main.java | if (atFileParent != null) myWorkingDir = new File(atFileParent);
try {
BufferedReader stream = new BufferedReader(new FileReader(atFile));
String line = null;
while ( (line = stream.readLine()) != null) {
int commentStart = line.indexOf("//");... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/Main.java | }
static void displayHelpAndExit(String message) {
if (message != null) {
System.err.println(message);
System.err.println();
System.err.println(Config.USAGE);
} else {
System.out.println(Config.USAGE);
exit(0);
}
}
static protected void exit(int value) {
... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/Main.java | static String getVersion() {
return "ajdoc version " + Version.text;
}
public static boolean hasAborted() {
return aborted;
}
/**
* Sets the output working dir to be <fullyQualifiedOutputDir>\ajdocworkingdir
* Useful in testing to redirect the ajdocworkingdir to the sandbox
*/
public stat... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java | /* *******************************************************************
* Copyright (c) 1999-2001 Xerox Corporation,
* 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 ... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java | static Hashtable declIDTable = null;
static void doFiles (Hashtable table,
SymbolManager symbolManager,
File[] inputFiles,
File[] signatureFiles) throws DocException {
declIDTable = table;
for (int i = 0; i < inputFiles.length; ... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java | }
static void processFile(SymbolManager symbolManager, File inputFile, File signatureFile) throws DocException {
try {
String path = StructureUtil.translateAjPathName(signatureFile.getCanonicalPath());
PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(path)));
... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java | e.printStackTrace();
}
}
private static void processImportDeclaration(IProgramElement node, PrintWriter writer) throws IOException {
List imports = node.getChildren();
for (Iterator i = imports.iterator(); i.hasNext();) {
IProgramElement importNode = (IProgramElement) i.next();
writer.p... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java | private static void processMembers(List members, PrintWriter writer, boolean declaringTypeIsInterface) throws DocException {
for (Iterator it = members.iterator(); it.hasNext();) {
IProgramElement member = (IProgramElement) it.next();
if (member.getKind().isType()) {
if (!member.getParent().get... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java | } else if (signature != null &&
signature != "" &&
!member.getKind().isInterTypeMember() &&
!member.getKind().equals(IProgramElement.Kind.INITIALIZER) &&
!StructureUtil.isAnonymous(member)) {
writer.print(signature);
} else {
}
if (member.getKind().e... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java | if (index == 0 || (index != -1 && signature.charAt(index-1) != '.') ) {
signature = signature.substring(0, index) +
"class " +
signature.substring(index + 6, signature.length());
}
}
return signature;
}
static int nextDeclID = 0;
static String addDeclID(IProgramElement decl, String form... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java | }
formalComment = formalComment.trim();
int atsignPos = formalComment.indexOf('@');
int endPos = formalComment.indexOf("*/");
int periodPos = formalComment.indexOf("/**")+2;
int position = 0;
String periodPlaceHolder = "";
if ( periodPos != -1 ) {
... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/SymbolManager.java | /* *******************************************************************
* Copyright (c) 1999-2001 Xerox Corporation,
* 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 ... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/SymbolManager.java | private static SymbolManager INSTANCE = new SymbolManager();
public static SymbolManager getDefault() {
return INSTANCE;
}
/**
* TODO: only works for one class
*/
public Declaration[] getDeclarations(String filename) {
IProgramElement file = (IProgramElement)AsmManager.getDefault()... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/SymbolManager.java | if (node.getKind().isType()) {
boolean isAnonymous = StructureUtil.isAnonymous(node);
return !node.getParent().getKind().equals(IProgramElement.Kind.METHOD)
&& !isAnonymous;
} else {
return !node.getKind().equals(IProgramElement.Kind.IMPORT_REFERENCE);
}
}
private Declaration buildDecl(IProgramElemen... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/SymbolManager.java | }
signature += node.toSignatureString();
String name = node.getName();
if (node.getKind().isType()) {
name = genPartiallyQualifiedName(node, node.getName());
}
String declaringType = node.getParent().getName();
Declaration dec = new Declaration(
node.getSourceLocation().getLine(),
... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/SymbolManager.java | private String genPartiallyQualifiedName(IProgramElement node, String name) {
if (node.getParent() != null && node.getParent().getKind().isType()) {
name = node.getParent().getName() + '.' + name;
genPartiallyQualifiedName(node.getParent(), name);
}
return name;
}
public Declaration getDeclarationAtPoint(... |
58,524 | Bug 58524 ajdoc should not use the Declaration and SymbolManager classes | In order to speed up porting porting to the old HTML generation code ajdoc continues to use the following classes: org.aspectj.tools.ajdoc.Declaration org.aspectj.tools.ajdoc.SymbolManager These funtion only as a wrapper to the ASM, and are not needed. The next refactoring effort should get rid of them (and all those s... | resolved fixed | f4c8bf9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-16T16:46:54Z | 2004-04-14T16:26:40Z | ajdoc/src/org/aspectj/tools/ajdoc/SymbolManager.java | if (dec1 != null) return dec1;
}
return null;
}
private Declaration[] lookupDeclarations(String filename) {
System.err.println("> looking up: " + filename);
return null;
}
/**
* @param methodName method name without type or parameter list
* @return ... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.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... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | import java.util.Iterator;
import java.util.List;
import org.aspectj.ajdt.internal.core.builder.AjState;
import org.aspectj.ajdt.internal.core.builder.IncrementalStateManager;
import org.aspectj.asm.AsmManager;
import org.aspectj.asm.IProgramElement;
import org.aspectj.bridge.IMessage;
import org.aspectj.testing.util.F... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | AjdeInteractionTestbed.VERBOSE = VERBOSE;
}
public void testTheBasics() {
initialiseProject("P1");
build("P1");
build("P1");
checkWasntFullBuild();
checkCompileWeaveCount(0,0);
}
public void testSimpleChanges() {
initialiseProject("P1");
build("P1");
alter("P1","inc1");
build("P1");... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("P1","inc1");
alter("P1","inc2");
build("P1");
long timeTakenForFullBuildAndWeave = getTimeTakenForBuild();
checkWasntFullBuild();
checkCompileWeaveCount(2,3);
build("P1");
long timeTakenForSimpleIncBuild = getTimeTakenForBuild();
assertTrue("Should not take longer for the trivial incremen... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | * In order for this next test to run, I had to move the weaver/world pair we keep in the
* AjBuildManager instance down into the state object - this makes perfect sense - otherwise
* when reusing the state for another project we'd not be switching to the right weaver/world
* for that project.
*/
public void te... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | public void testBuildingTwoProjectsAndVerifyingModel() {
configureBuildStructureModel(true);
initialiseProject("P1");
initialiseProject("P2");
build("P1");
checkForNode("pkg","C",true);
build("P2");
checkForNode("pkg","C",false);
build("P1");
checkForNode("pkg","C",true);
build("P2");
ch... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("P2");
checkForNode("pkg","C",false);
}
/**
* Complex. Here we are testing that a state object records structural changes since
* the last full build correctly. We build a simple project from scratch - this will
* be a full build and so the structural changes since last build count should be 0.
* ... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | ajs.getNumberOfStructuralChangesSinceLastFullBuild(),
ajs.getNumberOfStructuralChangesSinceLastFullBuild()==1);
}
/**
* Complex. Here we are testing that a state object records structural changes since
* the last full build correctly. We build a simple project from scratch - this will
* be a full buil... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | assertTrue("There should be state for project P1",ajs!=null);
checkWasntFullBuild();
assertTrue("Shouldn't be any structural changes but there were "+
ajs.getNumberOfStructuralChangesSinceLastFullBuild(),
ajs.getNumberOfStructuralChangesSinceLastFullBuild()==0);
}
/**
* Now the most complex test. C... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | build("P1");
build("P2");
checkWasntFullBuild();
}
public void testPr85132() {
initialiseProject("PR85132");
build("PR85132");
alter("PR85132","inc1");
build("PR85132");
}
public void testPr92837() {
initialiseProject("PR92837");
build("PR92837");
alter("PR92837","inc1");
build("PR92837")... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | assertTrue("Should be no warnings, but got "+l,l.size()==0);
}
public void testPr117209() {
try {
initialiseProject("pr117209");
configureNonStandardCompileOptions("-proceedOnError");
build("pr117209");
checkCompileWeaveCount(6,6);
} finally {
MyBuildOptionsAdapter.reset();
}
}
public voi... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("PR117882","inc1");
build("PR117882");
checkWasntFullBuild();
}
public void testPr117882_2() {
initialiseProject("PR117882_2");
build("PR117882_2");
checkWasFullBuild();
alter("PR117882_2","inc1");
build("PR117882_2");
checkWasntFullBuild();
}
public void testPr115251() {
ini... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | initialiseProject("pr121384");
build("pr121384");
checkWasFullBuild();
alter("pr121384","inc1");
build("pr121384");
checkWasntFullBuild();
}
/* public void testPr111779() {
super.VERBOSE=true;
initialiseProject("PR111779");
build("PR111779");
alter("PR111779","inc1");
build("PR111779");
}
*/
p... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | public void testPr93310_2() {
initialiseProject("PR93310_2");
build("PR93310_2");
checkWasFullBuild();
String fileC2 = getWorkingDir().getAbsolutePath() + File.separatorChar + "PR93310_2" + File.separatorChar + "src" + File.separatorChar + "pack" + File.separatorChar + "C2.java";
(new File(fileC2)).delete();
... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("PR113531","inc2");
build("PR113531");
assertTrue("There should be no exceptions handled:\n"+MyErrorHandler.getErrorMessages(),
MyErrorHandler.getErrorMessages().isEmpty());
assertEquals("error message should be 'foo cannot be resolved' ",
"foo cannot be resolved",
((IMessage)MyTaskListManager... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | alter("PR113257","inc1");
build("PR113257");
}
/**
* Check we compiled/wove the right number of files, passing '-1' indicates you don't care about
* that number.
*/
private void checkCompileWeaveCount(int expCompile,int expWoven) {
if (expCompile!=-1 && getCompiledFiles().size()!=expCompile)
... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | private void checkForNode(String packageName,String typeName,boolean shouldBeFound) {
IProgramElement ipe = AsmManager.getDefault().getHierarchy().findElementForType(packageName,typeName);
if (shouldBeFound) {
if (ipe==null) printModel();
assertTrue("Should have been able to find '"+packageName+"."+... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | File projectBase = new File(sandboxDir,pname);
File toConstruct = new File(projectBase,configname);
List filesForCompilation = new ArrayList();
collectUpFiles(projectBase,projectBase,filesForCompilation);
try {
FileOutputStream fos = new FileOutputStream(toConstruct);
DataOutputStream dos = new DataOutput... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | if (!fileFound.startsWith(toRemove)) throw new RuntimeException("eh? "+fileFound+" "+toRemove);
collectionPoint.add(fileFound.substring(toRemove.length()+1));
} catch (IOException e) {
e.printStackTrace();
}
}
}
}
/**
* Fill in the working directory with the project base files,
* from... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java | /**
* Copy the contents of some directory to another location - the
* copy is recursive.
*/
private void copy(File from, File to) {
String contents[] = from.list();
if (contents==null) return;
for (int i = 0; i < contents.length; i++) {
String string = contents[i];
File f = new File(from,string);
... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.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... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | private World world;
private Map members = new HashMap();
private List shadowMungers = null;
private List typeMungers = null; |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | private List lateTypeMungers = null;
private List declareSofts = null;
private List declareParents = null;
private List declareAnnotationOnTypes = null;
private List declareAnnotationOnFields = null;
private List declareAnnotationOnMethods= null;
private List declareDominates ... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | }
}
if (aspectType.isAbstract()) {
boolean ancestorChange = addOrReplaceDescendantsOf(aspectType);
change = change || ancestorChange;
}
return change;
}
private boolean addOrReplaceDescendantsOf(ResolvedType aspectType) {
Set knownAspects = members.keySet();
Set toBeReplaced = new HashS... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | CrosscuttingMembers xcut = (CrosscuttingMembers)members.get(aspectType);
xcut.addDeclares(aspectType.collectDeclares(true));
}
public boolean deleteAspect(UnresolvedType aspectType) {
boolean isAspect = members.remove(aspectType) != null;
clearCaches();
return isAspect;
}
public boolean contain... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | public List getShadowMungers() {
if (shadowMungers == null) {
ArrayList ret = new ArrayList();
for (Iterator i = members.values().iterator(); i.hasNext(); ) {
ret.addAll(((CrosscuttingMembers)i.next()).getShadowMungers());
}
shadowMungers = ret;
}
return shadowMungers;
}
public List getTypeMun... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | return lateTypeMungers;
}
public List getDeclareSofts() {
if (declareSofts == null) {
Set ret = new HashSet();
for (Iterator i = members.values().iterator(); i.hasNext(); ) {
ret.addAll(((CrosscuttingMembers)i.next()).getDeclareSofts());
}
declareSofts = new ArrayList();
declareSofts.addAll(re... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | for (Iterator i = members.values().iterator(); i.hasNext(); ) {
ret.addAll(((CrosscuttingMembers)i.next()).getDeclareAnnotationOnTypes());
}
declareAnnotationOnTypes = new ArrayList();
declareAnnotationOnTypes.addAll(ret);
}
return declareAnnotationOnTypes;
}
public List getDeclareAnnotationOnField... |
123,612 | Bug 123612 ArrayIndexOutOfBoundsException with incremental and declare @type | Given the following code: ------------------------------------------------- public aspect A { declare @type : C : @MyAnnotation; } @interface MyAnnotation { } class C { } ------------------------------------------------- if you comment out the declare @type statement and do an incremental build, then the following Arra... | resolved fixed | ab2f89b | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-17T15:32:20Z | 2006-01-12T15:33:20Z | weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java | declareAnnotationOnMethods = new ArrayList();
declareAnnotationOnMethods.addAll(ret);
}
return declareAnnotationOnMethods;
}
public List getDeclareDominates() {
if (declareDominates == null) {
ArrayList ret = new ArrayList();
for (Iterator i = members.values().iterator(); i.hasNext(); ) {
ret.add... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* 2005 Contributors
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Common Public License v1.0 |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | * which accompanies this distribution and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* PARC initial implementation
* Adrian Colyer, Andy Clement, overhaul for generics
* ******************************************************************/
package org.aspectj.wea... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | private IMessageHandler messageHandler = IMessageHandler.SYSTEM_ERR;
private ICrossReferenceHandler xrefHandler = null;
private TypeVariableDeclaringElement typeVariableLookupScope;
protected TypeMap typeMap = new TypeMap();
private AspectPrecedenceCalculator precedenceCalculator;
... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | private boolean XlazyTjp;
private boolean XhasMember = false;
private boolean Xpinpoint = false;
private boolean behaveInJava5Way = false;
private String targetAspectjRuntimeLevel = Constants.RUNTIME_LEVEL_DEFAULT;
/**
* A list of RuntimeExceptions conta... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | typeMap.put("I", ResolvedType.INT);
typeMap.put("J", ResolvedType.LONG);
typeMap.put("F", ResolvedType.FLOAT);
typeMap.put("D", ResolvedType.DOUBLE);
typeMap.put("C", ResolvedType.CHAR);
typeMap.put("Z", ResolvedType.BOOLEAN);
typeMap.put("V", ResolvedType.VOID);
... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | /**
* Resolve a type that we require to be present in the world
*/
public ResolvedType resolve(UnresolvedType ty) {
return resolve(ty, false);
}
/**
* Attempt to resolve a type - the source location gives you some context in which
* resolution is taking place. In the case of an err... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | */
public ResolvedType[] resolve(UnresolvedType[] types) {
if (types == null) return new ResolvedType[0];
ResolvedType[] ret = new ResolvedType[types.length];
for (int i=0; i<types.length; i++) {
ret[i] = resolve(types[i]);
}
return ret;
}
/**
* Re... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | String signature = ty.getSignature();
ResolvedType ret = typeMap.get(signature);
if (ret != null) {
ret.world = this;
return ret;
} else if ( signature.equals("?") || signature.equals("*")) {
ResolvedType something = new BoundedReferenc... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | typeMap.put(signature, ret);
}
return ret;
}
/**
* We tried to resolve a type and couldn't find it...
*/
private ResolvedType handleRequiredMissingTypeDuringResolution(UnresolvedType ty) {
if (dumpState_cantFindTypeExceptions==null) {
dumpState_cantFindTypeExceptions = new Arr... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | resolved.world = this;
return resolved;
}
/**
* Convenience method for finding a type by name and resolving it in one step.
*/
public ResolvedType resolve(String name) {
return resolve(UnresolvedType.forName(name));
}
public ResolvedType resolve(String name,boolean allo... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | } else if (ty.isGenericType()) {
ReferenceType genericType = (ReferenceType)resolveGenericTypeFor(ty,false);
return genericType;
} else if (ty.isGenericWildcard()) {
return resolveGenericWildcardFor(ty);
} else {
String erasedSignature = ty.getErasureSignature();
ReferenceType s... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | }
}
}
/**
* Attempt to resolve a type that should be a generic type.
*/
public ResolvedType resolveGenericTypeFor(UnresolvedType anUnresolvedType, boolean allowMissing) {
String rawSignature = anUnresolvedType.getRawType().getSignature();
ResolvedType rawType = (ResolvedType... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | if (genericType != null) {
genericType.world = this;
return genericType;
} else {
ReferenceTypeDelegate delegate = resolveDelegate((ReferenceType)rawType);
ReferenceType genericRefType = makeGenericTypeFrom(delegate,((ReferenceType)rawType));
((ReferenceType)rawType).setGener... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | if (aType.isExtends()) {
ReferenceType upperBound = (ReferenceType)resolve(aType.getUpperBound());
ret = new BoundedReferenceType(upperBound,true,this);
} else if (aType.isSuper()) {
ReferenceType lowerBound = (ReferenceType) resolve(aType.getLowerBound());
ret = new BoundedReferenceType... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | }
/**
* Lookup a type by signature, if not found then build one and put it in the
* map.
*/
public ReferenceType lookupOrCreateName(UnresolvedType ty) {
String signature = ty.getSignature();
ReferenceType ret = lookupBySignature(signature);
if (ret == null) {
ret = Referen... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | ResolvedType declaring = member.getDeclaringType().resolve(this);
if (declaring.isRawType()) declaring = declaring.getGenericType();
ResolvedMember ret;
if (member.getKind() == Member.FIELD) {
ret = declaring.lookupField(member);
} else {
ret = declaring.lookupMet... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | Pointcut p,
Member signature,
int extraParameterFlags,
IHasSourceLocation loc)
{
AjAttribute.AdviceAttribute attribute =
new AjAttribute.AdviceAttribute(kind, p, extraParameterFlags, loc.getStart(), loc.getEnd(), loc.getSourceContext());
return createAdviceMunger(attribute, p, ... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | * compares by precedence with the additional rule that a super-aspect is
* sorted before its sub-aspects
*/
public int compareByPrecedenceAndHierarchy(ResolvedType aspect1, ResolvedType aspect2) {
return precedenceCalculator.compareByPrecedenceAndHierarchy(aspect1, aspect2);
}
/**
* Nobody sh... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | ISourceLocation loc1,
ISourceLocation loc2)
{
if (loc1 != null) {
messageHandler.handleMessage(new Message(message, kind, null, loc1));
if (loc2 != null) {
messageHandler.handleMessage(new Message(message, kind, null, loc2));
}
} else {
messageHandler.handleMessage(new Message(message, k... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | }
public List getDeclareAnnotationOnTypes() {
return crosscuttingMembersSet.getDeclareAnnotationOnTypes();
}
public List getDeclareAnnotationOnFields() {
return crosscuttingMembersSet.getDeclareAnnotationOnFields();
}
public List getDeclareAnnotationOnMethods() {
return crosscuttingMembersSet.getDeclar... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | }
public boolean isXnoInline() {
return XnoInline;
}
public void setXnoInline(boolean xnoInline) {
XnoInline = xnoInline;
}
public boolean isXlazyTjp() {
return XlazyTjp;
}
public void setXlazyTjp(boolean b) {
XlazyTjp = b;
}
public boolean isHasMemberSupportEnabled() {
return XhasMember;
}
p... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | public void setBehaveInJava5Way(boolean b) {
behaveInJava5Way = b;
}
public boolean isInJava5Mode() {
return behaveInJava5Way;
}
public void setTargetAspectjRuntimeLevel(String s) {
targetAspectjRuntimeLevel = s;
}
public String getTargetAspectjRuntimeLevel() {
return targetAspectjRuntimeLevel... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | private Map tMap = new HashMap();
private Map expendableMap = new WeakHashMap();
private static final boolean debug = false;
/**
* Add a new type into the map, the key is the type signature.
* Some types do *not* go in the map, these are ones involving
* *member* type variables. The reason is tha... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | public ResolvedType put(String key, ResolvedType type) {
if (type.isParameterizedType() && type.isParameterizedWithAMemberTypeVariable()) {
if (debug)
System.err.println("Not putting a parameterized type that utilises member declared type variables into the typemap: key="+key+" type="+type);
return ty... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | public ResolvedType get(String key) {
ResolvedType ret = (ResolvedType) tMap.get(key);
if (ret == null) ret = (ResolvedType) expendableMap.get(key);
return ret;
}
public ResolvedType remove(String key) {
ResolvedType ret = (ResolvedType) tMap.remove(key);
if (ret == null) ret = (ResolvedType) e... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | sb.append("expendables:\n");
sb.append(dumpthem(expendableMap));
return sb.toString();
}
private String dumpthem(Map m) {
StringBuffer sb = new StringBuffer();
Set keys = m.keySet();
for (Iterator iter = keys.iterator(); iter.hasNext();) {
String k = (String) iter.next(... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | * Ask every declare precedence in the world to order the two aspects.
* If more than one declare precedence gives an ordering, and the orderings
* conflict, then that's an error.
*/
public int compareByPrecedence(ResolvedType firstAspect, ResolvedType secondAspect) {
PrecedenceCacheKey key = new Preceden... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | return order;
}
}
public Integer getPrecedenceIfAny(ResolvedType aspect1,ResolvedType aspect2) {
return (Integer)cachedResults.get(new PrecedenceCacheKey(aspect1,aspect2));
}
public int compareByPrecedenceAndHierarchy(ResolvedType firstAspect, ResolvedType secondAspect) {
if (firstAspect.equals(s... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/World.java | if (!(obj instanceof PrecedenceCacheKey)) return false;
PrecedenceCacheKey other = (PrecedenceCacheKey) obj;
return (aspect1 == other.aspect1 && aspect2 == other.aspect2);
}
public int hashCode() {
return aspect1.hashCode() + aspect2.hashCode();
}
}
}
public void validateType(UnresolvedType... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | 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 Common Public License v1.0
* which accompanies this distributi... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | import java.util.List;
import java.util.StringTokenizer;
import org.aspectj.apache.bcel.classfile.Attribute;
import org.aspectj.apache.bcel.classfile.ClassParser;
import org.aspectj.apache.bcel.classfile.JavaClass;
import org.aspectj.apache.bcel.classfile.Method;
import org.aspectj.apache.bcel.classfile.annotation.Anno... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | import org.aspectj.weaver.ResolvedMember;
import org.aspectj.weaver.ResolvedMemberImpl;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.ResolvedTypeMunger;
import org.aspectj.weaver.UnresolvedType;
import org.aspectj.weaver.World;
import org.aspectj.weaver.AjAttribute.Aspect;
import org.aspectj.weaver... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | 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, IMessageHandler handl... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | }
/**
* 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;
setMessageHandler(handler)... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | 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.substring(start, i).trim());
... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | 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(start, i).trim());
start = i+1;
}
... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | 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++) {
r... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | protected BcelObjectType makeBcelObjectType(ReferenceType resolvedTypeX, JavaClass jc, boolean exposedToWeaver) {
BcelObjectType ret = new BcelObjectType(resolvedTypeX, jc, exposedToWeaver);
return ret;
}
private JavaClass lookupJavaClass(ClassPathManager classPath, String name) {
if (classPath == nul... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | public BcelObjectType addSourceObjectType(JavaClass jc) {
BcelObjectType ret = null;
String signature = UnresolvedType.forName(jc.getClassName()).getSignature();
Object fromTheMap = typeMap.get(signature);
if (fromTheMap!=null && !(fromTheMap instanceof ReferenceType)) {
StringBuffer exceptionText ... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | }
} else {
ret = makeBcelObjectType(nameTypeX, jc, true);
}
return ret;
}
void deleteSourceObjectType(UnresolvedType ty) {
typeMap.remove(ty.getSignature());
}
public static Member makeFieldJoinPointSignature(LazyClassGen cg, FieldInstruction fi) {
ConstantPoolGen cpg = cg.... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | int mods = mg.getAccessFlags();
if (mg.getEnclosingClass().isInterface()) {
mods |= Modifier.INTERFACE;
}
if (kind == null) {
if (mg.getName().equals("<init>")) {
kind = Member.CONSTRUCTOR;
} else if (mg.getName().equals("<clinit>")) {
ki... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | 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... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | if (declaring.charAt(0)=='[') declaringType = UnresolvedType.forSignature(declaring);
else declaringType = UnresolvedType.forName(declaring);
}
return MemberImpl.method(declaringType, modifier, name, signature);
}
public static Member makeMungerMethodSignature(JavaClass javaCl... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | 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)... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | public static BcelObjectType getBcelObjectType(ResolvedType concreteAspect) {
ReferenceTypeDelegate rtDelegate = ((ReferenceType)concreteAspect).getDelegate();
if (rtDelegate instanceof BcelObjectType) {
return (BcelObjectType)rtDelegate;
} else {
return null;
}
}
public void tidyUp() {
classPat... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | weaver/src/org/aspectj/weaver/bcel/BcelWorld.java | 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(UnresolvedType type) {
... |
122,347 | Bug 122347 Contribution: Memory Efficient Expendable Type Map | Here is a patch for a single file (weaver/src/org/aspectj/weaver/World) that significantly improves the memory footprint of weaves (see details below). I would like help in resolving the one bug that this hit in the AspectJ weaver tests. It does the following: * Keeps Weak References to the values in the expendable map... | resolved wontfix | 04067a6 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-18T17:59:28Z | 2005-12-29T23:46:40Z | 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/annotation/Aspe... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java | /*******************************************************************************
* Copyright (c) 2006 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... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | /* *******************************************************************
* Copyright (c) 2002 Contributors
* 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:... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | /**
* A reference type represents some 'real' type, not a primitive, not an array - but
* a real type, for example java.util.List. Each ReferenceType has a delegate
* that is the underlying artifact - either an eclipse artifact or a
* bcel artifact. If the type represents a raw type (i.e. there is
* a generic fo... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | public static ReferenceType fromTypeX(UnresolvedType tx, World world) {
ReferenceType rt = new ReferenceType(tx.getErasureSignature(),world);
rt.typeKind = tx.typeKind;
return rt;
}
ResolvedMember[] parameterizedMethods = null;
ResolvedMember[] parameterizedFields = null;
ResolvedMember[] p... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | this.genericType = genericReferenceType;
this.typeKind = TypeKind.PARAMETERIZED;
this.delegate = genericReferenceType.getDelegate();
genericReferenceType.addDependentType(this);
}
/**
* Constructor used when creating a raw type.
*/
public ReferenceType(
ResolvedType theGe... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | }
/**
* Create a reference type for a generic type
*/
public ReferenceType(UnresolvedType genericType, World world) {
super(genericType.getSignature(),world);
typeKind=TypeKind.GENERIC;
}
public final boolean isClass() {
return delegate.isClass();
}
public final bool... |
124,803 | Bug 124803 [generics] mixing and matching numbers of type variables/parameters in a hierarchy | Hi guys! I didn't talk to you for a while, but I've found several new issues related to generics. Here is the first and the most annoying one: 1) Just compile the testcase with iajc and you will get "java.lang.IllegalStateException: Wrong number of type parameters supplied" Java Code: ========= public interface Generic... | resolved fixed | 8676df9 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2006-01-23T10:47:29Z | 2006-01-22T14:26:40Z | weaver/src/org/aspectj/weaver/ReferenceType.java | }
public boolean isAspect() {
return delegate.isAspect();
}
public boolean isAnnotationStyleAspect() {
return delegate.isAnnotationStyleAspect();
}
public boolean isEnum() {
return delegate.isEnum();
}
public boolean isAnnotation() {
return delegate.isAnnotat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.