diff options
author | aclement <aclement> | 2011-04-21 15:25:09 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-04-21 15:25:09 +0000 |
commit | 249f832fef29f56e23134a7e38f0bce8e9e209eb (patch) | |
tree | 6667328473ebb9a048224597637a1c7d424941bd /tests/bugs1612 | |
parent | 31b69183e2ffd591a1e457cf3a93e6dc3bd3f1eb (diff) | |
download | aspectj-249f832fef29f56e23134a7e38f0bce8e9e209eb.tar.gz aspectj-249f832fef29f56e23134a7e38f0bce8e9e209eb.zip |
339974: testcode. 342605: testcode (but deactivated)
Diffstat (limited to 'tests/bugs1612')
-rw-r--r-- | tests/bugs1612/pr339974/City.java | 7 | ||||
-rw-r--r-- | tests/bugs1612/pr339974/TrafficCalculator.java | 20 | ||||
-rw-r--r-- | tests/bugs1612/pr342605/Code.java | 5 |
3 files changed, 32 insertions, 0 deletions
diff --git a/tests/bugs1612/pr339974/City.java b/tests/bugs1612/pr339974/City.java new file mode 100644 index 000000000..60ba5a15b --- /dev/null +++ b/tests/bugs1612/pr339974/City.java @@ -0,0 +1,7 @@ +public class City { + + private String name; + + private Country country; +} +class Country {} diff --git a/tests/bugs1612/pr339974/TrafficCalculator.java b/tests/bugs1612/pr339974/TrafficCalculator.java new file mode 100644 index 000000000..398e47bca --- /dev/null +++ b/tests/bugs1612/pr339974/TrafficCalculator.java @@ -0,0 +1,20 @@ +public aspect TrafficCalculator { + + public static class City.TrafficCalculator { + Function<City, Time> EXTREME = createExtremeTraffic(); + Function<City, Time> BASIC = createBasicTraffic(); + } + + + private static Function<City, Time> createExtremeTraffic() { + return null; + } + private static Function<City, Time> createBasicTraffic() { + return null; + } + + public static class Time { } + + +} +class Function<A,B> {} diff --git a/tests/bugs1612/pr342605/Code.java b/tests/bugs1612/pr342605/Code.java new file mode 100644 index 000000000..3d3b790d4 --- /dev/null +++ b/tests/bugs1612/pr342605/Code.java @@ -0,0 +1,5 @@ +import this.is.Madeup; + +public class Code { + public static void main(String []argv) {} +} |