aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/visibility/PublicITDs.aj
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-11-03 17:09:45 +0000
committeracolyer <acolyer>2005-11-03 17:09:45 +0000
commit9025e8b4185cf965d51e64b1ed0aba7e43d33842 (patch)
treeee5d7d16f1ea95c5bcf8dea3f7eff00626335aaa /tests/java5/generics/itds/visibility/PublicITDs.aj
parent38084566dbf9d17cbe375f7fdfa14a821e3d7311 (diff)
downloadaspectj-9025e8b4185cf965d51e64b1ed0aba7e43d33842.tar.gz
aspectj-9025e8b4185cf965d51e64b1ed0aba7e43d33842.zip
tests for pr62606 - itdcs don't run field initialisers in target type. Largely updates to existing tests to cope with new Lint warning.
Diffstat (limited to 'tests/java5/generics/itds/visibility/PublicITDs.aj')
-rw-r--r--tests/java5/generics/itds/visibility/PublicITDs.aj6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/java5/generics/itds/visibility/PublicITDs.aj b/tests/java5/generics/itds/visibility/PublicITDs.aj
index 25d58b4a3..e419a8a21 100644
--- a/tests/java5/generics/itds/visibility/PublicITDs.aj
+++ b/tests/java5/generics/itds/visibility/PublicITDs.aj
@@ -26,9 +26,9 @@ aspect X {
public <R extends Number> void Base.publicMethod2(List<R> lr1,List<R> lr2) {}
// ctor
- public <P extends Number> Base.new(List<P> lr) {}
- public <P extends Number> Base.new(List<P> lr1,List<P> lr2) {}
- public <P,Q extends Number> Base.new(List<P> lp,Map<Q,P> m1) {}
+ public <P extends Number> Base.new(List<P> lr) { this(); }
+ public <P extends Number> Base.new(List<P> lr1,List<P> lr2) { this(); }
+ public <P,Q extends Number> Base.new(List<P> lp,Map<Q,P> m1) { this(); }
// what use is this next one??
// public <R extends Number> R Base.publicMethod3() { return null;}