@@ -0,0 +1,5 @@ | |||
privileged public abstract aspect DatabaseOperationMonitor<T extends AggregatedDatabaseStats<T>> extends BaseOperationMonitor<T> {} | |||
class BaseOperationMonitor<P> {} | |||
class AggregatedDatabaseStats<Q> {} | |||
class Wibble extends AggregatedDatabaseStats<Wibble> {} | |||
aspect Foo extends DatabaseOperationMonitor<Wibble> {} |
@@ -18,13 +18,18 @@ import org.aspectj.testing.XMLBasedAjcTestCase; | |||
public class Ajc166Tests extends org.aspectj.testing.XMLBasedAjcTestCase { | |||
// public void testITDannos_288049() { | |||
// runTest("itd decanno"); | |||
// } | |||
public void testMungerCCE_288635() { | |||
runTest("munger cce"); | |||
} | |||
// public void testNPEonBadAspectDecl_286375() { | |||
// runTest("npe on bad aspect decl"); | |||
// } | |||
public void testNPEonBadAspectDecl_286375() { | |||
runTest("npe on bad aspect decl"); | |||
} | |||
// | |||
// public void testAnnoModifierOrdering_287597_1() { | |||
// runTest("anno modifier ordering - 1"); |
@@ -2,11 +2,14 @@ | |||
<suite> | |||
<ajc-test dir="bugs166/pr288049" title="itd decanno"> | |||
<compile files="org/tests/AClass.java org/tests/ASubClass.java org/tests/DeclareAnns.aj" options="-1.5"/> | |||
</ajc-test> | |||
<ajc-test dir="bugs166/pr288635" title="munger cce"> | |||
<compile files="org/tests/atann/AddAnnotations.aj org/tests/atann/AddITDDoMethod.aj org/tests/atann/InterceptTraceds.aj org/tests/atann/TestClass.java org/tests/atann/Traced.java" options="-1.5"/> | |||
<run class="org.tests.atann.TestClass"/> | |||
</ajc-test> | |||
<ajc-test dir="bugs166/pr286375" title="npe on bad aspect decl"> | |||
<compile files="DatabaseOperationMonitor.java" options="-1.5" outjar="wibble.jar"/> |