@@ -0,0 +1,14 @@ | |||
interface Base<T> { | |||
static interface Inner { | |||
} | |||
} | |||
class Test<T extends Test.InnerTest> implements Base<T> { | |||
static class InnerTest implements Inner { | |||
} | |||
} | |||
aspect ForceWeaverToUnpackAllTypes { | |||
before() : staticinitialization(*) && !within(ForceWeaverToUnpackAllTypes) {} | |||
} |
@@ -318,6 +318,10 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { | |||
runTest("switch on enum inside ITD method"); | |||
} | |||
public void testInnerTypeOfGeneric() { | |||
runTest("inner type of generic interface reference from parameterized type"); | |||
} | |||
// helper methods..... | |||
public SyntheticRepository createRepos(File cpentry) { |
@@ -377,7 +377,11 @@ | |||
</stdout> | |||
</run> | |||
</ajc-test> | |||
<ajc-test dir="bugs150" pr="95992" title="inner type of generic interface reference from parameterized type"> | |||
<compile files="pr95992.aj" options="-1.5"/> | |||
</ajc-test> | |||
<!-- ============================================================================ --> | |||
<!-- ============================================================================ --> | |||