aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-05-12 09:32:03 +0000
committeraclement <aclement>2005-05-12 09:32:03 +0000
commit0cb826c6a5d47a12eb03bf1751208c0b9a7b23a3 (patch)
treed125ed5f1691623aae6360d0c69b1f2c8a04327c
parent7b7c7b2fb25e09660f066e556a5008545d655f6f (diff)
downloadaspectj-0cb826c6a5d47a12eb03bf1751208c0b9a7b23a3.tar.gz
aspectj-0cb826c6a5d47a12eb03bf1751208c0b9a7b23a3.zip
Fix and tests for pr86832, pr92163. NPE in detectHierarchyCycle
-rw-r--r--org.eclipse.jdt.core/jdtcore-for-aspectj-src.zipbin4305909 -> 4305970 bytes
-rw-r--r--org.eclipse.jdt.core/jdtcore-for-aspectj.jarbin5030326 -> 5031612 bytes
-rw-r--r--tests/bugs150/PR86832.aj4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml4
5 files changed, 12 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core/jdtcore-for-aspectj-src.zip b/org.eclipse.jdt.core/jdtcore-for-aspectj-src.zip
index 7a37db3c0..036e71508 100644
--- a/org.eclipse.jdt.core/jdtcore-for-aspectj-src.zip
+++ b/org.eclipse.jdt.core/jdtcore-for-aspectj-src.zip
Binary files differ
diff --git a/org.eclipse.jdt.core/jdtcore-for-aspectj.jar b/org.eclipse.jdt.core/jdtcore-for-aspectj.jar
index e53abe8a3..2aa5d14c0 100644
--- a/org.eclipse.jdt.core/jdtcore-for-aspectj.jar
+++ b/org.eclipse.jdt.core/jdtcore-for-aspectj.jar
Binary files differ
diff --git a/tests/bugs150/PR86832.aj b/tests/bugs150/PR86832.aj
new file mode 100644
index 000000000..f78fe6441
--- /dev/null
+++ b/tests/bugs150/PR86832.aj
@@ -0,0 +1,4 @@
+import java.util.*;
+
+class A extends ArrayList {}
+class B extends ArrayList<Object> {}
diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
index 1f9d16ca0..b84ee076e 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
@@ -161,6 +161,10 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("enum called Enum, annotation called Annotation, etc");
}
+ public void testInternalCompilerError_pr86832() {
+ runTest("Internal compiler error");
+ }
+
// helper methods.....
public SyntheticRepository createRepos(File cpentry) {
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index 068ac051c..6a5222ae6 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -2191,4 +2191,8 @@
<ajc-test dir="bugs150" title="enum called Enum, annotation called Annotation, etc">
<compile files="PR90827.aj" options="-1.5"/>
</ajc-test>
+
+ <ajc-test dir="bugs150" title="Internal compiler error">
+ <compile files="PR86832.aj" options="-1.5"/>
+ </ajc-test>
</suite> \ No newline at end of file