Browse Source

267559: generics itd npe

tags/pre268419
aclement 15 years ago
parent
commit
96870a05d3

+ 4
- 0
tests/bugs164/pr267559/Aspect.java View File

@@ -0,0 +1,4 @@
public aspect Aspect
{
public boolean IMarker<PARALLELSTATE>.c;
}

+ 3
- 0
tests/bugs164/pr267559/ClassA.java View File

@@ -0,0 +1,3 @@
public class ClassA<T>
{
}

+ 3
- 0
tests/bugs164/pr267559/ClassB.java View File

@@ -0,0 +1,3 @@
abstract public class ClassB<T> implements IMarker<ClassA<T>>
{
}

+ 3
- 0
tests/bugs164/pr267559/IMarker.java View File

@@ -0,0 +1,3 @@
public interface IMarker<H>
{
}

+ 4
- 0
tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java View File

@@ -34,6 +34,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase;

public class Ajc164Tests extends org.aspectj.testing.XMLBasedAjcTestCase {

public void testGenericsItdNpe_pr267559() {
runTest("generics and itd npe");
}

public void testAnnoStyleLong_pr266564() {
runTest("annotation style long");
}

+ 4
- 0
tests/src/org/aspectj/systemtest/ajc164/ajc164.xml View File

@@ -2,6 +2,10 @@

<suite>
<ajc-test dir="bugs164/pr267559" title="generics and itd npe">
<compile files="IMarker.java ClassB.java Aspect.java ClassA.java" options="-1.5"/>
</ajc-test>
<ajc-test dir="bugs164/pr266564" title="annotation style long">
<compile files="AA.java" options="-1.5"/>
<run class="business.AA"/>

Loading…
Cancel
Save