summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2005-07-27 11:51:03 +0000
committeraclement <aclement>2005-07-27 11:51:03 +0000
commit3ab5051f534fc054fe622e57a4684090faf98e3b (patch)
treed12c2859017e0ce3f52e145c04e566a59acc6d85 /tests
parent14b1a6b9cc02250b1fd6cb98d7f7bf1587b5e046 (diff)
downloadaspectj-3ab5051f534fc054fe622e57a4684090faf98e3b.tar.gz
aspectj-3ab5051f534fc054fe622e57a4684090faf98e3b.zip
changed dumb testcase
Diffstat (limited to 'tests')
-rw-r--r--tests/java5/generics/itds/FieldITDOnGeneric.aj (renamed from tests/java5/generics/itds/StaticFieldITDOnGeneric.aj)9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/java5/generics/itds/StaticFieldITDOnGeneric.aj b/tests/java5/generics/itds/FieldITDOnGeneric.aj
index 44194fae1..9fb784b62 100644
--- a/tests/java5/generics/itds/StaticFieldITDOnGeneric.aj
+++ b/tests/java5/generics/itds/FieldITDOnGeneric.aj
@@ -8,13 +8,14 @@ class MathUtils<N> {
}
-public class StaticFieldITDOnGenericType {
+public class FieldITDOnGenericType {
public static void main(String[] argv) {
- MathUtils<Integer>.n=42;
- System.err.prinltn(">"+MathUtils<Integer>.n);
+ MathUtils<Integer> mu = new MathUtils<Integer>();
+ mu.n=42;
+ System.err.prinltn(">"+mu.n);
}
}
aspect X {
- static E MathUtils<E>.n;
+ E MathUtils<E>.n;
}