Przeglądaj źródła

248297: fix

tags/PRE_J5
aclement 15 lat temu
rodzic
commit
13c48f6e48

+ 1
- 0
tests/bugs166/pr284297/DomainLogic.java Wyświetl plik

@@ -0,0 +1 @@
public class DomainLogic<E, D extends DomainObject<E>> { }

+ 1
- 0
tests/bugs166/pr284297/DomainObject.java Wyświetl plik

@@ -0,0 +1 @@
public class DomainObject<E> { }

+ 6
- 0
tests/bugs166/pr284297/FancyDomainLogic.java Wyświetl plik

@@ -0,0 +1,6 @@
//@Configurable
public class FancyDomainLogic<E, D extends DomainObject<E>> extends DomainLogic<E, D> { }

aspect X {
declare parents: FancyDomainLogic implements java.io.Serializable;
}

+ 1
- 0
tests/bugs166/pr284297/FancyDomainLogicImpl.java Wyświetl plik

@@ -0,0 +1 @@
public class FancyDomainLogicImpl <E, D extends DomainObject<E>> extends FancyDomainLogic<E, D> { }

+ 4
- 0
tests/src/org/aspectj/systemtest/ajc166/Ajc166Tests.java Wyświetl plik

@@ -23,6 +23,10 @@ public class Ajc166Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// runTest("generics bridge");
// }

public void testGenericSigProblem_pr284297() {
runTest("generic signature problem");
}

public void testInterfacesSerializable_pr283229() {
runTest("interfaces and serializable");
}

+ 5
- 0
tests/src/org/aspectj/systemtest/ajc166/ajc166.xml Wyświetl plik

@@ -2,6 +2,11 @@

<suite>
<ajc-test dir="bugs166/pr284297" title="generic signature problem">
<compile files="DomainLogic.java DomainObject.java FancyDomainLogic.java" options="-1.5" outjar="code.jar"/>
<compile files="FancyDomainLogicImpl.java" options="-1.5" classpath="code.jar"/>
</ajc-test>

<ajc-test dir="bugs166/pr283229" title="interfaces and serializable">
<compile files="Foo.java" options="-1.5 -XaddSerialVersionUID"/>
<run class="Foo">

Ładowanie…
Anuluj
Zapisz