1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
|
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd">
<!--
known keywords:
knownLimitation Accepted limitation of current implementation (fails)
purejava Sources compile under javac as well
broken-test ??
messages-vary one of many (usually two) test specs that differ only in
messages expected by the different compilers.
Currently ajc 1.0 tests are in ajcTests10.xml,
so there may only be one copy marked "messages-vary" here.
new-messages-vary like messages-vary, except need to make ajcTest10 variant
fail-{...} test fails in some configuration
fail-unimplmented eajc throwing "unimplemented" exception
fail-commandLine fails in ajc on command line (move to ajcTestsBroken.xml)
fail-in-eclipse fail when harness in run from inside eclipse
fail-publicType now fixed - no longer presenting error for public type in wrong file
from-{file} from original {file}.txt for file in
java, bigjava, resolved_1*, 14tests, errors, design, base...
incremental-test uses inc-compile step
command-error command-line error test
knownLimitation-ajctaskCompiler
Accepted limitation of the AjcTaskCompilerCommand wrapper
knownLimitation-ajdeCompiler
Accepted limitation of the AJDE CompileCommand wrapper
poorErrorMessages test case passes but errors produced by compiler could do with
improvement
Test titles:
Titles should be unique and not change, and related tests should have the
same title prefix. This permits us to automatically compare the test results
from different versions (and suites), and to see related differences together.
-->
<suite>
<ajc-test dir="base/test100"
title="static and non-static before methods -- one file"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test101"
title="static and non-static before methods -- many files"
keywords="from-base">
<compile files="Driver.java,Foo.java,Bar.java,Pos.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test102"
title="this redirection in non-static before methods" keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test103" title="DEPRECATED: introductions"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test104" title="before constructors -- one file"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test105"
title="advise weaves find methods typed to builtins or non-woven classes"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test106"
title="make sure new weaves work inside of packages" keywords="from-base">
<compile files="Driver.java,pkg/Obj.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test107"
title="make sure new weaves work inside of packages (again)"
keywords="from-base">
<compile
files="Driver.java,C1.java,C2.java,pack1/Foo.java,pack2/Foo.java,pack3/Foo.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test108"
title="Inheritance of class and aspect vars in weaves"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test109"
title="Accessibility of class and aspect members from inside weaves"
keywords="from-base">
<compile files="Driver.java,Aspect.java,Foo.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test110"
title="Packaged aspects referring to packaged classes"
keywords="from-base">
<compile files="Driver.java,pAspect/Aspect.java,pClass/Class.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test111"
title="Inheritance of methods advised by aspects" keywords="from-base">
<compile
files="Driver.java,SubClass.java,SuperClass.java,SuperAspect.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test112" title="Inherited weaves on constructor"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test113" title="Initializers in Aspect and Class Bodies"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test114"
title="Weaver Resolution of method names in method calls passed as args"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test115"
title="DEPRECATED: Introduce constructor with class inheritance"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test116"
title="empty and singular patterns on modifiers and throws"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<!-- we're not implementing static inter-type fields on interfaces in 1.1 -->
<ajc-test dir="base/test117" title="DEPRECATED: introduce of variables"
keywords="from-base,knownLimitation">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test118" title="DEPRECATED: Introduce of constructors"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test119" title="Local declarations in advise bodies"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test120" title="unicodes and literals"
keywords="from-base,purejava">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test121"
title="advises on introduced methods and constructors"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test122"
title="DEPRECATED: Method introduction into interface implemented by abstract class"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test123" title="Crossing super calls in constructors"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test124" title="empty modifier pattern"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test125"
title="Alpha conversion of argument names in designators"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test126" title="For Statement"
keywords="from-base,purejava">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test127"
title="advice uses its own formals to get actuals" keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test128"
title="DEPRECATED: introduce weaves can use this" keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test129"
title="DEPRECATED: introduce of abstract methods works"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test130"
title="multiple arounds successfully intercept and return own values"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test132"
title="proper matching of overloaded constructors" keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test133"
title="correct super call lookup for method().name()"
keywords="from-base,purejava">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test134"
title="proper handling of formals in catch advice" keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test135"
title="proper values for thisJoinPoint attributes" keywords="from-base">
<compile
files="Driver.java,JoinPointFields.java,TopFoo.java,pack/PackFoo.java,pack/JoinPointFields.java,pack/PackJoinPointFields.java"/>
<run class="test135.Driver"/>
</ajc-test>
<ajc-test dir="base/test136" title="supers, supers, supers"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test137"
title="operations on private and protected aspect members (++, -- in partciular)"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test138" title="only register things once"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test139" title="inner aspects and around"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test140"
title="aspect inheritance and advice, introduction" keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test141" title="thisResultObject for primitives"
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base/test142" title="introductions calling super."
keywords="from-base">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="base" pr="384"
title="allow one argument calls even when there's a comma in the arglist"
keywords="from-base">
<compile files="OneArgCallsIsOkay.java"/>
<run class="OneArgCallsIsOkay"/>
</ajc-test>
<ajc-test dir="new"
title="advice on calls to static methods even works when called on super"
keywords="from-base">
<compile files="SuperStaticCallJoinPoint.java"/>
<run class="SuperStaticCallJoinPoint"/>
</ajc-test>
<ajc-test dir="new" pr="99"
title="combined logic expression (handling coericions vs. parens)"
keywords="from-java,purejava">
<compile files="CombinedLogic.java"/>
<run class="CombinedLogic"/>
</ajc-test>
<ajc-test dir="new" pr="99"
title="comment after class closes (with no new line at end)"
keywords="from-java,purejava">
<compile files="CommentAfterClass.java"/>
<run class="CommentAfterClass"/>
</ajc-test>
<ajc-test dir="new" title="handle multiple nested inner classes"
keywords="from-java">
<compile files="InnerHell.java"/>
<run class="InnerHell"/>
</ajc-test>
<ajc-test dir="new" pr="108" title="multi-dimensional array initializers"
keywords="from-java,purejava">
<compile files="MultiArrays.java"/>
<run class="MultiArrays"/>
</ajc-test>
<ajc-test dir="new" pr="125"
title="probelm with the generated names of exceptions"
keywords="from-java,purejava">
<compile files="ExceptionNames.java"/>
<run class="ExceptionNames"/>
</ajc-test>
<ajc-test dir="new" pr="109"
title="checks if the class field can be used on all of the primitive types"
keywords="from-java,purejava">
<compile files="ClassFieldOnPrimitiveType.java"/>
<run class="ClassFieldOnPrimitiveType"/>
</ajc-test>
<ajc-test dir="new/volatileKeyword" pr="151"
title="advice on a static method" keywords="from-java">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/innerConsSyntax" pr="192"
title="inner constructor syntax causes compile error" keywords="from-java">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/paramWidening" pr="195"
title="widening of method parameters to match javac" keywords="from-java">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="pureJava/equalsMethOnStr" pr="214"
title="equals method on quoted strings" keywords="from-java">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="313"
title="parenthesized string literals matching primitive type names"
keywords="from-java">
<compile files="ParenPrimitive.java"/>
<run class="ParenPrimitive"/>
</ajc-test>
<ajc-test dir="pureJava/anonInnerClass" pr="294"
title="anonymous inner class" keywords="from-java">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" title="simple type coercions tests" keywords="from-java">
<compile files="TypeCoercions.java"/>
<run class="TypeCoercions"/>
</ajc-test>
<ajc-test dir="new" title="order of type declarations shouldn't matter"
keywords="from-java">
<compile files="OrderOfTypes.java"/>
<run class="OrderOfTypes"/>
</ajc-test>
<ajc-test dir="pureJava"
title="parsing of parenthesized 'this' (in returns)" keywords="from-java">
<compile files="ReturnThis.java"/>
<run class="ReturnThis"/>
</ajc-test>
<ajc-test dir="new" title="Scanner non recognizing strictfp."
keywords="from-java">
<compile files="StrictFp.java"/>
<run class="StrictFp"/>
</ajc-test>
<ajc-test dir="pureJava" title="Strings are folded and interned correctly"
keywords="from-java">
<compile files="StringFold.java"/>
<run class="StringFold"/>
</ajc-test>
<ajc-test dir="pureJava" title="Cast binds tighter than equality tests"
keywords="from-java">
<compile files="CastAndBinary.java"/>
<run class="CastAndBinary"/>
</ajc-test>
<ajc-test dir="pureJava" title="Boundary base values can be parsed"
keywords="from-java">
<compile files="BoundaryNums.java"/>
<run class="BoundaryNums"/>
</ajc-test>
<ajc-test dir="pureJava"
title="State is passed correctly across nested annonymous inners"
keywords="from-java">
<compile files="NestedInners.java"/>
<run class="NestedInners"/>
</ajc-test>
<ajc-test dir="pureJava"
title="?: expressions should typecheck in interesting ways"
keywords="from-java">
<compile files="TriTestTypecheck.java"/>
<run class="TriTestTypecheck"/>
</ajc-test>
<ajc-test dir="pureJava"
title="cast expressions should allow casts to/from interfaces at compile-time."
keywords="from-java">
<compile files="InterfaceCast.java"/>
<run class="InterfaceCast"/>
</ajc-test>
<ajc-test dir="pureJava"
title="various anonymous inner classes plus super types tests"
keywords="from-java">
<compile files="InnerSuper.java"/>
<run class="InnerSuper"/>
</ajc-test>
<ajc-test dir="new"
title="Doesn't parse an array-returning method that throws an exception"
keywords="from-java,purejava">
<compile files="ArrayMethod.java"/>
<run class="ArrayMethod"/>
</ajc-test>
<ajc-test dir="new"
title="Crashes when a lot of zeros are in front of a double variable [!!! purejava]"
keywords="from-java">
<compile files="Zeros.java"/>
<run class="Zeros"/>
</ajc-test>
<ajc-test dir="pureJava" title="Various comment syntaxes should be handled."
keywords="from-java">
<compile files="CommentSyntax.java"/>
<run class="CommentSyntax"/>
</ajc-test>
<ajc-test dir="pureJava/abstractInner"
title="Abstract inner classes across package boundaries"
keywords="from-java">
<compile files="C.java,pkg/A.java"/>
<run class="C"/>
</ajc-test>
<ajc-test dir="pureJava"
title="inner classes accessing outers and some more inner class names"
keywords="from-java">
<compile files="InnerAccess.java"/>
<run class="InnerAccess"/>
</ajc-test>
<ajc-test dir="pureJava"
title="remember to cast folded values down to the proper types."
keywords="from-java">
<compile files="CastingFoldedValues.java"/>
<run class="CastingFoldedValues"/>
</ajc-test>
<ajc-test dir="pureJava"
title="inner classes can be built using protected constructors in super"
keywords="from-java">
<compile files="VariousConstructors.java"/>
<run class="VariousConstructors"/>
</ajc-test>
<ajc-test dir="pureJava"
title="check that nested constructions of local classes work"
keywords="from-java,purejava">
<compile files="NestedConstructionsOfLocalClasses.java"/>
<run class="NestedConstructionsOfLocalClasses"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Make sure anonymous classes can have non-nullary constructors"
keywords="from-java,purejava">
<compile files="NonNullaryAnonymous.java"/>
<run class="NonNullaryAnonymous"/>
</ajc-test>
<ajc-test dir="new" pr="417"
title="Full names are dropped from inner interfaces"
keywords="from-java,purejava">
<compile files="PR417a.java"/>
<run class="PR417a"/>
</ajc-test>
<ajc-test dir="new" pr="417"
title="Making sure full names stay on static inner classes"
keywords="from-java,purejava">
<compile files="PR417b.java"/>
<run class="PR417b"/>
</ajc-test>
<ajc-test dir="pureJava" pr="401"
title="The current AspectJ compiler cannot parse qualified superclass constructor invocations"
keywords="from-java">
<compile files="QualifiedSuperClassConstructorInvocations_PR401.java"/>
<run class="QualifiedSuperClassConstructorInvocations_PR401"/>
</ajc-test>
<ajc-test dir="pureJava" pr="421"
title="More thourough test of static members using full names"
keywords="from-java">
<compile
files="Statics.java,StaticMembers_PR421.java,p1/C1.java,p1/P1Statics.java,p1/subp1/SubC1.java,p1/p2/P1P2Statics.java"/>
<run class="StaticMembers_PR421"/>
</ajc-test>
<ajc-test dir="pureJava" pr="421"
title="More thourough test of static members using imports"
keywords="from-java">
<compile
files="Statics.java,StaticMembersImports_PR421.java,p1/C1.java,p1/P1Statics.java,p1/subp1/SubC1.java,p1/p2/P1P2Statics.java"/>
<run class="StaticMembersImports_PR421"/>
</ajc-test>
<ajc-test dir="pureJava/conflictingPackageNames" pr="437"
title="Looking in class Java for java.lang.String WITH separate compilation"
keywords="from-java">
<compile files="Java.java"/>
<compile files="Main.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="pureJava/conflictingPackageNames" pr="437"
title="Looking in class Java for java.lang.String WITHOUT separate compilation"
keywords="from-java">
<compile files="Main.java,Java.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="pureJava/conflictingPackageNamesWithPackages" pr="437"
title="Looking in class Java for java.lang.String WITH separate compilation with packages"
keywords="from-java">
<compile files="Java.java"/>
<compile files="Main.java"/>
<run class="conflictingPackageNamesWithPackages.Main"/>
</ajc-test>
<ajc-test dir="pureJava/conflictingPackageNamesWithPackages" pr="437"
title="Looking in class Java for java.lang.String WITHOUT separate compilation with packages"
keywords="from-java">
<compile files="Main.java,Java.java"/>
<run class="conflictingPackageNamesWithPackages.Main"/>
</ajc-test>
<ajc-test dir="pureJava" title="Testing ternary operations."
keywords="from-java">
<compile files="MultiTernaryOps.java"/>
<run class="MultiTernaryOps"/>
</ajc-test>
<ajc-test dir="pureJava" title="Lifting locals in switch statements."
keywords="from-java">
<compile files="SwitchStmtLocals.java"/>
<run class="SwitchStmtLocals"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Getting confused when looking up method signatures"
keywords="from-java">
<compile files="MethodSigs.java"/>
<run class="MethodSigs"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Not recognizing the chars '\0', '\1', '\2', '\3', '\4', '\5', '\6', '\7'"
keywords="from-java">
<compile files="Chars.java"/>
<run class="Chars"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Test chars '\0', '\1', '\2', '\3', '\4', '\5', '\6', '\7' with a case statement"
keywords="from-java">
<compile files="CaseClauses.java"/>
<run class="CaseClauses"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Checking character values with all the unicode chars."
keywords="from-java">
<compile files="CharsUnicode.java"/>
<run class="CharsUnicode"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Trouble finding methods with the same name and different parameter types"
keywords="from-java">
<compile files="MethodsWithTheSameName.java"/>
<run class="MethodsWithTheSameName"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Binding non-public static inner classes of interfaces in other packages"
keywords="from-java">
<compile
files="StaticClassesInInterfaces.java,anotherPackage/AnotherPackageInterface.java"/>
<run class="StaticClassesInInterfaces"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Not recognizing the octal chars '\0', '\1', '\2', '\3', '\4', '\5', '\6', '\7'"
keywords="from-java">
<compile files="OctalChars.java"/>
<run class="OctalChars"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Members with the same name as their package cause confusion with fully-qualified names."
keywords="from-java">
<compile files="samenames/Main.java,samenames/Other.java"/>
<run class="samenames.Main"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Fully-qual'ed names with same start as variable names"
keywords="from-java">
<compile files="FullNames.java"/>
<run class="FullNames"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Fully qualifying inner classes within annonymous classes causes problems."
keywords="from-java">
<compile files="InnerClassesInAnnonymousClasses.java"/>
<run class="InnerClassesInAnnonymousClasses"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Calls to methods in outer annonymous classes are being qual's incorrectly with 'this'"
keywords="from-java">
<compile files="MisplacedThisInAnnonymousInnerClasses.java"/>
<run class="MisplacedThisInAnnonymousInnerClasses"/>
</ajc-test>
<ajc-test dir="pureJava/innersFromSourceAndBytecode"
title="Reading inner classes from source and bytecode (1) -- was failing"
keywords="from-java">
<compile files="C.java,D.java"/>
<compile files="Main.java,C.java"
includeClassesDir="true"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="pureJava/innersFromSourceAndBytecode"
title="Reading inner classes from source and bytecode (2)"
keywords="from-java">
<compile files="Main.java,C.java,D.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="pureJava/innersFromSourceAndBytecode"
title="Reading inner classes from source and bytecode (3)"
keywords="from-java">
<compile files="C.java,D.java"/>
<compile files="Main.java,C.java,D.java"
includeClassesDir="true"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Not lifting types correctly with bytes and shorts with ternary ops"
keywords="from-java">
<compile files="TernaryPrimitiveOps.java"/>
<run class="TernaryPrimitiveOps"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Not looking up methods inside of anonymous declarations correctly."
keywords="from-java">
<compile files="AnonymousMethodLookup.java"/>
<run class="AnonymousMethodLookup"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Resolving extended classes with array parameters"
keywords="from-java">
<compile files="ResolvingArrayParameters.java"/>
<run class="ResolvingArrayParameters"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Assignments as second arguments in ternary operators."
keywords="from-java">
<compile files="TernaryAssignments.java"/>
<run class="TernaryAssignments"/>
</ajc-test>
<ajc-test dir="pureJava" title="Using 'aspect' as identifier is legal TODO"
keywords="from-java,purejava">
<compile files="KeywordAspect.java"/>
<run class="KeywordAspect"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Using 'pointcut' as identifier is legal TODO"
keywords="from-java,purejava">
<compile files="KeywordPointcut.java"/>
<run class="KeywordPointcut"/>
</ajc-test>
<ajc-test dir="pureJava" title="Conflicting inner classes with interfaces."
keywords="from-java">
<compile files="PR413.java"/>
<run class="PR413"/>
</ajc-test>
<ajc-test dir="new" pr="408"
title="Not binding constructor when using more than one compilation"
keywords="from-java,purejava">
<compile files="OuterAbstract_PR408.java"/>
<compile files="ExtendsOuterAbstract_PR408.java"/>
<compile files="ConstructorNotFound_PR408.java"/>
<run class="ConstructorNotFound_PR408"/>
</ajc-test>
<ajc-test dir="pureJava" title="confusions of casts and parens"
keywords="from-java">
<compile files="CastVsParen.java"/>
<run class="CastVsParen"/>
</ajc-test>
<ajc-test dir="pureJava"
title="default constructors seen by inner classes subtyping outers"
keywords="from-java">
<compile files="DefaultConsAndInner.java"/>
<run class="DefaultConsAndInner"/>
</ajc-test>
<ajc-test dir="pureJava"
title="folding fields set to anonymous instances containing self-references"
keywords="from-java">
<compile files="AnonFolding.java"/>
<run class="AnonFolding"/>
</ajc-test>
<ajc-test dir="pureJava"
title="finally at the end of a method that needs to return"
keywords="from-java">
<compile files="FinallyAndReturns.java"/>
<run class="FinallyAndReturns"/>
</ajc-test>
<ajc-test dir="pureJava" title="return;;; is not really legal"
keywords="from-java,purejava">
<compile files="ReachableEmpty.java">
<message kind="error" line="5"/>
<message kind="error" line="9"/>
<message kind="error" line="13"/>
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="ajc treating Throwable as checked, issuing error if not found"
keywords="from-java,purejava">
<compile files="FalseThrowsCE.java"/>
<run class="FalseThrowsCE"/>
</ajc-test>
<ajc-test dir="pureJava"
title="overriding methods from object in interfaces and multiple-inheritance"
keywords="from-java">
<compile files="InterfaceAndObject.java"/>
<run class="InterfaceAndObject"/>
</ajc-test>
<ajc-test dir="pureJava"
title="private fields in an outer class accessed by an inner which also extends the outer"
keywords="from-java">
<compile files="PrivateFields.java"/>
<run class="PrivateFields"/>
</ajc-test>
<ajc-test dir="pureJava"
title="breaking out of a labeled block inside of an if"
keywords="from-java">
<compile files="Breaks.java"/>
<run class="Breaks"/>
</ajc-test>
<ajc-test dir="pureJava"
title="abstractifying a method and getting it back through super"
keywords="from-java">
<compile files="Abstracts.java"/>
<run class="Abstracts"/>
</ajc-test>
<ajc-test dir="new" pr="328"
title="package protected classes becoming public"
keywords="from-java,purejava">
<compile files="PR328.java"/>
<run class="PR328"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Packages and static classes with the same name produce compile errors."
keywords="from-java">
<compile files="PackagesAndStaticClassesWithTheSameName.java"/>
<run class="PackagesAndStaticClassesWithTheSameName"/>
</ajc-test>
<ajc-test dir="pureJava/innerTypeModifiers"
title="Inner types must generate classfiles with only Public/Default access flags."
keywords="from-java">
<compile files="pkg1/Main.java,pkg2/Foo.java"/>
<run class="pkg1.Main"/>
</ajc-test>
<ajc-test dir="pureJava/innerDefaultConstructors"
title="Default constructors have same access as their enclosing type"
keywords="from-java">
<compile files="pkg1/Main.java,pkg2/Foo.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="Returning primitive values matching method return type (minimal)"
keywords="from-java">
<compile files="ReturnTypes.java"/>
<run class="ReturnTypes"/>
</ajc-test>
<ajc-test dir="pureJava" title="Flow analysis and if(true)"
keywords="from-java">
<compile files="Flow.java"/>
<run class="Flow"/>
</ajc-test>
<ajc-test dir="pureJava"
title="packages and generated inner types (for I.class)"
keywords="from-java">
<compile files="InterfaceAndClass.java"/>
<run class="p.InterfaceAndClass"/>
</ajc-test>
<ajc-test dir="pureJava" title="A.this exprs match by exact type matching"
keywords="from-java">
<compile files="QualifiedThisMatchesExactly.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="Implicit this for new inner instance must be avaliable"
keywords="from-java">
<compile files="ImplicitThisMissing.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="Inners can reference protected fields of their outer's super."
keywords="from-java">
<compile
files="protectedFieldRefInInner/Main.java,protectedFieldRefInInner/p1/C.java"/>
<run class="protectedFieldRefInInner.Main"/>
</ajc-test>
<ajc-test dir="new" title="IOException on windows if nul used as identifier"
keywords="from-java,purejava">
<compile files="NulIOException.java">
<message kind="error" line="12"/>
<message kind="error" line="14"/>
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="NullPointerException (not compiler error) when extending non-static inner class"
keywords="from-java,purejava">
<compile files="ExtendInnerCE.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="compiler flags final static variable as indefinite in member assignment."
keywords="from-java,purejava">
<compile files="DefiniteStatic.java"/>
<run class="DefiniteStatic"/>
</ajc-test>
<ajc-test dir="new"
title="confirm no IOException on windows if nul used as identifier"
keywords="from-java,purejava">
<compile files="NulIOException2.java"/>
<run class="NulIOException2"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Primitives that special case for a constant arm should work"
keywords="from-java">
<compile files="OneArmedPrimitiveTests.java"/>
<run class="OneArmedPrimitiveTests"/>
</ajc-test>
<ajc-test dir="pureJava" title="Parenthesized true and false don't parse"
keywords="from-java">
<compile files="ParenKeywords.java"/>
<run class="ParenKeywords"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Field sets to public fields of private fields of enclosing types"
keywords="from-java">
<compile files="InnerFieldRef.java"/>
<run class="InnerFieldRef"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Constant values should be stored with the correct type of their fields"
keywords="from-java">
<compile files="ConstantValueConversion.java"/>
<run class="ConstantValueConversion"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Local variables in initializers should not be treated as blank final fields"
keywords="from-java">
<compile files="LocalInitializerVariableNotBlank.java"/>
<run class="LocalInitializerVariableNotBlank"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Binops aren't allowed as update stmts in for loops"
keywords="from-java">
<compile files="NonStmtInFor.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="Can't avoid doing division in case of div by zero"
keywords="from-java">
<compile files="DivOpMustHappen.java"/>
<run class="DivOpMustHappen"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Testing frames w/greater than FF locals and 7F incs (i.e., WIDE instruction)"
keywords="from-java">
<compile files="BigFrameTest.java"/>
<run class="BigFrameTest"/>
</ajc-test>
<ajc-test dir="pureJava" title="correct numeric literals"
keywords="from-java">
<compile files="LiteralsCp.java"/>
<run class="LiteralsCp"/>
</ajc-test>
<ajc-test dir="pureJava" title="invalid numeric literals"
keywords="from-java">
<compile files="LiteralsCf.java">
<message kind="error" line="8"/>
<message kind="error" line="9"/>
<message kind="error" line="10"/>
<message kind="error" line="11"/>
<message kind="error" line="12"/>
<message kind="error" line="17"/>
<message kind="error" line="18"/>
<message kind="error" line="19"/>
<message kind="error" line="20"/>
<message kind="error" line="21"/>
<message kind="error" line="22"/>
<message kind="error" line="23"/>
<message kind="error" line="25"/>
<message kind="error" line="27"/>
<message kind="error" line="28"/>
<message kind="error" line="29"/>
<message kind="error" line="30"/>
<message kind="error" line="32"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" pr="538"
title="inner types can't have the same simple name as an enclosing type"
keywords="from-java">
<compile files="InnerNameConflictsCf.java">
<message kind="error" line="9"/>
<message kind="error" line="14"/>
<message kind="error" line="20"/>
<message kind="error" line="21"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="test the unops and binops with various values" keywords="from-java">
<compile files="BigOps.java"/>
<run class="BigOps"/>
</ajc-test>
<ajc-test dir="pureJava"
title="test + and += for strings and variously typed values"
keywords="from-java">
<compile files="BigString.java"/>
<run class="BigString"/>
</ajc-test>
<ajc-test dir="pureJava" title="test try/catch/finally statements"
keywords="from-java">
<compile files="TryCatchFinally.java"/>
<run class="TryCatchFinally"/>
</ajc-test>
<ajc-test dir="pureJava" pr="547"
title="local types can be bound in the signatures of other local types"
keywords="from-resolved_10rc3,from-java">
<compile files="LocalInners.java"/>
<run class="LocalInners"/>
</ajc-test>
<ajc-test dir="new"
title="final constructor parameter causes incorrect compiler error"
keywords="from-java,purejava">
<compile files="FinalConstructorParm.java"/>
<run class="FinalConstructorParm"/>
</ajc-test>
<ajc-test dir="new" title="Error expected for field of type void"
keywords="from-java,purejava">
<compile files="VoidField.java">
<message kind="error" line="2"/>
<message kind="error" line="4"/>
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="new" title="Error expected for constructor in interfaces"
keywords="from-java,purejava">
<compile files="InterfaceConstructor.java">
<message kind="error" line="2"/>
<message kind="error" line="6"/>
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="558"
title="class name for identifier as String should provoke error"
keywords="from-java,purejava">
<compile files="PR558.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="567"
title="cyclic interface inheritance not detected if no classes implement the interfaces"
keywords="from-java,purejava,messages-vary">
<compile files="CyclicInterfaceInheritance.java"
options="!eclipse">
<message kind="error" line="14"/>
<message kind="error" line="15"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="567" title="cyclic class inheritance"
keywords="from-java,purejava">
<compile files="CyclicClassInheritance.java">
<message kind="error" line="11"/>
<message kind="error" line="12"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="Type names are not expressions on their own"
keywords="from-java,purejava">
<compile files="TypeExprErrors.java">
<message kind="error" line="10"/>
<message kind="error" line="17"/>
<message kind="error" line="18"/>
<message kind="error" line="19"/>
<message kind="error" line="20"/>
<message kind="error" line="21"/>
<message kind="error" line="22"/>
<message kind="error" line="23"/>
<message kind="error" line="24"/>
<message kind="error" line="25"/>
<message kind="error" line="26"/>
<message kind="error" line="27"/>
<message kind="error" line="28"/>
<message kind="error" line="29"/>
<message kind="error" line="30"/>
<message kind="error" line="31"/>
<message kind="error" line="32"/>
<message kind="error" line="33"/>
<message kind="error" line="34"/>
<message kind="error" line="36"/>
<message kind="error" line="37"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava/nameConflicts"
title="type and package name conflicts are resolved happily (1a)"
keywords="from-java,purejava">
<compile files="p1/Main1.java,p1/Foo.java,p1/p2.java"/>
<run class="p1.Main1"/>
</ajc-test>
<ajc-test dir="pureJava/nameConflicts"
title="(fails in USEJAVAC) type and package name conflicts are resolved happily (1b)"
keywords="from-java,purejava">
<compile files="p1.java,p1/p2/Foo.java"/>
<compile files="p1/Main1.java,p1/Foo.java,p1/p2.java"/>
<run class="p1.Main1"/>
</ajc-test>
<ajc-test dir="pureJava/nameConflicts"
title="type and package name conflicts are resolved happily (2)"
keywords="from-java">
<compile files="p1/Main2.java,p1/p2/Foo.java"/>
<run class="p1.Main2"/>
</ajc-test>
<ajc-test dir="pureJava/nameConflicts"
title="type and package name conflicts caught as errors (1)"
keywords="from-java,purejava">
<compile files="p1/p2.java,p1/Main1.java,p1/Foo.java,p1/p2/Foo.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="flow analysis where final variable set in another constructor"
keywords="from-java,purejava">
<compile files="ConstructorFlow.java"/>
<run class="ConstructorFlow"/>
</ajc-test>
<ajc-test dir="new" pr="584"
title="Can construct inner classes using qualified expressions"
keywords="from-java,purejava">
<compile files="PR584.java"/>
<run class="PR584"/>
</ajc-test>
<ajc-test dir="new/protectedStatic" pr="585"
title="subclass unable to access protected static methods using type-qualified references"
keywords="from-java,purejava">
<compile files="SubClass.java,pack/SuperClass.java"/>
<run class="SubClass"/>
</ajc-test>
<ajc-test dir="new" pr="588" title="Undefined inner class constructor"
keywords="from-java,purejava">
<compile files="UndefinedInner.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="try statements work sorta like scoped items for exception flow control"
keywords="from-java">
<compile files="TryWorksLikeEnvironment.java"/>
<run class="TryWorksLikeEnvironment"/>
</ajc-test>
<ajc-test dir="pureJava"
title="qualified this must work exactly, not based on subtypes"
keywords="from-java">
<compile files="QualifiedThisExactness.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="new/packagePrefix" pr="574"
title="classes that are package prefixes are illegal"
keywords="from-java,purejava,messages-vary">
<compile files="p/prefix.java,p/prefix/SomeClass.java"
options="!eclipse">
<message kind="error" line="2"/>
</compile>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="valid type expressions for introduced type testing"
keywords="from-java,purejava">
<compile files="TargetClass.java,Util.java"/>
<run class="TargetClass"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="CF expected when enclosing class superclass used as this qualifier in inner class"
keywords="from-java">
<compile files="TargetClassCF.java,Util.java">
<message kind="error" line="22"/>
<message kind="error" line="23"/>
<message kind="error" line="27"/>
<message kind="error" line="28"/>
</compile>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="enclosing class may be used as this qualifier in inner class"
keywords="from-java">
<compile files="TargetClassCP.java,Util.java"/>
<run class="TargetClassCP"/>
</ajc-test>
<ajc-test dir="new"
title="PR591 compiler error expected when directly calling unimplemented abstract method using super"
keywords="from-java,purejava">
<compile files="AbstractMethodCall.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="suggested by Jacks 15.28-qualified-namestr tests"
keywords="from-java,purejava,messages-vary">
<compile files="NonConstants.java"
options="!eclipse">
<message kind="error" line="13"/>
<message kind="error" line="14"/>
<message kind="error" line="15"/>
<message kind="error" line="16"/>
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="nested finally blocks have interesting frame location problems"
keywords="from-java">
<compile files="NestedFinally.java"/>
<run class="NestedFinally"/>
</ajc-test>
<ajc-test dir="pureJava"
title="suggested by jacks 3.7-15 all comments must be closed"
keywords="from-java,purejava">
<compile files="OpenComment.java">
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" pr="601"
title="nested synchronized blocks have interesting frame location problems"
keywords="from-java">
<compile files="NestedSynchronized.java"/>
<run class="NestedSynchronized"/>
</ajc-test>
<ajc-test dir="new/classaccess"
title="package class access not enforced outside of package"
keywords="from-java,purejava">
<compile files="main/Main.java,pack1/Target.java">
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="631" title="expecting CE for ambiguous reference"
keywords="from-java,purejava">
<compile files="AmbiguousClassReference.java">
<message kind="error" line="11"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="643" title="try without catch or finally"
keywords="from-java,purejava,message-vary">
<compile files="TryNoCatchCE.java"
options="!eclipse">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="642" title="invalid floating-point constant"
keywords="from-java,purejava,messages-vary">
<compile files="ParsingFloatCE.java"
options="!eclipse">
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="anonymous inner classes with inner types"
keywords="from-java">
<compile files="AnonymousWithInner.java"/>
<run class="AnonymousWithInner"/>
</ajc-test>
<ajc-test dir="pureJava" pr="651" title="qualified super call expr"
keywords="from-java">
<compile files="QualifiedSuperCall.java"/>
<run class="QualifiedSuperCall"/>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="concrete aspect unable to access abstract package-private method in parent for overriding"
keywords="from-java,purejava,messages-vary"
comment="XXX fix source - package-private">
<compile files="parent/ParentMethodCE.java,child/ChildMethodCE.java"
options="!eclipse">
<message kind="warning" line="28"/>
<message kind="error" line="27"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="super reference used to disambiguate names of different but compatible types"
keywords="from-java,purejava">
<compile files="SuperDisambiguatingType.java"/>
<run class="SuperDisambiguatingType"/>
</ajc-test>
<ajc-test dir="pureJava" title="anonymous explicit inner constructors"
keywords="from-java,purejava">
<compile files="QualifiedNewCP.java"/>
<run class="QualifiedNewCP"/>
</ajc-test>
<ajc-test dir="pureJava" pr="680"
title="interfaces with non-explicitly static inner classes"
keywords="from-java">
<compile files="InterfaceAndInnerHelper.java"/>
<compile files="InterfaceAndInner.java"
includeClassesDir="true"/>
<run class="InterfaceAndInner"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Overruning the lineStarts buffer, DO NOT EDIT THIS FILE!!!!"
keywords="from-java,purejava">
<compile files="AJError.java"/>
<run class="AJError"/>
</ajc-test>
<ajc-test dir="new" pr="701" title="no CE for unambiguous type reference"
keywords="from-java,purejava">
<compile files="UnambiguousClassReference3CP.java"/>
<run class="UnambiguousClassReference3CP"/>
</ajc-test>
<ajc-test dir="new" pr="701"
title="CE for ambiguous type reference (imports)"
keywords="from-java,purejava">
<compile files="AmbiguousClassReference2CE.java">
<message kind="error" line="2"/>
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="701"
title="CE for ambiguous type reference (two type declarations)"
keywords="from-java,purejava,messages-vary">
<compile files="AmbiguousClassReference3CE.java"
options="!eclipse">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="701"
title="CE for ambiguous type reference (two inner types)"
keywords="from-java,purejava,messages-vary">
<compile files="AmbiguousClassReference4CE.java"
options="!eclipse">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="709" title="final assignment in loop"
keywords="from-java,purejava">
<compile files="FinalInLoop.java"/>
<run class="FinalInLoop"/>
</ajc-test>
<ajc-test dir="pureJava" title="private super access in inners"
keywords="from-java,purejava">
<compile files="PrivateSuperInnerAccess.java"/>
<run class="PrivateSuperInnerAccess"/>
</ajc-test>
<ajc-test dir="pureJava"
title="nested interface does not require new qualifier (8)"
keywords="from-java,purejava">
<compile files="InvalidNewQualifier8CE.java">
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="nested interface does not require new qualifier (9)"
keywords="from-java,purejava">
<compile files="InvalidNewQualifier9CE.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="nested interface does not require new qualifier (10)"
keywords="from-java,purejava">
<compile files="InvalidNewQualifier10CE.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="nested interface does not require new qualifier (14)"
keywords="from-java,purejava">
<compile files="InvalidNewQualifier14CE.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="nested interface does not require new qualifier (15)"
keywords="from-java,purejava">
<compile files="InvalidNewQualifier15CE.java">
<message kind="error" line="15"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="nested interface does not require new qualifier (16)"
keywords="from-java,purejava">
<compile files="InvalidNewQualifier16CE.java">
<message kind="error" line="16"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="Operands work correctly"
keywords="from-bigjava">
<compile files="Ops.java"/>
<run class="Ops"/>
</ajc-test>
<ajc-test dir="errors"
title="reasonable error for crosscut reference with no formals specified"
keywords="from-errors">
<compile files="NoFormalsCrosscut.java">
<message kind="error" line="6"/>
<message kind="error" line="7"/>
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="reasonable error for introduction on type whose source isn't found"
keywords="from-errors">
<compile files="NoSource.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="check that constructor name's match the enclosing type"
keywords="from-errors,purejava">
<compile files="BadConstructorName.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="handle errors in crosscut designators, insist that they end with a semicolon"
keywords="from-errors">
<compile files="BadDesignator.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="errors for not applicable or accessible methods"
keywords="from-errors,purejava">
<compile files="MethodsNotFound.java">
<message kind="error" line="4"/>
<message kind="error" line="8"/>
<message kind="error" line="12"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="try to return from a before, after, after throwing and after returning"
keywords="from-errors">
<compile files="InvalidReturn.java">
<message kind="error" line="12"/>
<message kind="error" line="16"/>
<message kind="error" line="19"/>
<message kind="error" line="22"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="130"
title="the designator has a wildcard for method name but no return type specified"
keywords="from-errors">
<compile files="NoReturnTypeInDesignator.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="the designator for the introduction has no type after the | charcter"
keywords="from-errors">
<compile files="BadIntroductionDesignator.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="140" title="crosscut signature does not match"
keywords="from-errors">
<compile files="BadCCutSig.java">
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="proper exit conditions when errors fall through to javac"
keywords="from-errors">
<compile files="FromJavac.java">
<message kind="error" line="11"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="213"
title="mismatched parens on advice (wasn't binding Tester)"
keywords="from-errors">
<compile files="MismatchedParens.java">
<message kind="error" line="16"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="209" title="Non-static advice silently ignored"
keywords="from-errors">
<compile files="BadPointcutName.java">
<message kind="error" line="15"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="218"
title="import statement within class body crashes compiler"
keywords="from-errors,purejava">
<compile files="ImportWithinClassBody.java">
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="219" title="extra closing brace"
keywords="from-errors">
<compile files="ExtraClosingBrace.java">
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="244"
title="decent errors for around return type not matching target point"
keywords="from-errors">
<compile files="AroundReturnType.java">
<message kind="error" line="3"/>
<message kind="error" line="7"/>
<message kind="error" line="16"/>
<message kind="error" line="21"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="eachobject: can't call new on an aspect of"
keywords="from-errors">
<compile files="CantCallConstructorOnAspects.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="eachobject: only zero-argument constructors allowed in an aspect"
keywords="from-errors,fail-unimplemented">
<compile files="AspectsCantHaveYesArgumentConstructors.java">
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="eachobject: can't extend a concrete aspect"
keywords="from-errors,fail-unimplemented">
<compile files="SubAspectsCantExtendNonAbstractAspects.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="271" title="instanceof used without a class"
keywords="from-errors">
<compile files="InstanceofWithoutClass.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="280" title="wildcard used for returns clause"
keywords="from-errors">
<compile files="WildcardForReturns.java">
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="280" title="no return statement in around advice"
keywords="from-errors,new-messages-vary">
<compile files="NoReturnStatement.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="286"
title="inner aspects must be static (no longer matches PR#286)"
keywords="from-errors,fail-unimplemented">
<compile files="AbstractAspectOf.java">
<message kind="error" line="12"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Casting class declarations as interfaces"
keywords="from-errors">
<compile files="InterfaceCast.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="omits a variable name and crashes with a null pointer"
keywords="from-errors">
<compile files="BindingNullPointer.java">
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Not generating an error for using new as a method name"
keywords="from-errors">
<compile files="New.java">
<message kind="error" line="12"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="ClassCastException on the int literal"
keywords="from-errors">
<compile files="IntLiteral.java">
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="Wrong strictfp keyword usage in interface function prototype [TODO: move to errors]"
keywords="from-errors">
<compile files="StrictFpCErr1.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="Wrong strictfp keyword usage in field declaration [TODO: move to errors]"
keywords="from-errors">
<compile files="StrictFpCErr2.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="Wrong strictfp keyword usage in constructor declaration [TODO: move to errors]"
keywords="from-errors">
<compile files="StrictFpCErr3.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Incorrect static casts to primitively foldable arguments should not crash the compiler."
keywords="from-errors">
<compile files="BadStaticCast.java">
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Dominates with commas should signal an error."
keywords="from-errors">
<compile files="DominatesWithCommas.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Accessing instance fields and instance methods statically."
keywords="from-errors,purejava">
<compile files="AccessingInstanceFieldsStatically.java">
<message kind="error" line="15"/>
<message kind="error" line="16"/>
<message kind="error" line="17"/>
<message kind="error" line="18"/>
<message kind="error" line="26"/>
<message kind="error" line="27"/>
<message kind="error" line="30"/>
<message kind="error" line="38"/>
<message kind="error" line="39"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="95"
title="stack overflow with recursive crosscut specifier"
keywords="from-errors">
<compile files="RecursiveCCutSpecifier.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Throwing a NullPointerException when formals can't be bound in named pointcut"
keywords="from-errors">
<compile files="BadFormalsToCalls.java">
<message kind="error" line="22"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="385"
title="disallow defining more than one pointcut with the same name"
keywords="from-errors,fail-unimplemented">
<compile files="OverloadedPointcuts.java">
<message kind="error" line="4"/>
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="pre 0.7 introduction form outside aspect body causes an EmptyStackException"
keywords="from-errors">
<compile files="BadIntroduction.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="a class can't extend an aspect"
keywords="from-errors,fail-unimplemented">
<compile files="ClassExtendingAspect.java">
<message kind="error" line="19"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="a before() clause at the class-level causes an EmptyStackException"
keywords="from-errors">
<compile files="TopLevelBefore.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="an after() clause at the class-level causes an EmptyStackException"
keywords="from-errors">
<compile files="TopLevelAfter.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="an around() clause at the class-level causes an EmptyStackException"
keywords="from-errors">
<compile files="TopLevelAround.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Crashes when a cast is within another cast"
keywords="from-errors,purejava">
<compile files="CastInCast.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Crashes when a cast of the form )int) appears"
keywords="from-errors,purejava,messages-vary">
<compile files="BadCast.java"
options="!eclipse">
<message kind="error" line="9"/>
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Crashes when the closing brace is reversed"
keywords="from-errors,purejava,messages-vary">
<compile files="ClosingBrace.java"
options="!eclipse">
<message kind="error" line="11"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Crashes when a method name is missing in a call -- e.g. 'System.out.();'"
keywords="from-errors,purejava">
<compile files="NoMethodName.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Crashes when a bad r-value appears."
keywords="from-errors,purejava">
<compile files="BadValue.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Two underscores as a variables causes a crash"
keywords="from-errors,purejava">
<compile files="BadVar.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Crashes when assigning to a final static in an intializer and declaration"
keywords="from-errors,purejava">
<compile files="FinalStatic.java">
<message kind="error" line="13"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Crashes when two dots appear instead of one"
keywords="from-errors,purejava">
<compile files="TwoDots.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Crashes when there're stray dots"
keywords="from-errors,purejava">
<compile files="StrayDot.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Stray characters cause a crash"
comment="XXX public class in wrong file"
keywords="from-errors,purejava">
<compile files="StraySlash.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Colon instead of a semi-colon causes a crash"
comment="XXX public class in wrong file"
keywords="from-errors,purejava">
<compile files="Colon.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="type error in initializer caught by ajc, not javac"
keywords="from-errors,purejava">
<compile files="ArrayInitializerType.java">
<message kind="error" line="2"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Circular inheritance with classes causes a stack overflow."
keywords="from-errors,purejava">
<compile files="CircularExtends.java">
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Doesn't detect cyclic inheritance of aspects."
keywords="from-errors">
<compile files="CircularExtendsAspect.java">
<message kind="error" line="18"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Binds the pointcut formals to member variables instead of pointcut formals."
keywords="from-errors">
<compile files="PointcutFormals.java" options="-Xlint:warning">
<message kind="error" line="14"/>
<message kind="error" line="15"/>
<message kind="warning" line="16"/>
<message kind="warning" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="ambiguous formal in formals pattern"
keywords="from-errors">
<compile files="AmbiguousFormal.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="Missing ;" keywords="from-errors,purejava">
<compile files="PR405.java">
<message kind="error" line="15"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="cast expressions should not allow casts between ifaces and array types"
keywords="from-errors,purejava">
<compile files="InterfaceArrayCast.java">
<message kind="error" line="9"/>
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="parsing errors for various bad forms of NewArrayExprs."
keywords="from-errors,purejava">
<compile files="BadNewArrayExprs.java">
<message kind="error" line="4"/>
<message kind="error" line="5"/>
<message kind="error" line="6"/>
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="good error for field name instead of type name"
keywords="from-errors">
<compile files="BadTypeName.java">
<message kind="error" line="2"/>
<message kind="error" line="4"/>
<message kind="error" line="6"/>
<message kind="error" line="8"/>
<message kind="error" line="10"/>
<message kind="error" line="12"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="good error for bad field and inner class references"
keywords="from-errors,purejava">
<compile files="BadReferences.java">
<message kind="error" line="3"/>
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="errors in aspect inheritance - 1"
keywords="from-errors">
<compile files="AspectInheritance1.java">
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="errors in aspect inheritance - 2"
keywords="from-errors">
<compile files="AspectInheritance2.java">
<message kind="error" line="8"/>
<message kind="error" line="16"/>
<message kind="error" line="20"/>
<message kind="error" line="26"/>
<message kind="error" line="30"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="errors in aspect inheritance - 3"
keywords="from-errors">
<compile files="AspectInheritance3.java">
<message kind="error" line="19"/>
<message kind="error" line="24"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="errors in aspect inheritance - 4"
keywords="from-errors">
<compile files="AspectInheritance4.java">
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Implementing a non-interface used to crash the compiler."
keywords="from-errors,purejava">
<compile files="PR333.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="circular dominates leading to irresolvable advice precedence"
keywords="from-errors">
<compile files="CircularDominates.java">
<message kind="error" line="12"/>
<message kind="error" line="16"/>
<message kind="error" line="20"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Should issue an error for using 'class' instead of 'aspect'"
keywords="from-errors">
<compile files="NoAspect.java">
<message kind="error" line="12"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Should signal an error when we need an exposed value but don't provide it"
keywords="from-errors">
<compile files="MissingExposure.java">
<message kind="error" line="13"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="StackOverFlowException with circular +implements's."
keywords="from-errors">
<compile files="CircularPlusImplementsIntros.java">
<message kind="error" line="19"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Introducing protected methods is causing a crash"
keywords="from-errors">
<compile files="ProtectedIntro.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Introducing protected fields is causing a crash"
keywords="from-errors">
<compile files="ProtectedFieldIntro.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="388"
title="two classes with the same fully-qualified names [eachjvm]"
keywords="from-errors"
comment="XXX error not flagging initial type">
<compile files="DuplicatedNames.java">
<message kind="error" line="3"/>
<message kind="error" line="5"/>
<message kind="error" line="7"/>
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="396"
title="Undefined pointcuts were throwing exceptions in 07b11 [callsto]"
keywords="from-errors">
<compile files="UndefinedPointCut_PR396.java">
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="240" title="advice on abstract pointcuts"
keywords="from-errors">
<compile files="StaticAdviceOnAbstract.java">
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Whoops, I forgot to put a class in the field access PCD."
keywords="from-errors">
<compile files="BadGetPCD.java">
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="138"
title="the arounds return something but there is no returns statement"
keywords="from-errors">
<compile files="MissingReturns.java">
<message kind="error" line="14"/>
<message kind="error" line="20"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="simple tests of throws and for stmt typing"
keywords="from-errors">
<compile files="SimpleSpec.java">
<message kind="error" line="4"/>
<message kind="error" line="7"/>
</compile>
</ajc-test>
<!-- we're not implementing this error check in 1.1 -->
<ajc-test dir="errors"
title="checking the contra-variant errors for typing of proceed"
keywords="from-errors,knownLimitation">
<compile files="BadAround.java">
<message kind="error" line="12"/>
<message kind="error" line="15"/>
<message kind="error" line="18"/>
<message kind="error" line="19"/>
<message kind="error" line="22"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="error of no return statement detected not by ajc but by javac (line 4)"
keywords="from-errors,purejava">
<compile files="NoReturnStatementSimple.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="class and interface extension"
keywords="from-errors,purejava,messages-vary">
<compile files="BadExtension.java"
options="!eclipse">
<message kind="error" line="7"/>
<message kind="error" line="9"/>
<message kind="error" line="16"/>
<message kind="error" line="17"/>
<message kind="error" line="18"/>
<message kind="error" line="19"/>
<message kind="error" line="21"/>
<message kind="error" line="35"/>
<message kind="error" line="38"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="multiple conflicting introductions"
keywords="from-errors">
<compile files="MultipleIntros.java">
<message kind="error" line="5"/>
<message kind="error" line="16"/>
<message kind="error" line="18"/>
<message kind="error" line="19"/>
<message kind="error" line="22"/>
<message kind="error" line="27"/>
<message kind="error" line="30"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="types in throws clauses"
keywords="from-errors,purejava">
<compile files="ThrowsClause.java">
<message kind="error" line="2"/>
<message kind="error" line="4"/>
<message kind="error" line="13"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="referencing non-static pointcuts in outer aspects"
keywords="from-errors">
<compile files="StaticPointcutRefs.java">
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="bad switch syntax"
keywords="from-errors,purejava">
<compile files="Switch.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="javac correct compiler error if there is no return in around returning result"
keywords="from-errors">
<compile files="NoReturnInProceed.java">
<message kind="error" line="16"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="should give an error for introducing two members with the same name"
keywords="from-errors">
<compile files="TwoIntros.java">
<message kind="error" line="10"/>
<message kind="error" line="14"/>
<message kind="error" line="16"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="wimpy test for undeclared and uncaught exceptions"
keywords="from-errors">
<compile files="UndeclaredThrows.java">
<message kind="error" line="12"/>
<message kind="error" line="18"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="test for not folding circular constants"
keywords="from-errors">
<compile files="CircularFolding.java">
<message kind="error" line="6"/>
<message kind="error" line="7"/>
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="continue targets must be continuable"
keywords="from-errors">
<compile files="BadContinueTarget.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="qualified this to non-inner should be caught"
keywords="from-errors">
<compile files="BadQualifiedNew.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava"
title="Referencing various things from static contexts"
keywords="from-errors,purejava">
<compile files="StaticContexts.java">
<message kind="error" line="11"/>
<message kind="error" line="18"/>
<message kind="error" line="19"/>
<message kind="error" line="20"/>
<message kind="error" line="21"/>
<message kind="error" line="27"/>
<message kind="error" line="28"/>
<message kind="error" line="31"/>
<message kind="error" line="35"/>
<message kind="error" line="36"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="Given non-matching TypePattern, CE flags use of non-introduced method rather than failure to introduce"
keywords="from-errors">
<compile
files="typepatternmatch/pack1/IntroErrorLocation.java,typepatternmatch/pack2/TargetClass.java">
<message kind="error" line="28"
file="pack1/IntroErrorLocation.java"
text="TargetClass cannot be resolved"/>
<message kind="warning" line="33"
file="pack1/IntroErrorLocation.java"
text="no match for this type name: TargetClass"/>
<message kind="error" line="39"
file="pack1/IntroErrorLocation.java"
text="undefined for the type TargetClass"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="457"
title="Compiler should suggest using aspect when advice, pointcuts, or introduction is in a class"
keywords="from-errors,poorErrorMessages">
<compile files="RecognizeAspectCE.java">
<message kind="error" line="3"
file="RecognizeAspectCE.java"
text="Syntax error"/>
<message kind="error" line="6"
file="RecognizeAspectCE.java"
text="Syntax error"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="Some expressions are illegal expression statements"
keywords="from-errors,purejava">
<compile files="BadExpressionStatement.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="illegal forward reference"
keywords="from-errors,purejava">
<compile files="IllegalForwardReference.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="declare error working with pointcut and-not (amp,amp,bang)"
keywords="from-errors">
<compile files="DeclareError.java">
<message kind="error" line="5"/>
<message kind="error" line="19"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="protected accessibility"
keywords="from-errors,purejava">
<compile files="protectedAccess/Main.java,protectedAccess/p1/C1.java">
<message kind="error" line="26"/>
<message kind="error" line="28"/>
<message kind="error" line="29"/>
<message kind="error" line="31"/>
<message kind="error" line="37"/>
<message kind="error" line="45"/>
<message kind="error" line="46"/>
<message kind="error" line="54"/>
<message kind="error" line="55"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="parse-time illegal modifiers"
keywords="from-errors,purejava">
<compile files="Modifiers1.java">
<message kind="error" line="2"/>
<message kind="error" line="3"/>
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="check-time illegal modifiers"
keywords="from-errors,purejava">
<compile files="Modifiers.java">
<message kind="error" line="2"/>
<message kind="error" line="3"/>
<message kind="error" line="4"/>
<message kind="error" line="6"/>
<message kind="error" line="7"/>
<message kind="error" line="8"/>
<message kind="error" line="9"/>
<message kind="error" line="11"/>
</compile>
</ajc-test>
<ajc-test dir="errors" title="illegal synchronized stmts"
keywords="from-errors,purejava,messages-vary">
<compile files="BadSynchronized.java"
options="!eclipse">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="modifiers on interface members"
keywords="from-errors,purejava">
<compile files="InterfaceMembers.java">
<message kind="error" line="2"/>
<message kind="error" line="3"/>
<message kind="error" line="4"/>
<message kind="error" line="5"/>
<message kind="error" line="7"/>
<message kind="error" line="8"/>
<message kind="error" line="9"/>
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="534"
title="aspect as member of interface (private and protected)"
keywords="from-errors">
<compile files="AspectInInterfaceCF.java">
<message kind="error" line="11"/>
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="good errors (and not too many) for missing members"
comment="XXX import of class in default package"
keywords="from-errors,purejava">
<compile files="NotFound.java">
<message kind="error" line="1"/>
<message kind="error" line="2"/>
<message kind="error" line="6"/>
<message kind="error" line="9"/>
<message kind="error" line="10"/>
<message kind="error" line="14"/>
<message kind="error" line="16"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="536"
title="expecting compile failures with subclass narrowing scope of superclass methods or accessing private superclass variables"
keywords="from-errors,purejava">
<compile files="RestrictingVisibilityCF.java">
<message kind="error" line="27"/>
<message kind="error" line="29"/>
<message kind="error" line="31"/>
<message kind="error" line="39"/>
<message kind="error" line="41"/>
<message kind="error" line="46"/>
<message kind="error" line="48"/>
<message kind="error" line="53"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="494"
title="introduced inner interfaces - compile should fail to bind interface name outside of Aspect or if implementing method is not public"
keywords="from-errors">
<compile files="IntroduceInnerInterfaceCF.java" options="-Xlint:ignore">
<message kind="error" line="18"/>
<message kind="error" line="19"/>
<message kind="error" line="20"/>
<message kind="error" line="24"/>
<message kind="error" line="42"/>
<message kind="error" line="45"/>
<message kind="error" line="48"/>
<message kind="error" line="50"/>
<message kind="error" line="58"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="aspects may not implement Serializable or Cloneable"
keywords="from-errors">
<compile files="AspectInterfaces.java">
<message kind="error" line="4"/>
<message kind="error" line="5"/>
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="inner classes may not have static non-constant members"
keywords="from-errors,purejava">
<compile files="InnerMembers.java">
<message kind="error" line="8"/>
<message kind="error" line="9"/>
<message kind="error" line="10"/>
<message kind="error" line="11"/>
<message kind="error" line="16"/>
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="explicit constructor calls can throw exceptions"
keywords="from-errors">
<compile files="ExplicitConstructorThrows.java">
<message kind="error" line="3"/>
<message kind="error" line="12"/>
<message kind="error" line="18"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="flow analysis with local types"
keywords="from-errors,purejava">
<compile files="InnerFlow.java">
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="errors" pr="664" title="bad proceed args good error messages"
keywords="from-errors">
<compile files="ProceedArgsCE.java">
<message kind="error" line="13"/>
<message kind="error" line="16"/>
<message kind="error" line="19"/>
</compile>
</ajc-test>
<ajc-test dir="design/intro"
title="initial tests for new introduction style" keywords="from-design">
<compile files="Simple.java"/>
<run class="Simple"/>
</ajc-test>
<ajc-test dir="design/intro"
title="overriding of introduced methods and accessibility"
keywords="from-design">
<compile files="Overriding.java"/>
<run class="Overriding"/>
</ajc-test>
<ajc-test dir="design/intro"
title="within and introductions behaves correctly" keywords="from-design">
<compile files="Within.java"/>
<run class="Within"/>
</ajc-test>
<!-- we're not implementing static inter-type fields on interfaces in 1.1 -->
<ajc-test dir="design/intro"
title="introduction of static methods and fields on classes and interfaces"
keywords="from-design,knownLimitation">
<compile files="Statics.java"/>
<run class="Statics"/>
</ajc-test>
<ajc-test dir="design/intro" pr="570"
title="correct inheritance of multiple concrete methods"
keywords="from-design">
<compile files="MultiInheritCP.java"/>
<run class="MultiInheritCP"/>
</ajc-test>
<ajc-test dir="design/intro" pr="570"
title="errors in inheritance of multiple concrete methods"
keywords="from-design">
<compile files="MultiInheritCF.java">
<message kind="error" line="21"/>
<message kind="error" line="41"/>
<message kind="error" line="42"/>
<message kind="error" line="43"/>
<message kind="error" line="45"/>
<message kind="error" line="46"/>
</compile>
</ajc-test>
<ajc-test dir="design/intro"
title="declared exceptions are checked correctly on intros (errors)">
<compile files="ExceptionsCF.java">
<message kind="error" line="8"/>
<message kind="error" line="23"/>
</compile>
</ajc-test>
<ajc-test dir="design/intro"
title="declared exceptions are checked correctly on intros">
<compile files="ExceptionsCP.java"/>
<run class="ExceptionsCP"/>
</ajc-test>
<ajc-test dir="design/reflect"
title="Joinpoint is not created for foo(String) when before() advice is present."
keywords="from-design">
<compile files="SimpleAround1.java"/>
<run class="SimpleAround1"/>
</ajc-test>
<ajc-test dir="design/eachobject"
title="more tests of eachobject with some difficult typing issues"
keywords="from-design">
<compile files="Tricky3.java"/>
<run class="Tricky3"/>
</ajc-test>
<ajc-test dir="design/eachobject"
title="eachobject: eachobject(receptions(...)) [eachobject]"
keywords="from-design">
<compile files="Tricky1.java"/>
<run class="Tricky1"/>
</ajc-test>
<ajc-test dir="design/reflect" title="Checking new joinpoints"
keywords="from-design">
<compile files="Coverage.java"/>
<run class="Coverage"/>
</ajc-test>
<ajc-test dir="design/eachobject"
title="eachobject: simple test [eachobject] (still)"
keywords="from-design">
<compile files="Simple.java"/>
<run class="Simple"/>
</ajc-test>
<ajc-test dir="design/intro"
title="scope issues with introduction (needs more work)"
keywords="from-design">
<compile files="p1/ScopeIssues.java,p1/C1.java"/>
<run class="p1.ScopeIssues"/>
</ajc-test>
<ajc-test dir="new"
title="properly make choice between cast and parenthesis in parser"
keywords="from-resolved_10x">
<compile files="JoinPointFields.java"/>
<run class="JoinPointFields"/>
</ajc-test>
<ajc-test dir="new" pr="96"
title="field from implemented interface not found in advice"
keywords="from-resolved_10x">
<compile files="FieldFromImplementsNotFound.java"/>
<run class="FieldFromImplementsNotFound"/>
</ajc-test>
<ajc-test dir="new"
title="make sure advice affects introduced methods and constructors"
keywords="from-resolved_10x">
<compile files="AdviceOnIntroduced.java"/>
<run class="AdviceOnIntroduced"/>
</ajc-test>
<ajc-test dir="new" title="new around construct"
keywords="from-resolved_10x">
<compile files="AroundAdvice.java"/>
<run class="AroundAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="65" title="aspect redefines a parameter"
keywords="from-resolved_10x">
<compile files="AspectRedefinesParam.java"/>
<run class="AspectRedefinesParam"/>
</ajc-test>
<ajc-test dir="new" title="introducing extends and implements"
keywords="from-resolved_10x">
<compile files="HierarchyIntroductions.java"/>
<run class="HierarchyIntroductions"/>
</ajc-test>
<ajc-test dir="new" pr="104" title="(related) aspect on interface"
keywords="from-resolved_10x">
<compile files="AspectOnInterface.java"/>
<run class="AspectOnInterface"/>
</ajc-test>
<ajc-test dir="new" pr="106" title="advice and package visibility"
keywords="from-resolved_10x">
<compile
files="packagevisibility/PackagesAndAdvice.java,packagevisibility/testPackage/Class1.java,packagevisibility/testPackage/Class2.java"
options="-Xlint:ignore"/>
<run class="packagevisibility.PackagesAndAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="106" title="advice and package visibility"
keywords="from-resolved_10x">
<compile
files="packagevisibility/PackagesAndAdviceCf.java,packagevisibility/testPackage/Class1.java,packagevisibility/testPackage/Class2.java"
options="-Xlint:error">
<message kind="error" line="29"/>
</compile>
</ajc-test>
<ajc-test dir="new" title="advice on implied empty constructor"
keywords="from-resolved_10x">
<compile files="AdviceOnEmptyConstructor.java"/>
<run class="AdviceOnEmptyConstructor"/>
</ajc-test>
<ajc-test dir="new" title="advice on * *(..) not mapping to initializers"
keywords="from-resolved_10x">
<compile files="InitializerAdvice.java"/>
<run class="InitializerAdvice"/>
</ajc-test>
<ajc-test dir="new"
title="three type declarations in the scope of an advice"
keywords="from-resolved_10x">
<compile files="TypeDeclInAdvice.java"/>
<run class="TypeDeclInAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="129"
title="introduction fails on class with an inner class that extends or implements something"
keywords="from-resolved_10x">
<compile files="IntroductionFailsWithInnerClass.java"/>
<run class="IntroductionFailsWithInnerClass"/>
</ajc-test>
<ajc-test dir="new" pr="126"
title="checks that methods are introduced on the topmost class implemented"
keywords="from-resolved_10x">
<compile files="TopmostImplements.java"/>
<run class="TopmostImplements"/>
</ajc-test>
<ajc-test dir="new/arndAdvRet" pr="140"
title="a couple different returns from around advice"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new"
title="member finally advice paired with signature advice"
keywords="from-resolved_10x">
<compile files="TryErrors.java"/>
<run class="TryErrors"/>
</ajc-test>
<ajc-test dir="new" title="aspect of eachobject(instanceof(Interface))"
keywords="from-resolved_10x">
<compile files="AspectOfInterface.java"/>
<run class="AspectOfInterface"/>
</ajc-test>
<ajc-test dir="new/finalMemInit" pr="162"
title="final member initialization broken with JDK before 1.1.8"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/packageNameClash" pr="205"
title="same package and var name clash in preprocessed code when aspectOf is used"
keywords="from-resolved_10x">
<compile files="otherpkg/Driver.java,pkg/Aspect1.java,pkg/Class1.java"/>
<run class="otherpkg.Driver"/>
</ajc-test>
<ajc-test dir="new/adviceOnStaticMeth" pr="221"
title="and PR#201 advice on static methods fails javac compile with this"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new"
title="non-static advice on inner class defined inside of method body"
keywords="from-resolved_10x">
<compile files="MethodInner.java"/>
<run class="MethodInner"/>
</ajc-test>
<ajc-test dir="new"
title="simple single-threaded eachcflow test (includes aspectOf)"
keywords="from-resolved_10x">
<compile files="Client.java"/>
<run class="Client"/>
</ajc-test>
<ajc-test dir="new/scopeTypingBug" pr="191"
title="bad type resolution when var reassigned in same scope"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="242"
title="generating the right throws clause for call-site advice (and around)"
keywords="from-resolved_10x">
<compile files="ComputedThrows.java"/>
<run class="ComputedThrows"/>
</ajc-test>
<ajc-test dir="new" pr="246"
title="advice on calls to static methods using several syntax"
keywords="from-resolved_10x">
<compile files="StaticCalls.java"/>
<run class="StaticCalls"/>
</ajc-test>
<ajc-test dir="new" pr="248"
title=", PR#249, PR#250 advice on constructor sites"
keywords="from-resolved_10x">
<compile files="NewSiteAdvice.java"/>
<run class="NewSiteAdvice"/>
</ajc-test>
<ajc-test dir="new" title="test after throwing advice in several ways"
keywords="from-resolved_10x">
<compile files="AfterThrowing.java"/>
<run class="AfterThrowing"/>
</ajc-test>
<ajc-test dir="new" title="fancy name patterns for method names"
keywords="from-resolved_10x">
<compile files="WildNames.java"/>
<run class="WildNames"/>
</ajc-test>
<ajc-test dir="design/calls" title="calls: calls(...)"
keywords="from-resolved_10x">
<compile files="Simple.java" options="-Xlint:ignore"/>
<run class="Simple"/>
</ajc-test>
<ajc-test dir="new/extraThrows" pr="259"
title="throws Exception clause is unnecessarily added to Driver.main method"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/thisUsedInMain" pr="262"
title="javac fails when this is referenced in the static main method"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/badCast" pr="275"
title="and 276 cast error generated by ajc when type not in signature"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="285"
title="calls to methods to which we don't have source"
keywords="from-resolved_10x">
<compile files="ExternalCalls.java"/>
<run class="ExternalCalls"/>
</ajc-test>
<ajc-test dir="new/beforeNotRun" pr="265" title="more aspect inheritance"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="310"
title="around and calls with both calling and called this params"
keywords="from-resolved_10x">
<compile files="AroundAndCalls.java"/>
<run class="AroundAndCalls"/>
</ajc-test>
<ajc-test dir="new/pointcutParameter" pr="290"
title="compiler crashes with eachobject and named pointcuts with parameters"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/unqualifiedPointcutName" pr="304"
title="lookup rules for unqualified pointcut names"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="321"
title="eachcflow only instantiated if the aspect has some advice in it"
keywords="from-resolved_10x">
<compile files="CFlowNoAdvice.java"/>
<run class="CFlowNoAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="309"
title="(DESIGN QUESTION) aspect of eachJVM advising its own initializer"
keywords="from-resolved_10x">
<compile files="EachJVMOnSelf.java"/>
<run class="EachJVMOnSelf"/>
</ajc-test>
<ajc-test dir="new" pr="302"
title="after returning advice on calls to constructors"
keywords="from-resolved_10x">
<compile files="AfterConstructorCalls.java"/>
<run class="AfterConstructorCalls"/>
</ajc-test>
<ajc-test dir="new"
title="Does annotating 'new' with a type work as desired?"
keywords="from-resolved_10x">
<compile files="ConstructorSignatures.java"/>
<run class="ConstructorSignatures"/>
</ajc-test>
<ajc-test dir="new"
title="Referring to inner classes as {super}.{inner} confused ajc."
keywords="from-resolved_10x">
<compile files="InnerClassNaming.java"/>
<run class="InnerClassNaming"/>
</ajc-test>
<ajc-test dir="new" title="Advice on advice" keywords="from-resolved_10x">
<compile files="AdviceOnAdvice.java"/>
<run class="AdviceOnAdvice"/>
</ajc-test>
<ajc-test dir="new" title="Introductions on other introductions"
keywords="from-resolved_10x">
<compile files="IntroOnIntro.java"/>
<run class="IntroOnIntro"/>
</ajc-test>
<ajc-test dir="new" title="Putting advice on array constructors."
keywords="from-resolved_10x">
<compile files="Orleans.java"/>
<run class="Orleans"/>
</ajc-test>
<ajc-test dir="new"
title="call points within block inner classes are doubled"
keywords="from-resolved_10x">
<compile files="DoubledCalls.java"/>
<run class="DoubledCalls"/>
</ajc-test>
<ajc-test dir="new" title="Gets and sets with other advice"
keywords="from-resolved_10x">
<compile files="Counting3.java"/>
<run class="Counting3"/>
</ajc-test>
<ajc-test dir="new" title="Compiler can compile correct strictfp modifiers"
keywords="from-resolved_10x">
<compile files="StrictFpCompile.java"/>
<run class="StrictFpCompile"/>
</ajc-test>
<ajc-test dir="new" title="basic test of callsto pointcuts"
keywords="from-resolved_10x">
<compile files="CallsTo.java"/>
<run class="CallsTo"/>
</ajc-test>
<ajc-test dir="new" title="package wildcards in packages"
keywords="from-resolved_10x">
<compile files="pack/PackageWildcards.java"/>
<run class="pack.PackageWildcards"/>
</ajc-test>
<!-- only before advice implemented for handler join points in 1.1 -->
<ajc-test dir="new" title="advice on catch clauses"
keywords="from-resolved_10x,knownLimitation">
<compile files="CatchAdvice.java"/>
<run class="CatchAdvice"/>
</ajc-test>
<ajc-test dir="new"
title="around advice on calls and receptions with lots of context"
keywords="from-resolved_10x">
<compile files="AroundCalls.java"/>
<run class="AroundCalls"/>
</ajc-test>
<ajc-test dir="new" pr="208"
title="! modifier and char in pointcut (no longer an error)"
keywords="from-resolved_10x">
<compile files="NotCharInPointcut.java"/>
<run class="NotCharInPointcut"/>
</ajc-test>
<ajc-test dir="new" pr="308"
title="right number of aspect instances per cflow"
keywords="from-resolved_10x">
<compile files="CFlowObjects.java"/>
<run class="CFlowObjects"/>
</ajc-test>
<ajc-test dir="new" pr="310" title="many this's into around advice on calls"
keywords="from-resolved_10x">
<compile files="AroundCallsArgs.java"/>
<run class="AroundCallsArgs"/>
</ajc-test>
<ajc-test dir="new"
title="Ensures introduction methods can have advice placed on them"
keywords="from-resolved_10x">
<compile files="Dominates.java"/>
<run class="Dominates"/>
</ajc-test>
<ajc-test dir="new" pr="355"
title="No boolean appearing in the 'if' clause for around advice with eachJVM()"
keywords="from-resolved_10x">
<compile files="PR355.java"/>
<run class="PR355"/>
</ajc-test>
<ajc-test dir="new" title="Order of super introductions."
keywords="from-resolved_10x">
<compile files="OrderOfExtendsPlusAndImplementsPlus.java"/>
<run class="OrderOfExtendsPlusAndImplementsPlus"/>
</ajc-test>
<ajc-test dir="new" title="Ensuring backdoor methods are produced."
keywords="from-resolved_10x">
<compile files="BackdoorMethods.java"/>
<run class="BackdoorMethods"/>
</ajc-test>
<ajc-test dir="new"
title="no duplicate advice methods in abstract aspects"
keywords="from-resolved_10x">
<compile
files="GeneratingDuplicateNamedAdviceMethodsInAbstractAspects.java"/>
<run class="GeneratingDuplicateNamedAdviceMethodsInAbstractAspects"/>
</ajc-test>
<ajc-test dir="new"
title="no duplicate advice methods in abstract aspects extended"
keywords="from-resolved_10x">
<compile
files="GeneratingDuplicateNamedAdviceMethodsInAbstractAspectsWithExtendedAspect.java"/>
<run class="GeneratingDuplicateNamedAdviceMethodsInAbstractAspectsWithExtendedAspect"
/>
</ajc-test>
<ajc-test dir="new"
title="Putting after-constructor advice on the wrong types implementing the same interface."
keywords="from-resolved_10x">
<compile files="AfterAdviceOnConstructorsOnTheWrongType.java"/>
<run class="AfterAdviceOnConstructorsOnTheWrongType"/>
</ajc-test>
<ajc-test dir="new"
title="Instantiating non-static inner classes in advice."
keywords="from-resolved_10x">
<compile files="NonstaticInnerClassesInAspects.java"/>
<run class="NonstaticInnerClassesInAspects"/>
</ajc-test>
<ajc-test dir="new" pr="316" title="Referring to pointcut in of clauses"
keywords="from-resolved_10x">
<compile files="ReferringToPointcutsInAspect_PR316.java"/>
<run class="ReferringToPointcutsInAspect_PR316"/>
</ajc-test>
<ajc-test dir="new" pr="191"
title="Confused referring to instance variables and locals"
keywords="from-resolved_10x">
<compile files="ScopesAndFields_PR191.java"/>
<run class="ScopesAndFields_PR191"/>
</ajc-test>
<ajc-test dir="new"
title="Parsing C+ expressions without parens in super introductions."
keywords="from-resolved_10x">
<compile files="ParsingSubtypesIntroductions.java"/>
<run class="ParsingSubtypesIntroductions"/>
</ajc-test>
<ajc-test dir="new"
title="Introducing methods on classes that implements inner-interfaces with +implements."
keywords="from-resolved_10x">
<compile files="IntroducingMethodsOnPlusImplementedInterfaces.java" options="-Xlint:ignore"/>
<run class="IntroducingMethodsOnPlusImplementedInterfaces"/>
</ajc-test>
<ajc-test dir="new" pr="464"
title="Methods with the same name are generated when abstract aspects extend another abstract aspect."
keywords="from-resolved_10x">
<compile
files="AbstractAspectsExtendingAbstractAspectsGeneratesMethodsWithTheSameName_PR464.java"/>
<run class="AbstractAspectsExtendingAbstractAspectsGeneratesMethodsWithTheSameName_PR464"
/>
</ajc-test>
<ajc-test dir="new" title="Making sure final variables stay final."
keywords="from-resolved_10x">
<compile files="RemovingFinals.java"/>
<run class="RemovingFinals"/>
</ajc-test>
<ajc-test dir="new"
title="Problem resolving meta-joinpoint names with around advice on methods called from around advice."
keywords="from-resolved_10x">
<compile files="AroundAdviceOnMethodsCalledInAroundAdvice.java"/>
<run class="AroundAdviceOnMethodsCalledInAroundAdvice"/>
</ajc-test>
<ajc-test dir="new"
title="Make sure that names of lifted local classes are right when referenced in call-site advice"
keywords="from-resolved_10x">
<compile files="CallsAndLocalClasses.java"/>
<run class="CallsAndLocalClasses"/>
</ajc-test>
<ajc-test dir="new" title="matching for throws clause"
keywords="from-resolved_10x">
<compile files="ThrowsMatching.java"/>
<run class="ThrowsMatching"/>
</ajc-test>
<!-- we will handle this by signalling a weave-time error for any around
advice that is applied to a join point which throws checked exceptions
that it can't handle. proceeds in closures change the exceptions that
around advice can handle to include the greatest lower bound of the
checked exceptions that are legally throwable by the proceed.
Ideally their should be an -Xlint compile-time warning for ALL
cases that could produce weave-time errors.
-->
<ajc-test dir="new" title="holding onto proceed calls in a closure-like way"
keywords="from-resolved_10x,knownLimitation">
<compile files="HoldProceed.java"/>
<run class="HoldProceed"/>
</ajc-test>
<ajc-test dir="new" title="basic test of declare soft"
keywords="from-resolved_10x">
<compile files="DeclareSoft.java"/>
<run class="DeclareSoft"/>
</ajc-test>
<ajc-test dir="new"
title="advice on calls to constructors of anonymous inners and access to context"
keywords="from-resolved_10x">
<compile files="NewAnonymous.java"/>
<run class="NewAnonymous"/>
</ajc-test>
<ajc-test dir="new"
title="Cannot bind a name." keywords="from-resolved_10x,purejava">
<compile files="CannotReferenceSuper.java"/>
<run class="CannotReferenceSuper"/>
</ajc-test>
<ajc-test dir="new/innerAspectAccess" pr="211"
title="inner aspects can't access outer pointcuts"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new"
title="implements and extends are introduced before methods and fields"
keywords="from-resolved_10x">
<compile files="IntroOrder.java"/>
<run class="IntroOrder"/>
</ajc-test>
<ajc-test dir="new"
title="a static/inner aspect of a inner class of an aspect is pulled to the top level as static"
keywords="from-resolved_10x">
<compile files="StaticInnerAspect.java"/>
<run class="StaticInnerAspect"/>
</ajc-test>
<ajc-test dir="new" title="Crashes with privileged aspect."
keywords="from-resolved_10x">
<compile files="Privileged.java"/>
<run class="Privileged"/>
</ajc-test>
<ajc-test dir="new"
title="join points exist in the execution of field initializers"
keywords="from-resolved_10x">
<compile files="FieldInitializerJoinPoints.java"/>
<run class="FieldInitializerJoinPoints"/>
</ajc-test>
<ajc-test dir="new/privilegedAspects" title="privileged aspects"
keywords="from-resolved_10x">
<compile
files="main/Main.java,fish/PrivateClass.java,fish/B.java,fowl/C.java,fowl/D.java"/>
<run class="main.Main"/>
</ajc-test>
<ajc-test dir="new" title="advice on field gets in privileged aspects"
keywords="from-resolved_10x">
<compile files="AdviceOnPrivileged.java"/>
<run class="AdviceOnPrivileged"/>
</ajc-test>
<ajc-test dir="new" title="Two anonymous classes in the same scope"
keywords="from-resolved_10x">
<compile files="TwoAnonymous.java"/>
<run class="TwoAnonymous"/>
</ajc-test>
<ajc-test dir="new"
title="basic tests for initializer and staticinitializer PCDs"
keywords="from-resolved_10x">
<compile files="InitializerTest.java"/>
<run class="InitializerTest"/>
</ajc-test>
<ajc-test dir="new" pr="98"
title="introduction of an initializer into a class"
keywords="from-resolved_10x">
<compile files="IntroductionOfInitializer.java"/>
<run class="IntroductionOfInitializer"/>
</ajc-test>
<ajc-test dir="new/access"
title="some method accessibility tests, particularly package-protected and inheritance"
keywords="from-resolved_10x">
<compile files="Test1.java,pc/C.java,psub/SubC.java,psub/A.java"/>
<run class="Test1"/>
</ajc-test>
<ajc-test dir="new"
title="fairly monotonous (and non-covering) tests for expanded dot patterns"
keywords="from-resolved_10x">
<compile files="ExpandedDotDotPattern.java"/>
<run class="ExpandedDotDotPattern"/>
</ajc-test>
<ajc-test dir="new" title="field patterns and subtyping"
keywords="from-resolved_10x">
<compile files="FieldPatterns.java"/>
<run class="FieldPatterns"/>
</ajc-test>
<ajc-test dir="new"
title="Checking formal matching as in Roeder's bug in 0.7b10"
keywords="from-resolved_10x">
<compile files="FormalMatching.java"/>
<run class="FormalMatching"/>
</ajc-test>
<ajc-test dir="new" title="Introducing synchronized methods on interfaces."
keywords="from-resolved_10x">
<compile files="SynchronizedMethodsOnInterfaces.java"/>
<run class="SynchronizedMethodsOnInterfaces"/>
</ajc-test>
<ajc-test dir="new"
title="The pointcut params (..,int..) is not recognizing (Object,int,Object)."
keywords="from-resolved_10x">
<compile files="Params.java"/>
<run class="Params"/>
</ajc-test>
<ajc-test dir="new"
title="calls advice on array objects causes error in code generation"
keywords="from-resolved_10x">
<compile files="CallsToArray.java"/>
<run class="CallsToArray"/>
</ajc-test>
<ajc-test dir="new"
title="join points in field initializers aren't showing up."
keywords="from-resolved_10x">
<compile files="NonexistentFieldInitializers.java"/>
<run class="NonexistentFieldInitializers"/>
</ajc-test>
<ajc-test dir="new" pr="318" title="Handlers problem"
keywords="from-resolved_10x">
<compile files="PR318.java"/>
<run class="PR318"/>
</ajc-test>
<ajc-test dir="new"
title="work nicely with inner class method look-up rules and call-site advice"
keywords="from-resolved_10x">
<compile files="InnerMethods.java"/>
<run class="InnerMethods"/>
</ajc-test>
<ajc-test dir="new" title="strictfp modifier allowed on advice"
keywords="from-resolved_10x">
<compile files="StrictFPAdvice.java"/>
<run class="StrictFPAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="415"
title="No argthis was being created for calls advice."
keywords="from-resolved_10x">
<compile files="PR415.java"/>
<run class="PR415"/>
</ajc-test>
<ajc-test dir="new"
title="Ensuring no advice with instanceof(..) is run on static methods."
keywords="from-resolved_10x">
<compile files="StaticMethodsShouldNotReceiveInstanceofAdvice.java"/>
<run class="StaticMethodsShouldNotReceiveInstanceofAdvice"/>
</ajc-test>
<ajc-test dir="new"
title="Null pointer on gets advice showing the case causing the error"
keywords="from-resolved_10x">
<compile files="NullPointerOnGetsSimple.java"/>
<run class="NullPointerOnGetsSimple"/>
</ajc-test>
<ajc-test dir="new"
title="try to make sure that dynamic JoinPoint objects aren't generated when used inside of if (false) { ... }"
keywords="from-resolved_10x">
<compile files="IfdefsAndAdvice.java"/>
<run class="IfdefsAndAdvice"/>
</ajc-test>
<ajc-test dir="new"
title="within and withincode (doesn't all work due to local class name issues)"
keywords="from-resolved_10x">
<compile files="WithinInners.java"/>
<run class="WithinInners"/>
</ajc-test>
<ajc-test dir="new"
title="around advice on calls within inner classes (including protected method calls)"
keywords="from-resolved_10x">
<compile files="AroundInnerCalls13.java" options="-1.3"/>
<run class="AroundInnerCalls13"/>
</ajc-test>
<ajc-test dir="new"
title="around advice on calls within inner classes (including protected method calls)"
keywords="from-resolved_10x">
<compile files="AroundInnerCalls.java" options="-1.4"/>
<run class="AroundInnerCalls"/>
</ajc-test>
<ajc-test dir="new" title="Arguments to runNext should be final when needed"
keywords="from-resolved_10x">
<compile files="Finals.java"/>
<run class="Finals"/>
</ajc-test>
<ajc-test dir="new" title="Method introductions"
keywords="from-resolved_10x">
<compile files="MethodIntroductions.java"/>
<run class="MethodIntroductions"/>
</ajc-test>
<ajc-test dir="new" title="Putting an introduced method on each interface"
keywords="from-resolved_10x">
<compile files="IntroducedMethodsOnEachInterface.java"/>
<run class="IntroducedMethodsOnEachInterface"/>
</ajc-test>
<ajc-test dir="new" title="Extending interfaces"
keywords="from-resolved_10x">
<compile files="BindingInterfaces.java"/>
<run class="BindingInterfaces"/>
</ajc-test>
<ajc-test dir="new" title="Introducing private methods on interfaces"
keywords="from-resolved_10x">
<compile files="IntroducingPrivateMethodsOnInterfaces.java"/>
<run class="IntroducingPrivateMethodsOnInterfaces"/>
</ajc-test>
<ajc-test dir="new"
title="Issuing errors for assigning variables thisJoinPoint -- not assigning thisJoinPoint."
keywords="from-resolved_10x">
<compile files="ThisJoinPointAssignments.java"/>
<run class="ThisJoinPointAssignments"/>
</ajc-test>
<ajc-test dir="new"
title="Static references inside of introduced bodies get bound correctly."
keywords="from-resolved_10x">
<compile files="StaticIntroducedReferences.java"/>
<run class="StaticIntroducedReferences"/>
</ajc-test>
<ajc-test dir="new/cflowObjectCreations" pr="307"
title="cflow and object creations [of eachcflow]"
keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/twofiles"
title="Doesn't import MightHaveAspect when compiling with more than 1 file. [eachobject]"
keywords="from-resolved_10x">
<compile files="TheObject.java,TheAspect.java"/>
<run class="TheObject"/>
</ajc-test>
<ajc-test dir="new" pr="436"
title="test binding to formals in calls to constructors (binding to null) (eachobject !!! now misnamed)"
keywords="from-resolved_10x">
<compile files="BindingThisInsteadOfFormal.java"/>
<run class="BindingThisInsteadOfFormal"/>
</ajc-test>
<ajc-test dir="new"
title="After advice isn't being woven into after throwing advice"
keywords="from-resolved_10x">
<compile files="AfterThrowingNotWoven.java"/>
<run class="AfterThrowingNotWoven"/>
</ajc-test>
<ajc-test dir="new" title="Throwing an EmptyStackException."
keywords="from-resolved_10x">
<compile files="EmptyStack.java"/>
<run class="EmptyStack"/>
</ajc-test>
<ajc-test dir="new/perThis"
title="check that MightHaveAspect interface is created correctly for an aspect in deep package"
keywords="from-resolved_10x">
<compile files="p/EachObjectTarget.java,the/deep/pkg/EachObjectInDeepPackage.java"/>
<run class="p.EachObjectTarget"/>
</ajc-test>
<ajc-test dir="new" title="Defines clfow$ajc0 more once. [eachcflow]"
keywords="from-resolved_10x">
<compile files="Binkley.java"/>
<run class="Binkley"/>
</ajc-test>
<ajc-test dir="new"
title="Various calls, receptions, and callsto tests [callsto]"
keywords="from-resolved_10x">
<compile files="CallsReceptionsCallsto.java"/>
<run class="CallsReceptionsCallsto"/>
</ajc-test>
<ajc-test dir="new" pr="320"
title="Was throwing exception, now just an error. [eachobject]"
keywords="from-resolved_10x">
<compile files="PR320.java"/>
<run class="PR320"/>
</ajc-test>
<ajc-test dir="new"
title="different version of aspect inheritance, particularly empty pointcuts and abstract cflows [eachcflow]"
keywords="from-resolved_10x,fail-unimplemented">
<compile files="AspectInheritance.java"/>
<run class="AspectInheritance"/>
</ajc-test>
<ajc-test dir="new" pr="339"
title="set advice on member initing throwing exception [eachobject]"
keywords="from-resolved_10x">
<compile files="PR339.java"/>
<run class="PR339"/>
</ajc-test>
<ajc-test dir="new" pr="417"
title="Testing class names with same name's with difference case as package. [eachobject]"
keywords="from-resolved_10x">
<compile files="test/TraceAspect.java,test/Test.java"/>
<run class="test.Test"/>
</ajc-test>
<ajc-test dir="new"
title="Null pointer on gets advice with coverage [painful]"
keywords="from-resolved_10x">
<compile files="NullPointerOnGets.java"/>
<run class="NullPointerOnGets"/>
</ajc-test>
<ajc-test dir="new" title="Basic test for cflow pointcuts [eachcflow]"
keywords="from-resolved_10x">
<compile files="CFlowPoints.java"/>
<run class="CFlowPoints"/>
</ajc-test>
<ajc-test dir="new"
title="Crashing when looking up the type of array members."
keywords="from-resolved_10x">
<compile files="ArrayCasts.java"/>
<run class="ArrayCasts"/>
</ajc-test>
<ajc-test dir="new"
title="PostfixExprs to various synthetic things are fixed correctly [eachobject]"
keywords="from-resolved_10x">
<compile files="Fixes.java"/>
<run class="Fixes"/>
</ajc-test>
<ajc-test dir="new"
title="Dave Binkley's problem with eachcflowroot. [eachcflow]"
keywords="from-resolved_10x">
<compile files="Binkley2.java"/>
<run class="Binkley2"/>
</ajc-test>
<ajc-test dir="new" pr="105" title="advice on an inherited method"
keywords="from-resolved_10x">
<compile files="AdviceOnInheritedMethod.java"/>
<run class="AdviceOnInheritedMethod"/>
</ajc-test>
<ajc-test dir="new" pr="114"
title=", PR#115 checks the ordering of catch clauses"
keywords="from-resolved_10x">
<compile files="OrderOfCatches.java"/>
<run class="OrderOfCatches"/>
</ajc-test>
<ajc-test dir="new" title="various declared exception permutations"
keywords="from-resolved_10x">
<compile files="DeclaredExcs.java"/>
<run class="DeclaredExcs"/>
</ajc-test>
<ajc-test dir="new"
title="ordering of advice kinds as well as cflow and dominates"
keywords="from-resolved_10x">
<compile files="AdviceOrdering.java"/>
<run class="AdviceOrdering"/>
</ajc-test>
<ajc-test dir="new" pr="241"
title="advice on default constructor for a class only referenced via reflection"
keywords="from-resolved_10x">
<compile files="OddConstructors.java"/>
<run class="OddConstructors"/>
</ajc-test>
<ajc-test dir="new" pr="289"
title="calling and called this params in calls points"
keywords="from-resolved_10x">
<compile files="CallsParams.java"/>
<run class="CallsParams"/>
</ajc-test>
<ajc-test dir="new" pr="322"
title="primitive parameters coercable to Object just like return values are"
keywords="from-resolved_10x">
<compile files="ObjectForInt.java"/>
<run class="ObjectForInt"/>
</ajc-test>
<!-- This test case requires bytecode generated according to the declaring type
rules in JLS 2nd edition. -1.4 must be passed to the eclipse compiler for
this behavior. -->
<ajc-test dir="new"
title="Does the matrix coverage thing for the new method signatures"
keywords="from-resolved_10x">
<compile files="MethodSignatures.java" options="-1.4,-Xlint:ignore"/>
<run class="MethodSignatures" vm="1.4"/>
</ajc-test>
<ajc-test dir="new"
title="join points in static/dynamic initializers aren't showing up."
keywords="from-resolved_10x">
<compile files="NonexistentInitializers.java"/>
<run class="NonexistentInitializers"/>
</ajc-test>
<ajc-test dir="new"
title="Gets and sets on a number of variables (field access ???)"
keywords="from-resolved_10x">
<compile files="Gets.java"/>
<run class="Gets"/>
</ajc-test>
<!-- This test case requires bytecode generated according to the declaring type
rules in JLS 2nd edition. -1.4 must be passed to the eclipse compiler for
this behavior. -->
<ajc-test dir="new" title="correct types of parameters at call-sites"
keywords="from-resolved_10x">
<compile files="CallTypes.java" options="-1.4,-Xlint:ignore"/>
<run class="CallTypes" vm="1.4"/>
</ajc-test>
<ajc-test dir="new"
title="Joinpoints are showing up on intermediate call sites"
keywords="from-resolved_10x">
<compile files="Counting1.java"/>
<run class="Counting1"/>
</ajc-test>
<ajc-test dir="new" title="Reception based on strictfp modifier"
keywords="from-resolved_10x">
<compile files="StrictFpReceptions.java"/>
<run class="StrictFpReceptions"/>
</ajc-test>
<ajc-test dir="new" pr="353"
title="Subclasses that do not redefine a method are not being handled correctly"
keywords="from-resolved_10x">
<compile files="PR353b.java"/>
<run class="PR353b"/>
</ajc-test>
<ajc-test dir="new"
title="making sure that super calls are bound to the right methods"
keywords="from-resolved_10x">
<compile files="SupersAndInterfaces.java"/>
<run class="SupersAndInterfaces"/>
</ajc-test>
<ajc-test dir="new" pr="317"
title="inheritance, around advice and abstract pointcuts [eachobject] (still)"
keywords="from-resolved_10x">
<compile files="OverridingPointcuts.java"/>
<run class="OverridingPointcuts"/>
</ajc-test>
<ajc-test dir="new/foemmel"
title="Priviledged aspect methods are missing for privates. [eachobject]"
keywords="from-resolved_10x">
<compile files="TheAspect.java,TheObject.java">
</compile>
<run class="TheObject"/>
</ajc-test>
<ajc-test dir="new"
title="exceptions thrown and caught in advice, particularly try+proceed"
keywords="from-resolved_10x">
<compile files="TryAndProceed.java"/>
<run class="TryAndProceed"/>
</ajc-test>
<ajc-test dir="new" title="Not and And operators in pointcuts not working"
keywords="from-resolved_10x">
<compile files="NotAndPointcut.java"/>
<run class="NotAndPointcut"/>
</ajc-test>
<ajc-test dir="new"
title="Member initializers should run before the current class constructor"
keywords="from-resolved_10x">
<compile files="MemberInitializationsAfterExplicitConstructorCalls.java"/>
<run class="MemberInitializationsAfterExplicitConstructorCalls"/>
</ajc-test>
<ajc-test dir="new"
title="Coverage tests for Member initializers should run before the current class constructor and after super"
keywords="from-resolved_10x">
<compile
files="MemberInitializationsAfterExplicitConstructorCallsCoverage.java"/>
<run class="MemberInitializationsAfterExplicitConstructorCallsCoverage"/>
</ajc-test>
<ajc-test dir="new"
title="thisJoinPoint{Static} not visible in if() pcd of named pointcut"
keywords="from-resolved_10x">
<compile files="IfPCDExprJoinPointVisibleCE.java"/>
<run class="IfPCDExprJoinPointVisibleCE"/>
</ajc-test>
<ajc-test dir="new"
title="pcd if() expression visibility at compile-time (minimal operation)"
keywords="from-resolved_10x">
<compile files="IfPCDExprVisibility.java" options="-Xlint:ignore"/>
<run class="IfPCDExprVisibility"/>
</ajc-test>
<ajc-test dir="new"
title="pcd if() NPE in compiler when unwinding assignment in pcd if(expr)"
keywords="from-resolved_10x">
<compile files="IfPCDExprAssignUnparseFailure.java"/>
<run class="IfPCDExprAssignUnparseFailure"/>
</ajc-test>
<ajc-test dir="new"
title="pcd if() dup methods produced when pointcut after advice etc (javac)"
keywords="from-resolved_10x">
<compile files="IfPCDDupMethod.java"/>
<run class="IfPCDDupMethod"/>
</ajc-test>
<ajc-test dir="new"
title="pcd if() variants: [anonymous, named] x [execution, call, callTyped, get, set, initializations] x [before, after, around]"
keywords="from-resolved_10x">
<compile files="IfPCDAdviceMethods.java"/>
<run class="IfPCDAdviceMethods"/>
</ajc-test>
<ajc-test dir="new/pr456" pr="456" title="advice on advice in usejavac mode"
keywords="from-resolved_10x">
<compile options="-usejavac"
files="Test_AroundVarBug.java,AroundVarBug.java"/>
<run class="Test_AroundVarBug"/>
</ajc-test>
<ajc-test dir="new" pr="476" title="initialization order with this"
keywords="from-resolved_10x">
<compile files="InitializationOrder.java"/>
<run class="InitializationOrder"/>
</ajc-test>
<ajc-test dir="new" pr="496"
title="!within and !this handling for callee-side call points"
keywords="from-resolved_10x">
<compile files="NotThis.java"/>
<run class="NotThis"/>
</ajc-test>
<ajc-test dir="new/innerInterfaces" pr="494"
title="private inner interfaces and bytecode visibility"
keywords="from-resolved_10x">
<compile files="p/Driver.java,p/InnerTest.java,other/Test.java"/>
<run class="p.Driver"/>
</ajc-test>
<!-- This has a complicated set of expected join points.
This test should be borken up into more manageable chunks
and more carefully analyzed for correctness in the future.
-->
<ajc-test dir="new" pr="490"
title="elaborated into testing of around on all join points"
keywords="from-resolved_10x">
<compile files="AroundAll.java"/>
<run class="AroundAll"/>
</ajc-test>
<ajc-test dir="new"
title="type name hygiene when code comes from aspects in different packages"
keywords="from-resolved_10x">
<compile
files="typeNameConflicts/Driver.java,typeNameConflicts/p1/C.java,typeNameConflicts/aspects/A.java"/>
<run class="typeNameConflicts.Driver"/>
</ajc-test>
<ajc-test dir="new" title="cflowbelow dependencies (from Chris Dutchyn)"
keywords="from-resolved_10x">
<compile files="CflowBelowTest.java"/>
<run class="CflowBelowTest"/>
</ajc-test>
<!-- This test case requires bytecode generated according to the declaring type
rules in JLS 2nd edition. -1.4 must be passed to the eclipse compiler for
this behavior. That means that this case will only work under 1.4. -->
<ajc-test dir="new"
title="target type matching with messy interface hierarchies"
keywords="from-resolved_10x">
<compile files="CallTypesI.java" options="-1.4,-Xlint:ignore"/>
<run class="CallTypesI" vm="1.4"/>
</ajc-test>
<!-- around advice not implemented on initializer join points -->
<ajc-test dir="new" pr="490"
title="PR#458 Compiler was incorrectly flagging error in advice on initialization and static initialization"
keywords="from-resolved_10x,knownLimitation">
<compile files="StaticInitCE.java"/>
<run class="StaticInitCE"/>
</ajc-test>
<ajc-test dir="new" pr="493"
title="Compiler incorrectly flagging *1 (non-alphabetic start to signature pattern)"
keywords="from-resolved_10x">
<compile files="NonAlphaSignaturePatternCE.java"/>
<run class="NonAlphaSignaturePatternCE"/>
</ajc-test>
<ajc-test dir="new"
title="Unable to bind privately-introduced field name from introduced method in the same aspect"
keywords="from-resolved_10x">
<compile files="IntroducedFieldsNotBinding.java"/>
<run class="IntroducedFieldsNotBinding"/>
</ajc-test>
<ajc-test dir="new/anonInnerClass" pr="297"
title="anonymous inner class with aspect" keywords="from-resolved_10x">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="335"
title="Arguments are not being passed in to calls advice"
keywords="from-resolved_10x">
<compile files="PR335.java"/>
<run class="PR335"/>
</ajc-test>
<ajc-test dir="design/intro" title="interfaces as mixins with introduction"
keywords="from-resolved_10x">
<compile files="Interfaces.java"/>
<run class="Interfaces"/>
</ajc-test>
<ajc-test dir="new"
title="functional modifiers work correctly with introduced members"
keywords="from-resolved_10x">
<compile files="IntroducedModifiers.java"/>
<run class="IntroducedModifiers"/>
</ajc-test>
<ajc-test dir="new"
title="ExceptionInInitializerError accessing cflow in aspect initialization - before variants"
keywords="from-resolved_10x">
<compile files="CflowInitInAspectVariantsBefore.java"/>
<run class="CflowInitInAspectVariantsBefore"/>
</ajc-test>
<ajc-test dir="new"
title="NoClassDefFoundError accessing cflow in aspect initialization - after variants"
keywords="from-resolved_10x">
<compile files="CflowInitInAspectVariantsAfter.java"/>
<run class="CflowInitInAspectVariantsAfter"/>
</ajc-test>
<ajc-test dir="new" title="InternalCompilerError in JpPlan when args alone"
keywords="from-resolved_10x">
<compile files="ArgsAlone.java"/>
<run class="ArgsAlone"/>
</ajc-test>
<ajc-test dir="new" pr="527"
title="compile error using pcd if() with advice on introduced methods."
keywords="from-resolved_10x">
<compile files="PR527.java"/>
<run class="PR527"/>
</ajc-test>
<ajc-test dir="new" pr="528"
title="compile errors boolean using cflow and unimplemented method using around advice on methods introduced by interface"
keywords="from-resolved_10x">
<compile files="PR528.java"/>
<run class="PR528"/>
</ajc-test>
<ajc-test dir="new" pr="534" title="aspect as member of interface"
keywords="from-resolved_10x">
<compile files="AspectInInterfaceCP.java"/>
<run class="AspectInInterfaceCP"/>
</ajc-test>
<ajc-test dir="new" pr="535"
title="missing method name to synthetic invocation"
keywords="from-resolved_10x,new-messages-vary">
<compile files="PR535.java"/>
<run class="PR535"/>
</ajc-test>
<ajc-test dir="new" pr="536"
title="protected subclass impl of superclass method with default access and variants"
keywords="from-resolved_10x">
<compile files="RestrictingVisibilityCP.java"/>
<run class="RestrictingVisibilityCP"/>
</ajc-test>
<ajc-test dir="new" pr="519" title="Exception planning advice"
keywords="from-resolved_10x">
<compile files="PR519.java" options="-Xlint:ignore"/>
<run class="PR519"/>
</ajc-test>
<ajc-test dir="new" pr="521"
title="unreproduced bug with advice - probably UTR"
keywords="from-resolved_10x">
<compile files="PR520.java"/>
<run class="PR520"/>
</ajc-test>
<ajc-test dir="new" pr="494"
title="introduced inner interfaces accessible inside aspect"
keywords="from-resolved_10x">
<compile files="IntroduceInnerInterfaceCP.java"/>
<run class="IntroduceInnerInterfaceCP"/>
</ajc-test>
<ajc-test dir="new" pr="525"
title="validate (enclosing) join point and source locations"
keywords="from-resolved_10x">
<compile files="NegativeSourceLocation.java" options="-Xlint:ignore"/>
<run class="NegativeSourceLocation"/>
</ajc-test>
<ajc-test dir="new" pr="544"
title="advice formals are just like method formals"
keywords="from-resolved_10x">
<compile files="AdviceFormalsCp.java"/>
<run class="AdviceFormalsCp"/>
</ajc-test>
<ajc-test dir="new" pr="544"
title="advice formals produce errors just like method formals"
keywords="from-resolved_10x">
<compile files="AdviceFormalsCf.java">
<message kind="error" line="28"/>
<message kind="error" line="29"/>
<message kind="error" line="36"/>
<message kind="error" line="37"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="advice throws clauses must be compatible with joinpoints they apply to"
keywords="from-resolved_10x">
<compile files="AdviceThrowsCp.java"/>
<run class="AdviceThrowsCp"/>
</ajc-test>
<ajc-test dir="new" pr="570"
title="potential method conflicts with introductions and interfaces and PR#561"
keywords="from-resolved_10x">
<compile files="MethodConflictsCP.java"/>
<run class="MethodConflictsCP"/>
</ajc-test>
<ajc-test dir="new" pr="570"
title="illegal method conflicts with introductions and interfaces and PR#561"
keywords="from-resolved_10x">
<compile files="MethodConflictsCF.java">
<message kind="error" line="8"/>
<message kind="error" line="20"/>
<message kind="error" line="28"/>
</compile>
</ajc-test>
<ajc-test dir="new" title="AspectOf available for different aspect types"
keywords="from-resolved_10x">
<compile files="AspectOf.java"/>
<run class="AspectOf"/>
</ajc-test>
<ajc-test dir="new/privilegedAspects" pr="35593"
title="access to all members of class and inner class from privileged aspect"
keywords="from-resolved_10x">
<compile
files="driver/PrivilegedAspect.java,util/Util.java,pack/DefaultTarget.java,pack/PublicTarget.java"/>
<run class="driver.PrivilegedAspect"/>
</ajc-test>
<ajc-test dir="new"
title="cflow alone with around produces compiler bcg StackOverflowError"
keywords="from-resolved_10x">
<compile files="CflowAlone.java"/>
<run class="CflowAlone"/>
</ajc-test>
<ajc-test dir="new"
title="get/set join points run for complex assignment operators (+=, etc.) (working)"
keywords="from-resolved_10x">
<compile files="AssignOps.java"/>
<run class="AssignOps"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="this available in introduced field initializers"
keywords="from-resolved_10x">
<compile files="ThisInIntroFieldInit.java"/>
<run class="ThisInIntroFieldInit"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Introduced type unavailable to cast expressions in introduced methods"
keywords="from-resolved_10x">
<compile files="Cast.java,TargetClass.java,Util.java"/>
<run class="Cast"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Introduced type unavailable to qualified new expressions in introduced methods"
keywords="from-resolved_10x">
<compile files="Inner.java,TargetClass.java,Util.java"/>
<run class="Inner"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Introduced type unavailable to cast expressions in introduced field initializers"
keywords="from-resolved_10x">
<compile files="CastInFieldInit.java,TargetClass.java,Util.java"/>
<run class="CastInFieldInit"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Aspect type unavailable to qualified new expressions in body of introduced methods"
keywords="from-resolved_10x">
<compile files="AspectInIntroducedMethod.java"/>
<run class="AspectInIntroducedMethod"/>
</ajc-test>
<!-- This behavior is different from 1.0, but we might want to consider allowing it
Using the eclipse compiler it would be much easier to permit than forbid. -->
<ajc-test dir="new/introTypeMissing"
title="Introduced type unavailable to instanceof expressions in introduced methods"
keywords="from-resolved_10x,knownLimitation">
<compile files="InstanceOf.java,TargetClass.java,Util.java">
<message kind="error" line="19"/>
<message kind="error" line="20"/>
<message kind="error" line="21"/>
<message kind="error" line="22"/>
<message kind="error" line="23"/>
<message kind="error" line="24"/>
<message kind="error" line="25"/>
<message kind="error" line="26"/>
</compile>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Introduced type unavailable to qualified new expressions in introduced field initializers"
keywords="from-resolved_10x">
<compile files="InnerInFieldInit.java,TargetClass.java,Util.java"/>
<run class="InnerInFieldInit"/>
</ajc-test>
<ajc-test dir="new" pr="595"
title="variable slots and finally/catch causing verify errors"
keywords="from-resolved_10final,from-resolved_10x">
<compile files="AfterFinally.java"/>
<run class="AfterFinally"/>
</ajc-test>
<ajc-test dir="new"
title="enclosing join point not exported properly in pre-initialization join point"
keywords="from-resolved_10x,knownLimitation">
<compile files="PreInitialization.java"/>
<run class="PreInitialization"/>
</ajc-test>
<ajc-test dir="new" pr="590"
title="after advice on static method with pcd if() using result"
keywords="from-resolved_10x">
<compile files="PR590.java">
<message kind="error" line="20"/>
<message kind="error" line="23"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="590"
title="after advice on static method with pcd if() using result through pointcut"
keywords="from-resolved_10x">
<compile files="PR590a.java" options="-Xlint:ignore">
<message kind="error" line="29"/>
<message kind="error" line="31"/>
</compile>
</ajc-test>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 1)"
keywords="from-resolved_10x">
<compile files="Main.java,My_error.java,A.java,B.java,C.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 2)"
keywords="from-resolved_10x">
<compile files="Main.java,My_error.java,C.java,A.java,B.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 3)"
keywords="from-resolved_10x">
<compile files="My_error.java,A.java,B.java,C.java,Main.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 4)"
keywords="from-resolved_10x">
<compile files="A.java,B.java,C.java,Main.java,My_error.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 5)"
keywords="from-resolved_10x">
<compile files="A.java,B.java,Main.java,C.java,My_error.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new" title="declare error and abstract pointcuts"
keywords="from-resolved_10x">
<compile files="AbstractDeclare.java">
<message kind="error" line="3"/>
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="new/runtime"
title="Exercise runtime classes (optionally in 1.1 VM)"
keywords="from-resolved_10x">
<compile files="AllRuntime.java,TesterDriver.java"/>
<run class="TesterDriver"/>
</ajc-test>
<ajc-test dir="new"
title="VerifyError after around advice falls off end of tryCatch"
keywords="from-resolved_10x">
<compile files="TryOffEnd.java">
<message kind="warning" line="13"/>
<message kind="warning" line="21"/>
</compile>
<run class="TryOffEnd"/>
</ajc-test>
<ajc-test dir="new" pr="635" title="Named within pointcuts failing"
keywords="from-resolved_10x">
<compile files="NamedWithinPointcuts.java"/>
<run class="NamedWithinPointcuts"/>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="aspect with private abstract pointcut"
keywords="from-resolved_10x,fail-unimplemented">
<compile files="PrivatePointcutCE.java">
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="concrete aspect unable to access abstract package-private pointcut in parent for overriding"
keywords="from-resolved_10x"
comment="XXX getting error - confirm line numbers">
<compile files="parent/ParentCE.java,child/ChildCE.java">
<message kind="error" file="child/ChildCE.java" line="21"/>
<message kind="error" file="child/ChildCE.java" line="31"/>
<message kind="error" file="parent/ParentCE.java" line="8"/>
<message kind="error" file="parent/ParentCE.java" line="10"/>
<message kind="error" file="parent/ParentCE.java" line="12"/>
<message kind="error" file="parent/ParentCE.java" line="22"/>
</compile>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="inner, outer, and outside-package subaspects of an aspect with abstract protected-, public-, and default-access pointcuts"
keywords="from-resolved_10x">
<compile
files="parent/SubAspectVisibility.java,parent/ForeignChildHelper.java,child/ForeignChildAspect.java"/>
<run class="parent.SubAspectVisibility"/>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="inner subaspects of an aspect with private pointcut"
keywords="from-resolved_10x">
<compile files="parent/PrivatePointcut.java"/>
<run class="parent.PrivatePointcut"/>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="outer subaspects of an aspect with private pointcut"
keywords="from-resolved_10x">
<compile files="parent/PrivatePointcutOuterClass.java"/>
<run class="parent.PrivatePointcutOuterClass"/>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="abstract aspect used statically should not cause instantiation of advice or pointcut"
keywords="from-resolved_10x">
<compile files="AbstractAspectUsedStatically.java"/>
<run class="AbstractAspectUsedStatically"/>
</ajc-test>
<ajc-test dir="new"
title="private inner interface accessible in scope when declared on outer class"
keywords="from-resolved_10x">
<compile files="DeclareAccess.java"/>
<run class="DeclareAccess"/>
</ajc-test>
<ajc-test dir="new"
title="accessing protected superclass members in and outside CCC from body of method introduction"
keywords="from-resolved_10x">
<compile files="SuperInIntroduction.java"/>
<run class="SuperInIntroduction"/>
</ajc-test>
<ajc-test dir="new"
title="accessing private superclass members from body of method introduction"
keywords="from-resolved_10x">
<compile files="SuperInIntroductionCE.java">
<message kind="error" line="25"/>
<message kind="error" line="26"/>
</compile>
</ajc-test>
<ajc-test dir="new" title="simple test for around and casting"
keywords="from-resolved_10x">
<compile files="AroundCasting.java"/>
<run class="AroundCasting"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 1 - around advice inner Thread subclass running proceed but not writing field"
keywords="from-resolved_10x">
<compile files="ThreadNoField.java,Common.java"/>
<run class="ThreadNoField"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 2 - around advice inner Runnable running proceed and writing method-final proxy"
keywords="from-resolved_10x">
<compile files="Proxy.java,Common.java"/>
<run class="Proxy"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 3 - around advice inner class running proceed and writing field"
keywords="from-resolved_10x">
<compile files="Minimal.java,Common.java"/>
<run class="Minimal"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 4 - around advice inner Thread subclass running proceed and writing field"
keywords="from-resolved_10x">
<compile files="ThreadSub.java,Common.java"/>
<run class="ThreadSub"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 5 - around advice inner Runnable (subinterface) running proceed and writing field introduced on subinterface"
keywords="from-resolved_10x">
<compile files="RunnableSub.java,Common.java"/>
<run class="RunnableSub"/>
</ajc-test>
<ajc-test dir="new" pr="636"
title="Named local class closing over proceed invocation"
keywords="from-resolved_10x">
<compile files="LocalClassClosingOverProceed.java"/>
<run class="LocalClassClosingOverProceed"/>
</ajc-test>
<ajc-test dir="new"
title="beautiful recursive computation of factorial with around is now supported"
keywords="from-resolved_10x">
<compile files="CircularAdvice.java"/>
<run class="CircularAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="632"
title="multi-dispatch not used for named pcd references"
keywords="from-resolved_10x">
<compile files="MultiDispatchCf.java">
<message kind="error" line="54"/>
<message kind="error" line="57"/>
<message kind="error" line="60"/>
<message kind="error" line="71"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="632"
title="multi-dispatch implemented through around + args"
keywords="from-resolved_10x">
<compile files="MultiDispatchCp.java"/>
<run class="MultiDispatchCp"/>
</ajc-test>
<ajc-test dir="new"
title="unrecognized aspect should not net Cloneable and Serializable warnings"
keywords="from-resolved_10x">
<compile files="UnrecognizedAspectCE.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="unreachable code generated by around advice on the execution of void methods"
keywords="from-resolved_10x">
<compile files="AroundVoid.java"/>
<run class="AroundVoid"/>
</ajc-test>
<ajc-test dir="new" pr="654"
title="Overriding method implementations using introduction on interfaces"
keywords="from-resolved_10x,fail-unimplemented">
<compile files="IntroductionsOverriding.java" options="-Xlint:ignore" />
<run class="IntroductionsOverriding"/>
</ajc-test>
<ajc-test dir="new" pr="654"
title="more coverage for around and concrete methods on interfaces"
keywords="from-resolved_10x">
<compile files="MultiAndAround.java" options="-Xlint:ignore"/>
<run class="MultiAndAround"/>
</ajc-test>
<ajc-test dir="new" title="invalid number and type of proceed arguments"
keywords="from-resolved_10x">
<compile files="InvalidProceedArgsCE.java">
<message kind="error" line="10"/>
<message kind="error" line="15"/>
<message kind="error" line="17"/>
<message kind="error" line="20"/>
<message kind="error" line="22"/>
<message kind="error" line="27"/>
<message kind="error" line="29"/>
<message kind="error" line="31"/>
<message kind="error" line="37"/>
<message kind="error" line="39"/>
<message kind="error" line="43"/>
<message kind="error" line="46"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="694" title="after returning advice order"
keywords="from-resolved_10x">
<compile files="Cricket.java"/>
<run class="Cricket"/>
</ajc-test>
<ajc-test dir="new" pr="694" title="after returning advice param"
keywords="from-resolved_10x">
<compile files="AfterReturningParam.java"/>
<run class="AfterReturningParam"/>
</ajc-test>
<ajc-test dir="new" pr="695"
title="! and declaring types with callee-side call join points"
keywords="from-resolved_10x">
<compile files="NotAndDeclaringTypes.java" options="-Xlint:ignore"/>
<run class="NotAndDeclaringTypes"/>
</ajc-test>
<ajc-test dir="new" pr="479"
title=". Binding the wrong arguments in withincode(..)."
keywords="from-resolved_10x">
<compile files="BindingArgumentsInWithincode.java"/>
<run class="BindingArgumentsInWithincode"/>
</ajc-test>
<ajc-test dir="new" pr="479"
title=". Matching arguments in cflow correctly."
keywords="from-resolved_10x">
<compile files="MatchingArgumentsInCflow.java"/>
<run class="MatchingArgumentsInCflow"/>
</ajc-test>
<ajc-test dir="new" pr="480"
title=". Binding variables with numbers in their name with pertarget(..)'s."
keywords="from-resolved_10x">
<compile files="PerTargetAndVariablesWithNumbersInTheirNames.java"/>
<run class="PerTargetAndVariablesWithNumbersInTheirNames"/>
</ajc-test>
<ajc-test dir="new" pr="554"
title="second arg in formal on shared joinpoint with pcd if() causes verify error ??"
keywords="from-resolved_10rc3">
<compile files="PR554.java"/>
<run class="PR554"/>
</ajc-test>
<ajc-test dir="new/privilegedAspects" pr="555"
title="access to private members from privileged aspect"
keywords="from-resolved_10rc3">
<compile
files="driver/PR555.java,util/Util.java,pack/DefaultTarget.java"/>
<run class="driver.PR555"/>
</ajc-test>
<ajc-test dir="new" pr="555"
title="inner classes of privileged aspects cannot see target class private members"
keywords="from-resolved_10rc3">
<compile files="InnerClassInPrivilegedAspect.java"/>
<run class="InnerClassInPrivilegedAspect"/>
</ajc-test>
<ajc-test dir="new/packageAccessPR556" pr="556"
title="aspects should get package access outside the file"
keywords="from-resolved_10rc3">
<compile files="base1/p/C1.java,base2/p/C2.java"/>
<run class="p.C1"/>
</ajc-test>
<ajc-test dir="new" pr="559"
title="subclass advice not run for join points selected by superclass cflow-based pointcuts"
keywords="from-resolved_10rc3">
<compile files="PR559.java"/>
<run class="PR559"/>
</ajc-test>
<ajc-test dir="new" pr="559"
title="more issues with abstract aspects and cflow pointcuts"
keywords="from-resolved_10rc3,fail-unimplemented">
<compile files="AbstractCflows.java"/>
<run class="AbstractCflows"/>
</ajc-test>
<ajc-test dir="new" pr="560"
title="compile fails for aspect derived from percflow base aspect unless pointcut excludes base aspect and subaspects"
keywords="from-resolved_10rc3">
<compile files="PR560.java"/>
<run class="PR560"/>
</ajc-test>
<!-- pointcuts aren't checked for circularities unless they're used -->
<ajc-test dir="new" pr="568" title="cyclic pointcut definitions"
keywords="from-resolved_10rc3,knownLimitation">
<compile files="CyclicPointcuts.java">
<message kind="error" line="11"/>
<message kind="error" line="14"/>
<message kind="error" line="18"/>
<message kind="error" line="32"/>
<message kind="error" line="43"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="573"
title="pertarget stack overflow getting name of anonymous (Interface) class"
keywords="from-resolved_10rc3">
<compile files="PR573.java"/>
<run class="PR573"/>
</ajc-test>
<ajc-test dir="new" pr="573"
title="pertarget stack overflow getting name of anonymous (Object) class"
keywords="from-resolved_10rc3">
<compile files="PR573_1.java"/>
<run class="PR573_1"/>
</ajc-test>
<ajc-test dir="new" pr="573"
title="pertarget runtime stack overflow (getting name of anonymous (Object) class?)"
keywords="from-resolved_10rc3">
<compile files="PR573_2.java"/>
<run class="PR573_2"/>
</ajc-test>
<ajc-test dir="new"
title="PR584 Can construct inner classes using qualified expressions"
keywords="from-resolved_10rc3,purejava">
<compile files="PR584.java"/>
<run class="PR584"/>
</ajc-test>
<ajc-test dir="new" pr="685"
title="subaspect method declaration on superaspect inner interface (names)"
keywords="from-resolved_104">
<compile files="InnerInterfaceNames.java"/>
<run class="InnerInterfaceNames"/>
</ajc-test>
<ajc-test dir="new" pr="685"
title="subaspect method declaration on superaspect inner interface (access)"
keywords="from-resolved_104">
<compile files="InnerInterfaceAccess.java"/>
<run class="InnerInterfaceAccess"/>
</ajc-test>
<ajc-test dir="new" pr="685"
title="subaspect method declaration on superaspect inner interface (types)"
keywords="from-resolved_104">
<compile files="InnerInterfaceTypes.java,InnerInterfaceTypesHelper.java"/>
<run class="InnerInterfaceTypes"/>
</ajc-test>
<ajc-test dir="new" pr="691" title="around AST type XXX"
keywords="from-resolved_104">
<compile files="PR691.java"/>
<run class="PR691"/>
</ajc-test>
<ajc-test dir="new" pr="687"
title="around all execution with double assignment in initializer (simple)"
keywords="from-resolved_104">
<compile files="AroundDoubleAssignment.java"/>
<run class="AroundDoubleAssignment"/>
</ajc-test>
<ajc-test dir="new" pr="687"
title="around all execution with double assignment in initializer (coverage)"
keywords="from-resolved_104">
<compile files="AroundDoubleAssignmentC.java"/>
<run class="AroundDoubleAssignmentC"/>
</ajc-test>
<ajc-test dir="new"
title="changing this in around's proceed reported by Rich Price"
keywords="from-resolved_104">
<compile files="AroundChangeThis.java" options="-1.4"/>
<run class="AroundChangeThis"/>
</ajc-test>
<ajc-test dir="new" pr="548"
title="default package for aspect introductions is not the current package"
keywords="from-resolved_10rc3,from-resolved_104">
<compile
files="introductionPackage/two/C.java,introductionPackage/one/C.java,introductionPackage/one/Aspect.java,introductionPackage/one/TestAspect.java"/>
<run class="one.TestAspect"/>
</ajc-test>
<ajc-test dir="new/PR569" pr="569"
title="anon class written to wrong directory"
keywords="from-resolved_104,from-resolved_104">
<compile files="a/IntroAnon.java,a/MyInterface.java,b/Dest.java"/>
<run class="a.IntroAnon"/>
</ajc-test>
<ajc-test dir="new" pr="603"
title="unqualified transitive pointcut references not resolved"
keywords="from-resolved_104">
<compile files="PointcutQualification.java"/>
<run class="PointcutQualification"/>
</ajc-test>
<ajc-test dir="new" pr="603"
title="unqualified transitive pointcut references not resolved - 2"
keywords="from-resolved_104">
<compile files="PointcutQualification2.java"/>
<run class="PointcutQualification2"/>
</ajc-test>
<ajc-test dir="new" pr="619"
title="direct use outside aspect of defined abstract pointcut"
keywords="from-resolved_104">
<compile files="AbstractPointcutAccess.java"/>
<run class="AbstractPointcutAccess"/>
</ajc-test>
<ajc-test dir="new" pr="619"
title="direct use outside aspect of undefined abstract pointcut"
keywords="from-resolved_104">
<compile files="AbstractPointcutAccessCE.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="619"
title="indirect use outside aspect of undefined abstract pointcut"
keywords="from-resolved_104">
<compile files="AbstractPointcutIndirectCE.java">
<message kind="error" line="9"/>
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="658"
title="simple call join point tests for JoinPoint SourceLocation context"
keywords="from-resolved_104">
<compile files="SourceLocationCall.java"/>
<run class="SourceLocationCall"/>
</ajc-test>
<ajc-test dir="new" pr="661"
title="!target with second advice on casted call"
keywords="from-resolved_104">
<compile files="CallNotTarget.java"/>
<run class="CallNotTarget"/>
</ajc-test>
<ajc-test dir="new" pr="666" title="name binding in around cflow"
keywords="from-resolved_104">
<compile files="AroundCall.java"/>
<run class="AroundCall"/>
</ajc-test>
<ajc-test dir="new" pr="660" title="name binding in around cflow - 2"
keywords="from-resolved_104">
<compile files="ArgsInCflow2.java"/>
<run class="ArgsInCflow2"/>
</ajc-test>
<ajc-test dir="new" pr="677"
title="around name-binding in cflows using factorial"
keywords="from-resolved_104">
<compile files="FactorialCflow.java"/>
<run class="FactorialCflow"/>
</ajc-test>
<ajc-test dir="new" pr="715" title="incrementing objects, arrays - 2"
keywords="from-resolved_104,purejava">
<compile files="ArrayInc2CE.java">
<message kind="error" line="12"/>
<message kind="error" line="13"/>
<message kind="error" line="14"/>
<message kind="error" line="15"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="715" title="incrementing objects, arrays CE"
keywords="from-resolved_104,purejava,messages-vary">
<compile files="ArrayIncCE.java"
options="!eclipse">
<message kind="error" line="15"/>
<message kind="error" line="16"/>
<message kind="error" line="17"/>
<message kind="error" line="18"/>
<message kind="error" line="19"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="715" title="incrementing objects, arrays - 3"
keywords="from-resolved_104,purejava">
<compile files="ArrayInc3CE.java">
<message kind="error" line="15"/>
<message kind="error" line="16"/>
<message kind="error" line="17"/>
<message kind="error" line="18"/>
<message kind="error" line="19"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="715" title="incrementing objects, arrays"
keywords="from-resolved_104,purejava">
<compile files="ArrayInc.java"/>
<run class="ArrayInc"/>
</ajc-test>
<ajc-test dir="new" title="replacing this or target in around advice"
keywords="from-resolved_104">
<compile files="TargetObjectReplacement.java"/>
<run class="TargetObjectReplacement"/>
</ajc-test>
<ajc-test dir="new"
title="after returning from initialization and after executing constructor"
keywords="from-resolved_104">
<compile files="ConstructorExecInit.java"/>
<run class="ConstructorExecInit"/>
</ajc-test>
<ajc-test dir="new"
title="after returning from initialization causes ExceptionInInitializer in aspect">
<compile files="ConstructorExecInitFails.java"/>
<run class="ConstructorExecInitFails"/>
</ajc-test>
<ajc-test dir="new" pr="659"
title="name binding in before cflow containing cflowbelow"
keywords="from-resolved_104">
<compile files="ArgsInCflow.java" options="!eclipse">
<message kind="error" line="29"/>
<message kind="error" line="32"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" pr="737"
title="no circularity errors simply because of inners (1)"
keywords="from-resolved_105,purejava">
<compile files="circle/Test1CP.java"/>
<run class="circle.Test1CP"/>
</ajc-test>
<ajc-test dir="pureJava" pr="737"
title="no circularity errors simply because of inners (2)"
keywords="from-resolved_105,purejava">
<compile files="circle/Test2CP.java"/>
<run class="circle.Test2CP"/>
</ajc-test>
<ajc-test dir="pureJava" pr="737"
title="should have circular inheritance errors (1)"
keywords="from-resolved_105,purejava,messages-vary">
<compile files="circle/Test1CF.java"
options="!eclipse">
<message kind="error" line="7"/>
<message kind="error" line="15"/>
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" pr="737"
title="should have circular inheritance errors (2)"
keywords="from-resolved_105,purejava,messages-vary">
<compile files="circle/Test2CF.java"
options="!eclipse">
<message kind="error" line="6"/>
<message kind="error" line="10"/>
<message kind="error" line="15"/>
</compile>
</ajc-test>
<ajc-test dir="new/pr728" pr="728" title="file order in type searching"
keywords="from-resolved_105">
<compile files="AnotherClass.java,Interface.java"/>
<run class="AnotherClass"/>
</ajc-test>
<ajc-test dir="pureJava" pr="728"
title="interface using preceding subinterface in its definition"
keywords="from-resolved_105,purejava">
<compile files="ParentUsingChild.java"/>
<run class="ParentUsingChild"/>
</ajc-test>
<ajc-test dir="new" pr="645"
title="Parent interface using public inner interface of child in same file"
keywords="from-resolved_105,purejava">
<compile files="ParentInterfaceUsingChildInnerInterface.java"/>
<run class="ParentInterfaceUsingChildInnerInterface"/>
</ajc-test>
<ajc-test dir="errors"
title="a type is not allowed to extend or implement its own innner type"
keywords="from-resolved_105,purejava">
<compile files="NestedInterfaceTest.java">
<message kind="error" line="1"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="try requires block JLS 14.19"
keywords="from-resolved_105,purejava,messages-vary">
<compile files="TryBlockRequiredCE.java"
options="!eclipse">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" pr="722" title="loop expressions not declarations"
keywords="from-resolved_105,purejava,messages-vary">
<compile files="DeclarationsInLoopsCE.java"
options="!eclipse">
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="663"
title="no error when public class is in file of a different name"
keywords="from-resolved_105,purejava">
<compile options="-strict" files="PublicClassWrongFilename.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" pr="739"
title="local variables must be final to be accessed from inner class"
keywords="from-resolved_105,purejava">
<compile files="LocalsFromInnerCE.java">
<message kind="error" line="6"/>
<message kind="error" line="13"/>
<message kind="error" line="19"/>
<message kind="error" line="25"/>
<message kind="error" line="32"/>
<message kind="error" line="40"/>
<message kind="error" line="51"/>
<message kind="error" line="61"/>
<message kind="error" line="67"/>
<message kind="error" line="75"/>
<message kind="error" line="81"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" pr="739"
title="final local variables may be accessed from inner class"
keywords="from-resolved_105,purejava">
<compile files="LocalsFromInnerCP.java"/>
<run class="LocalsFromInnerCP"/>
</ajc-test>
<ajc-test dir="pureJava" pr="723" title="missing package identifier"
keywords="from-resolved_105,purejava">
<compile files="MissingPackageCE.java">
<message kind="error" line="2"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" pr="721"
title="interface declaration not permitted in local method scope"
keywords="from-resolved_105">
<compile files="LocalInterfaceCE.java">
<message kind="error" line="5"/>
<message kind="error" line="8"/>
<message kind="error" line="11"/>
<message kind="error" line="15"/>
</compile>
</ajc-test>
<ajc-test dir="new" title="simple declare warning (NPE)"
keywords="from-resolved_105">
<compile files="DeclareWarningMain.java">
<message kind="warning" line="5"/>
</compile>
<run class="DeclareWarningMain"/>
</ajc-test>
<ajc-test dir="new"
title="package typepattern with no packages (in default package)"
keywords="from-resolved_105,knownLimitation">
<compile options="-Xlint" files="TypeNames.java">
<message kind="warning" line="34"/>
<message kind="warning" line="39"/>
<message kind="warning" line="43"/>
<message kind="warning" line="47"/>
</compile>
<run class="TypeNames"/>
</ajc-test>
<ajc-test dir="new" pr="701"
title="CE for ambiguous type reference (two files in package)"
keywords="from-resolved_105,purejava">
<compile
files="ambiguousClass/AmbiguousReferent.java,ambiguousClass/AmbiguousClassReference.java">
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="initializer can throw so long as all constructors declare so"
keywords="from-resolved_105,purejava">
<compile files="InitializerWithThrow.java"/>
<run class="InitializerWithThrow"/>
</ajc-test>
<ajc-test dir="pureJava"
title="interfaces may not contain initializers (bug found by jacks)"
keywords="from-resolved_105,purejava">
<compile files="InterfaceMembersCf.java">
<message kind="error" line="2"/>
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="755"
title="ajc dies on cflow into field init anon class see knownbugs.txt"
keywords="from-resolved_105">
<compile files="CflowOfFieldInitAnonMethods.java" options="!eclipse">
</compile>
<run class="CflowOfFieldInitAnonMethods" options="!eclipse"/>
</ajc-test>
<ajc-test dir="pureJava"
title="initializers must be able to complete normally (found by jacks)"
keywords="from-resolved_105,purejava,messages-vary">
<compile files="InitializerFlowCf.java"
options="!eclipse">
<message kind="error" line="2"/>
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="757" title="Incrementing interface-introduced field"
keywords="from-resolved_105">
<compile files="IntroducedFieldInc.java"/>
<run class="IntroducedFieldInc"/>
</ajc-test>
<ajc-test dir="pureJava" title="more tests of super alone"
keywords="from-resolved_105,purejava">
<compile files="SuperIsWeird.java">
<message kind="error" line="9"/>
<message kind="error" line="13"/>
<message kind="error" line="20"/>
<message kind="error" line="21"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="The dynamic type, not the static one, should be used in if pcds"
keywords="from-resolved_105">
<compile files="StaticTypeInIf.java"/>
<run class="StaticTypeInIf"/>
</ajc-test>
<ajc-test dir="new"
title="bad interaction with after returning, around and void methods (from Rich Price)"
keywords="from-resolved_105">
<compile files="AfterReturningResult.java"/>
<run class="AfterReturningResult"/>
</ajc-test>
<ajc-test dir="new"
title="type pattern matching for inner classes (from Ken Horn)"
keywords="from-resolved_105">
<compile files="TypePat.java"/>
<run class="test.TypePat"/>
</ajc-test>
<ajc-test dir="new" pr="771" title="static initializer member name"
keywords="from-resolved_105">
<compile files="StaticInitName.java"/>
<run class="StaticInitName"/>
</ajc-test>
<ajc-test dir="new" pr="770" title="cflow pcd syntax error"
keywords="from-resolved_105">
<compile files="IllegalCflowCE.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="764"
title="binding args with indeterminate prefix and suffix"
keywords="from-resolved_105">
<compile files="IndeterminateArgs.java"/>
<run class="IndeterminateArgs"/>
</ajc-test>
<ajc-test dir="new" pr="764"
title="flag errors when binding args with indeterminate prefix and suffix"
keywords="from-resolved_105,knownLimitation">
<compile files="IndeterminateArgsCE.java">
<message kind="error" line="67"/>
<message kind="error" line="68"/>
<message kind="error" line="70"/>
<message kind="error" line="72"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="764"
title="check arg types with indeterminate prefix and suffix"
keywords="from-resolved_105">
<compile files="IndeterminateArgType.java"/>
<run class="IndeterminateArgType"/>
</ajc-test>
<ajc-test dir="new" pr="764"
title="testing and binding args with single indeterminate prefix and suffix"
keywords="from-resolved_105">
<compile files="IndeterminateArg.java"/>
<run class="IndeterminateArg"/>
</ajc-test>
<ajc-test dir="new" pr="764"
title="binding handler args with indeterminate prefix and suffix"
keywords="from-resolved_105">
<compile files="IndeterminateHandlerArg.java"/>
<run class="IndeterminateHandlerArg"/>
</ajc-test>
<ajc-test dir="pureJava"
title="Locals inside other locals, ordering of processing [eh]"
keywords="from-resolved_105">
<compile files="LocalInners2.java"/>
<run class="LocalInners2"/>
</ajc-test>
<ajc-test dir="pureJava" pr="752"
title="subclass access to enclosing super class private members"
keywords="from-resolved_105,purejava,fail-unimplemented">
<compile files="SubclassAccessToEnclosingSuperClassPrivate.java"/>
<run class="SubclassAccessToEnclosingSuperClassPrivate"/>
</ajc-test>
<ajc-test dir="new/nolang" pr="762"
title="Compiling java.lang.Object with ajc yields non-verifying bytecode"
keywords="from-resolved_105"
comment="XXX weak/bad test">
<compile files="java/lang/Object.java,java/lang/String.java">
</compile>
</ajc-test>
<ajc-test dir="new"
title="method-local class defined in around return statement"
keywords="from-resolved_105">
<compile files="MethodLocalAroundReturns.java"/>
<run class="MethodLocalAroundReturns"/>
</ajc-test>
<ajc-test dir="new" title="CE expected for assignment to arg in if pcd"
keywords="from-resolved_105">
<compile files="IfPCDAssignmentCE.java">
<message kind="error" line="16"/>
<message kind="error" line="20"/>
</compile>
</ajc-test>
<ajc-test dir="new" title="advising field get/sets when accessing via super"
keywords="from-resolved_105">
<compile files="SuperField.java"/>
<run class="SuperField"/>
</ajc-test>
<ajc-test dir="new" title="accessing private members in outer types"
keywords="from-resolved_105">
<compile files="FieldInnerAccess.java"/>
<run class="FieldInnerAccess"/>
</ajc-test>
<ajc-test dir="pureJava" title="various tests of switch bounds"
keywords="from-resolved_106,purejava">
<compile files="SwitchBounds.java"/>
<run class="SwitchBounds"/>
</ajc-test>
<ajc-test dir="new" pr="601"
title="VerifyError if nested sync returning result"
comment="XXX inconsistent behavior?"
keywords="from-resolved_10final,purejava">
<compile files="NestedSyncWithResult.java"/>
<run class="NestedSyncWithResult"/>
</ajc-test>
<ajc-test dir="new" pr="853"
title="declare interface extends class">
<compile files="DeclareInterfaceExtendsClass.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="853"
title="declare interface implements class">
<compile files="DeclareInterfaceImplementsClass.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="assert flow"
keywords="from-14tests,purejava">
<compile options="-source,1.4" files="AssertsCF.java">
<message kind="error" line="8"/>
<message kind="error" line="11"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="assert flow - 2"
keywords="from-14tests,purejava">
<compile options="-source,1.4" files="AssertsCF2.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="assert typing"
keywords="from-14tests,purejava,fail-publicType">
<compile options="-source,1.4" files="AssertsCF1.java">
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" title="asserts" keywords="from-14tests">
<compile options="-source,1.4" files="Asserts.java"/>
<run class="Asserts" vm="1.4"/>
</ajc-test>
<ajc-test dir="pureJava" title="assert coverage tests [requires 1.4]"
keywords="from-14tests,purejava">
<compile options="-source,1.4" files="AssertsCv.java"/>
<run class="AssertsCv" vm="1.4"/>
</ajc-test>
<ajc-test dir="pureJava"
title="assert coverage tests in one package [requires 1.4]"
keywords="from-14tests,purejava,fail-unimplemented">
<compile options="-source,1.4" files="AssertInOnePackage.java"/>
<run class="AssertInOnePackage" vm="1.4"/>
</ajc-test>
<ajc-test dir="new" title="assert tests in introduction [requires 1.4]"
keywords="from-14tests,fail-unimplemented">
<compile options="-source,1.4" files="AssertInIntro.java"/>
<run class="AssertInIntro" vm="1.4"/>
</ajc-test>
<ajc-test dir="pureJava" title="compiling asserts in methods"
keywords="from-14tests,purejava">
<compile options="-source,1.4,-usejavac" files="AssertInMethod.java"/>
<run class="AssertInMethod" vm="1.4"/>
</ajc-test>
<ajc-test dir="pureJava" pr="725"
title="asserts in aspect and declared methods [requires 1.4]"
keywords="from-14tests,purejava">
<compile options="-source,1.4,-usejavac"
files="IntroducedAssertion.java"/>
<run class="IntroducedAssertion" vm="1.4"/>
</ajc-test>
<ajc-test dir="design/around"
title="around and return types + inlining optimizations"
comment="-XOcodeSize not in 1.1, source uses 1.4 APIs"
keywords="from-14tests,knownLimitation">
<compile options="-XOcodeSize,-source,1.4"
files="ReturnCastProceed.java,StackChecker.java">
<message kind="warning" line="68"/>
</compile>
<run class="ReturnCastProceed" vm="1.4"/>
</ajc-test>
<ajc-test dir="base/test131"
title="various forms of package name pattern matching work"
keywords="from-broken14usejavac">
<compile files="Driver.java,p1/C1.java,p1/p2/C2.java" />
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="134"
title="import of a class in the default package"
keywords="from-broken14usejavac,purejava">
<compile files="ImportFromUnnamed.java,DeclaredExcs.java"/>
<run class="ImportFromUnnamed"/>
</ajc-test>
<ajc-test dir="pureJava" pr="386"
title="Referencing static interfaces with import statements"
keywords="from-broken14usejavac,purejava">
<compile files="ClassWithStaticInnerInterfaces.java"/>
<compile files="ImportingStaticInnerInterfaces_PR386.java"/>
<run class="ImportingStaticInnerInterfaces_PR386"/>
</ajc-test>
<ajc-test dir="pureJava" pr="386"
title="Referencing static interfaces with import statements stars"
keywords="purejava,from-broken14usejavac">
<compile files="ClassWithStaticInnerInterfaces.java"/>
<compile files="ImportingStaticInnerInterfacesStars_PR386.java"/>
<run class="ImportingStaticInnerInterfacesStars_PR386"/>
</ajc-test>
<ajc-test dir="pureJava" pr="386"
title="Referencing static interfaces with import statements stars 2"
keywords="purejava,from-broken14usejavac">
<compile files="ClassWithStaticInnerInterfaces.java"/>
<compile files="ImportingStaticInnerInterfacesStars2_PR386.java"/>
<run class="ImportingStaticInnerInterfacesStars2_PR386"/>
</ajc-test>
<ajc-test dir="pureJava" pr="386"
title="Referencing static interfaces with import statements stars 3"
keywords="purejava,from-broken14usejavac">
<compile files="ClassWithStaticInnerInterfaces.java"/>
<compile files="ImportingStaticInnerInterfacesStars3_PR386.java"/>
<run class="ImportingStaticInnerInterfacesStars3_PR386"/>
</ajc-test>
<ajc-test dir="pureJava" pr="386"
title="Referencing interfaces with import statements"
keywords="purejava,from-broken14usejavac">
<compile
files="ClassWithInnerInterfaces.java,ImportingInnerInterfaces_PR386.java"/>
<run class="ImportingInnerInterfaces_PR386"/>
</ajc-test>
<ajc-test dir="pureJava" pr="386"
title="Referencing interfaces with import statements stars"
keywords="purejava,from-broken14usejavac">
<compile
files="ClassWithInnerInterfaces.java,ImportingInnerInterfacesStars_PR386.java"/>
<run class="ImportingInnerInterfacesStars_PR386"/>
</ajc-test>
<ajc-test dir="pureJava" pr="386"
title="Referencing interfaces with import statements stars 2"
keywords="purejava,from-broken14usejavac">
<compile
files="ClassWithInnerInterfaces.java,ImportingInnerInterfacesStars2_PR386.java"/>
<run class="ImportingInnerInterfacesStars2_PR386"/>
</ajc-test>
<ajc-test dir="pureJava" pr="386"
title="Referencing interfaces with import statements stars 3"
keywords="purejava,from-broken14usejavac">
<compile
files="ClassWithInnerInterfaces.java,ImportingInnerInterfacesStars3_PR386.java"/>
<run class="ImportingInnerInterfacesStars3_PR386"/>
</ajc-test>
<ajc-test dir="new" pr="657"
title="assert statement in advice coverage [requires 1.4]"
keywords="from-14tests,fail-in-eclipse">
<compile options="-source,1.4" files="AssertInAdvice.java"/>
<run class="AssertInAdvice" vm="1.4"/>
</ajc-test>
<ajc-test dir="new" pr="657"
title="assert statement in advice [requires 1.4]"
keywords="from-14tests,fail-in-eclipse">
<compile options="-source,1.4" files="AssertInAdviceBug.java"/>
<run class="AssertInAdviceBug" vm="1.4"/>
</ajc-test>
<ajc-test dir="new" pr="823"
title="declaring a private method on an inner interface"
keywords="tofix">
<compile files="PrivateMethodOnInnerInterface.java"/>
<run class="PrivateMethodOnInnerInterface"/>
</ajc-test>
<ajc-test dir="new" pr="829"
title="CE expected when declaring fields on arrays" keywords="tofix">
<compile files="ArrayFieldDeclarationCE.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="pureJava" pr="866"
title="non-constant static final fields marked as final in .class">
<compile files="FinalStaticField.java"/>
<run class="FinalStaticField"/>
</ajc-test>
<ajc-test dir="new" pr="883"
title="signature of handler join point">
<compile files="HandlerSignature.java"/>
<run class="HandlerSignature"/>
</ajc-test>
<ajc-test dir="new" pr="885"
title="source locations within expressions">
<compile files="SourceLocationWithinExpr.java"/>
<run class="SourceLocationWithinExpr"/>
</ajc-test>
<ajc-test dir="new" pr="885" keywords="knownLimitation"
comment="this behaves differently in 1.3 from 1.4 for unknown reasons, merge with above when resolved"
title="source locations within expressions (hard case of constructor start)">
<compile files="SourceLocationWithinExprHard.java"/>
<run class="SourceLocationWithinExprHard"/>
</ajc-test>
<ajc-test dir="new" pr="888"
title="crashes given method in declared method">
<compile files="DeclareMethodCE.java">
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="889"
title="after returning advice on interface constructor">
<compile files="AfterReturningInterfaceConstructor.java"/>
<run class="AfterReturningInterfaceConstructor"/>
</ajc-test>
<ajc-test dir="bugs" pr="900"
title="after advice on static call join point">
<compile files="AfterStaticCall.java"/>
<run class="AfterStaticCall"/>
</ajc-test>
<ajc-test dir="bugs" pr="901"
title="incompatible class change error"
comment="XXX Jim and Erik found/fixed this - need basis">
<compile files="IncompatibleClassChangeErrorBug.java"/>
<run class="IncompatibleClassChangeErrorBug"/>
</ajc-test>
<ajc-test dir="bugs" pr="903"
title="simple cflow of method execution">
<compile files="ExecutionCflow.java"/>
<run class="ExecutionCflow"/>
</ajc-test>
<ajc-test dir="bugs" pr="909"
title="using instance as class reference to constant field"
comment="XXX need to verify run">
<compile files="InstanceAsClassRefToConstant.java"/>
</ajc-test>
<!-- .................................... option tests -->
<!-- .................................... -warn tests -->
<ajc-test dir="options/deprecated"
title="options -warn:deprecation">
<compile files="WarnDeprecated.java,OldStuff.java"
options="!eclipse,-warn:deprecation">
<message kind="warning" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="options/deprecated"
title="options -warn:deprecation not enabled">
<compile files="WarnDeprecated.java,OldStuff.java"
options="!eclipse">
</compile>
</ajc-test>
<!-- .................................... -Xlint tests -->
<!-- ............... positive -Xlint tests -->
<ajc-test dir="options"
title="options -Xlint args()"
keywords="lint">
<compile files="XLintTypeArgsPCD.java"
options="!Xlint">
<message kind="warning" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="options"
title="options declare field on bad type">
<compile files="XLintTypeDeclareField.java" options="!eclipse">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="options"
title="options declare method on bad type">
<compile files="XLintTypeDeclareMethod.java" options="!eclipse">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="options"
title="options -Xlint declare parent"
keywords="lint">
<compile files="XLintTypeDeclareParent.java"
options="!Xlint">
<message kind="warning" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="options"
title="options -Xlint target()"
keywords="lint">
<compile files="XLintTypeTargetPCD.java"
options="!Xlint">
<message kind="warning" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="options"
title="options -Xlint this()"
keywords="lint">
<compile files="XLintTypeThisPCD.java"
options="!Xlint">
<message kind="warning" line="10"/>
</compile>
</ajc-test>
<!-- ............... negative -Xlint tests -->
<ajc-test dir="options"
title="options negative -Xlint args()"
keywords="lint">
<compile files="XLintTypeArgsPCD.java" options="-Xlint:ignore"/>
</ajc-test>
<ajc-test dir="options"
title="options negative -Xlint declare parent"
keywords="lint">
<compile files="XLintTypeDeclareParent.java" options="-Xlint:ignore"/>
</ajc-test>
<ajc-test dir="options"
title="options negative -Xlint target()"
keywords="lint">
<compile files="XLintTypeTargetPCD.java" options="-Xlint:ignore"/>
</ajc-test>
<ajc-test dir="options"
title="options negative -Xlint this()"
keywords="lint">
<compile files="XLintTypeThisPCD.java" options="-Xlint:ignore"/>
</ajc-test>
<!-- .................................... -injars tests -->
<ajc-test dir="options/injars/simple"
title="source for options -injars">
<compile files="Simple.java,Main.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="options/injars/simple"
title="options -injars">
<compile files="Simple.java,main.jar"
options="!eclipse"/>
<run class="Main"/>
</ajc-test>
<!-- .................................... aspectpath tests -->
<!-- The jars used by this test can be regenerated with
org.aspectj.ajdt.core/testsrc/org.aspectj.ajdt.internal.compiler.batch.BcweaverJarMaker
-->
<ajc-test dir="new/options11"
comment="XXX not validated correct yet"
title="testing new options">
<compile files="Main.java,injar.jar,Aspect.java"
aspectpath="aspectlib1.jar,aspectlib2.jar"/>
<!-- can't run until we support classpath including the above jars
<run class="Main"/>
-->
</ajc-test>
<ajc-test dir="new" pr="774"
title="interface self-reference in anonymous instance">
<compile files="AnonymousSelfReference.java"/>
<run class="AnonymousSelfReference"/>
</ajc-test>
<ajc-test dir="new" pr="776"
title="self-reference from (aspect-declared) method-local class">
<compile files="MethodSelfReference.java"/>
<run class="MethodSelfReference"/>
</ajc-test>
<ajc-test dir="new" title="expect CE for unterminated declare error">
<compile files="UnterminatedDeclareErrorCE.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="expect CE for declaration collision between subaspects instead of domination order">
<compile files="DeclarationCollisionCE.java">
<message kind="error" line="10"/>
<message kind="error" line="20"/>
<message kind="error" line="27"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="subtype pattern in dominates should pick out aspect subtypes">
<compile files="DominatesTypePattern.java"/>
<run class="DominatesTypePattern"/>
</ajc-test>
<ajc-test dir="new"
title="subtype pattern in dominates will conflict with type pattern">
<compile files="DominatesTypePatternCE.java">
<message kind="error" line="15"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="827"
title="after returning advice on interface and implementation constructor"
keywords="tofix">
<compile files="AfterReturningConstructor.java"/>
<run class="AfterReturningConstructor"/>
</ajc-test>
<ajc-test dir="new" pr="832"
title="after throwing advice with non-throwable formal">
<compile files="AfterThrowingNonThrowable.java">
<message kind="error" line="41"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="829" title="declare array field using postfix"
keywords="tofix">
<compile files="ArrayFieldDeclaration.java">
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="851"
title="prohibit declaring new aspect constructor with arguments">
<compile files="DeclareAspectConstructorCE.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="851"
title="prohibit declaring only aspect constructor with arguments">
<compile files="DeclareOnlyAspectConstructorCE.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<!-- The follwing three idioms are allowed. Within a declare parents,
implements and extends can be used interchangably. We could
provide -Xlint style warnings for misuse.
-->
<ajc-test dir="new" pr="853"
title="declare class extends interface">
<compile files="DeclareClassExtendsInterface.java">
</compile>
</ajc-test>
<ajc-test dir="new" pr="853"
title="declare class implements class">
<compile files="DeclareClassImplementsClass.java">
</compile>
</ajc-test>
<ajc-test dir="new" pr="853"
title="declare interface implements interface">
<compile files="DeclareInterfaceImplementsInterface.java">
</compile>
</ajc-test>
<ajc-test dir="new"
title="if and cflow arg binding">
<compile files="CflowBinding.java">
<message kind="error" line="13"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="902"
title="circularity in declare dominates">
<compile files="CircularDominates.java">
<message kind="error" line="18"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="28702" title="percflow code hangs compiler">
<compile files="CloseConnectionsCflow.java">
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="28703" title="assert and pertarget crashes compiler">
<compile files="EnsureOverriding.java" options="-source,1.4"/>
<run class="EnsureOverriding" vm="1.4"/>
</ajc-test>
<ajc-test dir="bugs" pr="28852"
title="Verification error tracing constructor that takes arguments">
<compile files="ConstructorArgTracing.java"/>
<run class="ConstructorArgTracing"/>
</ajc-test>
<ajc-test dir="bugs" pr="29106" title="declared exceptions in inter-type decls">
<compile files="ExceptionsOnInters.java"/>
<run class="ExceptionsOnInters"/>
</ajc-test>
<ajc-test dir="bugs" pr="28921"
title="Verify error on non-Throwable in declare soft">
<compile files="DeclareSoftCf.java" options="-Xlint:warning">
<message kind="warning" line="28"/>
<message kind="error" line="29"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="29113" title="inter-type fields with array types">
<compile files="InterFieldArrays.java"/>
<run class="InterFieldArrays"/>
</ajc-test>
<ajc-test dir="new"
title="unmatched type name in a declare parents should result in a warning in -Xlint mode"
keywords="tofix">
<compile options="-Xlint" files="MissingTypeInDeclareParents.java">
<message kind="warning" line="20"/>
</compile>
<run class="MissingTypeInDeclareParents"/>
</ajc-test>
<ajc-test dir="new" pr="838"
title="checking around join point for advice return type - numeric">
<compile files="AroundNumericCastCE.java">
<message kind="error" line="12"/>
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="836" title="void around advice without proceed">
<compile files="VoidAround.java">
<message kind="error" line="11"/>
<message kind="error" line="29"/>
</compile>
</ajc-test>
<ajc-test dir="new/PR852" pr="852"
title="declaring method on superclass and subclass">
<compile files="aspectPack/Aspect.java,target/SubClass.java,target/SuperClass.java">
<dir-changes added="target.SubClass,target.SuperClass"/>
</compile>
<run class="aspectPack.Aspect"/>
</ajc-test>
<!-- Can't handle packages named 'aspect' in parser
-->
<ajc-test dir="new/PR852" pr="852"
title="declaring method on superclass and subclass"
keywords="knownLimitation">
<compile files="aspect/Aspect.java,target/SubClass.java,target/SuperClass.java">
<dir-changes added="target.SubClass,target.SuperClass"/>
</compile>
<run class="aspect.Aspect"/>
</ajc-test>
<!-- The correct behavior of this program is to produce an Xlint
warning for the lack of access to the needed type, and then
to generate code with link errors that will throw a NoSuchMethodError
when run.
-->
<ajc-test dir="bugs" pr="906"
title="privileged access to code outside the control of the compiler">
<compile files="PrivilegeBeyondScope.java" options="-Xlint:warning">
<message kind="warning" line="23"/>
</compile>
</ajc-test>
<ajc-test dir="new/PR862" pr="862"
title="import any inner from interface implementor"
keywords="purejava">
<compile files="pack/ImportInnerFromInterfaceImplementor.java">
<dir-changes added="pack.ImportInnerFromInterfaceImplementor"/>
</compile>
<run class="pack.ImportInnerFromInterfaceImplementor"/>
</ajc-test>
<ajc-test dir="new/finalfield" pr="28974"
title="introducing final fields (simple)">
<compile files="Introducer.java,Receiver.java,User1.java"/>
<run class="User1"/>
</ajc-test>
<ajc-test dir="new/finalfield" pr="28974"
title="introducing final fields and using as constants">
<compile files="Introducer.java,Receiver.java,User2.java"/>
<run class="User2"/>
</ajc-test>
<ajc-test dir="new/finalfield" pr="28974"
title="introducing final fields and checking errors">
<compile files="Introducer.java,Receiver.java,UserCf.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="29691"
title="Static inner aspects cannot reference user defined pointcuts">
<compile files="PcdLookup.java" />
<run class="PcdLookup"/>
</ajc-test>
<ajc-test dir="bugs" pr="29691"
title="Static inner aspects cannot reference user defined pointcuts">
<compile files="SoftWithin.java" />
<run class="SoftWithin"/>
</ajc-test>
<ajc-test dir="bugs" pr="29689"
title="Declare precedence should not allow multiple * patterns">
<compile files="CircularPrecedence.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="29662"
title="VerifyError on accessing objects not accessible to the weaver">
<compile files="AroundAccess.java">
</compile>
<run class="AroundAccess"/>
</ajc-test>
<ajc-test dir="new" pr="804"
title="aspect static initializers should run before instance constructed"
keywords="tofix">
<compile files="AspectStaticInit.java"/>
<run class="AspectStaticInit"/>
</ajc-test>
<ajc-test dir="bugs" pr="29959"
title="super call in intertype method declaration body causes VerifyError">
<compile files="SuperToIntro.java"/>
<run class="SuperToIntro"/>
</ajc-test>
<ajc-test dir="bugs/crashes" pr="30168"
title="Error with certain combination of advice">
<compile files="test/Test3.java"/>
<run class="test.Test3"/>
</ajc-test>
<ajc-test dir="bugs" pr="31423"
title="Pointcut adviceexecution() does not work">
<compile files="AdviceExec.java"/>
<run class="AdviceExec"/>
</ajc-test>
<ajc-test dir="bugs" pr="30026"
title="problems with finalize call">
<compile files="Finalizer.java">
<message kind="error" line="22"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="33635"
title="Negation of if pointcut does not work">
<compile files="NotIf.java"/>
<run class="NotIf"/>
</ajc-test>
<ajc-test dir="bugs" pr="32463"
title="ajc reports error when encountering static declaration of nested classes">
<compile files="WeaveLocal.java"/>
<run class="WeaveLocal"/>
</ajc-test>
<ajc-test dir="bugs" pr="32428"
title="can't use pointcuts defined in inner aspects ">
<compile files="InnerPointcut.java"/>
<run class="InnerPointcut"/>
</ajc-test>
<ajc-test dir="bugs/interfaceNames" pr="32421"
title="can't resolve nested public interfaces (also PR#32399)">
<compile files="TransactionTest.java,sub/ExecutionMonitor.java,sub/ObserverProtocol.aj"/>
<run class="TransactionTest"/>
</ajc-test>
<ajc-test dir="bugs" pr="34210"
title="thisJoinPoint.getArgs() causes IncompatibleClassChangeError">
<compile files="ThisJoinPointAndVerifier.java"/>
<run class="ThisJoinPointAndVerifier"/>
</ajc-test>
<ajc-test dir="errors" keywords="error"
title="inter-type declaration of void field">
<compile files="VoidFieldDeclarationCE.java">
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="binding"
title="no such constructor for proceed argument (error)">
<compile files="UnfoundConstructor.java">
<message kind="error" line="25"/>
</compile>
</ajc-test>
<ajc-test dir="new/declare" pr="31724"
title="omnibus declare warning context with no initializer/constructor">
<compile files="DeclareWarningEmpty.java">
<message kind="warning" line="3" text="2 - initialization(DeclareWarningEmpty)"/>
<message kind="warning" line="3" text="1 - staticinitialization(DeclareWarningEmpty)"/>
</compile>
</ajc-test>
<ajc-test dir="new/declare" pr="31724"
title="omnibus declare warning context">
<compile files="DeclareWarning.java">
<message kind="warning" line="5" text="staticinitialization(DeclareWarning)"/>
<message kind="warning" line="12" text="call(DeclareWarning.new())"/>
<message kind="warning" line="13" text="get staticInt"/>
<message kind="warning" line="14" text="get instanceInt"/>
<message kind="warning" line="15" text="set staticInt"/>
<message kind="warning" line="16" text="set instanceInt"/>
<message kind="warning" line="17" text="call(void run())"/>
<message kind="warning" line="18" text="call(void irun())"/>
<message kind="warning" line="21" text="execution(void run())"/>
<message kind="warning" line="22" text="execution(void irun())"/>
<message kind="warning" line="23" text="execution(DeclareWarning.new())"/>
<message kind="warning" line="23" text="initialization(DeclareWarning)"/>
<message kind="warning" line="33" text="handler(OutOfMemoryError) && within(DeclareWarning)"/>
<message kind="warning" line="36" text="handler(Error)"/>
<message kind="warning" line="39" text="handler(RuntimeException) && withincode(DeclareWarning.new())"/>
<message kind="warning" line="74" text="adviceExecution() && within(A)"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="29934"
title="can't apply around advice to the execution of around advice"
keywords="from-resolved_10x">
<compile files="CflowCycles.java"/>
<run class="CflowCycles"/>
</ajc-test>
<ajc-test dir="new"
title="incompatible advice throws clause are a compile-time error"
keywords="from-resolved_10x">
<compile files="AdviceThrowsCf.java">
<message kind="error" line="13"/>
<message kind="error" line="28"/>
<message kind="error" line="47"/>
<message kind="error" line="48"/>
<message kind="error" line="50"/>
<message kind="error" line="70"/>
<message kind="error" line="74"/>
<message kind="error" line="76"/>
<message kind="error" line="78"/>
<message kind="error" line="85"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="34858"
title="cflow binding issues with ignoring state">
<compile files="CflowBinding.java"/>
<run class="CflowBinding"/>
</ajc-test>
<ajc-test dir="bugs" pr="34858"
title="cflow binding -- original weaver crash">
<compile files="CflowBindingOrig.java"/>
<run class="CflowBindingOrig"/>
</ajc-test>
<ajc-test dir="errors"
title="type not imported in around advice">
<compile files="TypeNotImportedInAroundCE.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="errors"
title="type not imported in aspect">
<compile files="TypeInAspectNotImportedCE.java">
<message kind="error" line="6"/>
</compile>
</ajc-test>
<ajc-test dir="errors" keywords="error"
title="class extending abstract aspect">
<compile files="ClassExtendingAbstractAspectCE.java">
<message kind="error" line="20"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="660" title="illegal name binding in around cflow"
keywords="from-resolved_104,knownLimitation">
<compile files="ArgsInCflowCf.java">
<message kind="error" line="19"/>
<message kind="error" line="29"/>
<message kind="error" line="35"/>
</compile>
</ajc-test>
<ajc-test dir="incremental/stringliteral"
keywords="knownLimitation"
title="incrementally change string size and wire in injar classes">
<compile staging="true" options="-incremental"
files="oneInjar.jar,twoInjar.jar"
sourceroots="src"/>
<run class="packageOne.Main"
options="in packageOne.Main.main(..),
before main packageOne.Main"/>
<inc-compile tag="20">
<dir-changes updated="packageOne.Main"/>
</inc-compile>
<!-- now failing here. This step passes in non-injar variant. -->
<run class="packageOne.Main"
options="in longer packageOne.Main.main(..),
before main packageOne.Main"/>
<inc-compile tag="30">
<dir-changes added="RunInjarMains"/>
</inc-compile>
<run class="packageOne.Main"
options="in longer packageOne.Main.main(..),
before main InjarOneMain,
before main InjarTwoMain,
before main packageOne.Main"/>
</ajc-test>
<ajc-test dir="bugs" pr="34206"
keywords="knownLimitation"
title="before():execution(new(..)) does not throw NoAspectBoundException"
comment="correct behavior of this case needs to be thought through">
<compile files="AspectInitError.java"/>
<run class="AspectInitError"/>
</ajc-test>
<ajc-test dir="bugs" pr="34925"
title="declare soft and throw statements">
<compile files="ConvertToUnchecked.java"/>
<run class="ConvertToUnchecked"/>
</ajc-test>
<ajc-test dir="bugs/interAbstract"
title="inter-type declaration bug with abstract classes"
pr="36046">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="bugs/interInherit" pr="35725"
title="Inter type declaration to base class not seen by derived class">
<compile files="a_impl/AImpl.java,a_impl/Af.java,a_intf/A.java,b_impl/BImpl.java,b_intf/B.java"/>
<run class="b_impl.BImpl"/>
</ajc-test>
<ajc-test dir="new/declareParents"
title="Declare parents with intermediate ancestor"
keywords="from-new">
<compile files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/declareParents"
title="Declare parents removing ancestor"
keywords="from-new">
<compile files="IllegalAdoption.java">
<message kind="error" line="13"/>
</compile>
</ajc-test>
<ajc-test dir="options/injars/simple" pr="35865"
title="options -injars checking declare parents interactions">
<compile files="DecParents.java,main.jar"
options="!eclipse"/>
<run class="DecParents"/>
</ajc-test>
<ajc-test dir="bugs/interSpecials" title="IllegalAccessError while accessing introduced variable / 1.1rc1"
pr="36110">
<compile files="p1/C.java,p2/A1.java"/>
<run class="p2.A1"/>
</ajc-test>
<ajc-test dir="bugs/interSpecials" title="testing that assert works like .class"
pr="36110">
<compile files="p1/C.java,p2/A2.java" options="-source,1.4"/>
<run class="p2.A2" vm="1.4"/>
</ajc-test>
<ajc-test dir="new" pr="36736"
title="implemented abstract pointcut">
<compile files="AbstractImplementedPointcut.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="new/verifyError" pr="36673"
title="privileged aspect main verify error">
<compile files="Privilege.java"/>
<run class="Privilege"/>
</ajc-test>
<ajc-test dir="bugs" pr="36564"
title="Internal compiler error with thisJoinPoint.getStaticPart()">
<compile files="tjpStaticPart/Test.java,tjpStaticPart/Exceptions.java"/>
<run class="tjpStaticPart.Test"/>
</ajc-test>
<ajc-test dir="bugs" pr="29665"
title="Inconsistant stack height with around">
<compile files="StackError.java"/>
<run class="StackError"/>
</ajc-test>
<ajc-test dir="bugs/messyAround" pr="36056"
title="Ajc 1.1 rc1 java.lang.VerifyError with messy arounds">
<compile files="aspects/Trace.aj,cap/OptionList.java,DebugTrace.aj">
<message kind="warning" line="102"/>
<message kind="warning" line="124"/>
<message kind="warning" line="138"/>
</compile>
<run class="cap.OptionList"/>
</ajc-test>
<ajc-test dir="new"
title="try/finally in around advice (same as ...messy arounds?)">
<compile files="TryFinallyInAround.java"/>
<run class="TryFinallyInAround"/>
</ajc-test>
<ajc-test dir="new" pr="36778"
title="advise join points in subclass of empty interface">
<compile files="EmptyInterface.java"/>
<run class="EmptyInterface"/>
</ajc-test>
<ajc-test dir="new" pr="36778"
title="can't put around advice on interface static initializer"
comment="this tests for a nice message given a compiler limitation">
<compile files="EmptyInterfaceCE.java">
<message kind="error" line="20"/>
<message kind="error" line="23"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="36803"
title="cflow concretization causing assertion failure">
<compile files="CflowConcrete.java"/>
<run class="CflowConcrete"/>
</ajc-test>
<ajc-test dir="new/options11" pr="36329"
comment="the line number might change, we're really interested only in the files here"
title="The compiler crashes when using aspect libraries created without using -noweave">
<compile files="Main.java,injar.jar,Aspect.java,aspectlib1.jar,aspectlib2.jar">
<message kind="error" line="0"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" title="lame error message: negation doesn't allow binding"
pr="30663">
<compile files="BadBindingError.java">
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="bugs/interSpecials" pr="36936"
title="Error when introducing members of type Class">
<compile files="Trg.java,Asp.java"/>
<run class="Trg"/>
</ajc-test>
<ajc-test dir="new"
comment="this is a pureJava test, but we always want to run it"
title="arrays via Class.forName()">
<compile files="ClassForName.java"/>
<run class="ClassForName"/>
</ajc-test>
<ajc-test dir="new/binaryWarnings/src" pr="37020"
title="declare warnings on main">
<compile files="aspects/MainWarnings.java,app/Main.java">
<message line="6" text="staticinitialization(Main)" kind="warning" file="app/Main.java" />
<message line="6" text="set(String Main.staticString)" kind="warning" file="app/Main.java" />
<message line="8" text="set(String Main.s)" kind="warning" file="app/Main.java" />
<message line="12" text="get(String Main.staticString)" kind="warning" file="app/Main.java" />
<message line="14" text="set(String Main.staticString)" kind="warning" file="app/Main.java" />
<message line="16" text="call(Main.new())" kind="warning" file="app/Main.java" />
<message line="19" text="call(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="23" text="initialization(Main.new())" kind="warning" file="app/Main.java" />
<message line="23" text="get(String Main.s)" kind="warning" file="app/Main.java" />
<message line="23" text="set(String Main.s)" kind="warning" file="app/Main.java" />
<message line="26" text="execution(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="29" text="get(String Main.s)" kind="warning" file="app/Main.java" />
<message line="31" text="set(String Main.s)" kind="warning" file="app/Main.java" />
<message line="32" text="D.go withincode(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="33" text="handler(RuntimeException)" kind="warning" file="app/Main.java" />
<message line="35" text="withincode(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="42" text="withincode(void Main.stop())" kind="warning" file="app/Main.java" />
<message line="50" text="preinitialization(app.C.new())" kind="warning" file="app/Main.java" />
</compile>
<run class="app.Main"/>
</ajc-test>
<ajc-test dir="new/binaryWarnings/src" pr="37020"
title="declare warnings on binary javac 1.4 classes">
<compile files="aspects/MainWarnings.java,../injars/app-javac-1.4.jar">
<message line="6" text="staticinitialization(Main)" kind="warning" file="app/Main.java" />
<message line="6" text="set(String Main.staticString)" kind="warning" file="app/Main.java" />
<message line="8" text="set(String Main.s)" kind="warning" file="app/Main.java" />
<message line="12" text="get(String Main.staticString)" kind="warning" file="app/Main.java" />
<message line="14" text="set(String Main.staticString)" kind="warning" file="app/Main.java" />
<message line="16" text="call(Main.new())" kind="warning" file="app/Main.java" />
<message line="19" text="call(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="23" text="initialization(Main.new())" kind="warning" file="app/Main.java" />
<message line="23" text="get(String Main.s)" kind="warning" file="app/Main.java" />
<message line="23" text="set(String Main.s)" kind="warning" file="app/Main.java" />
<message line="26" text="execution(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="29" text="get(String Main.s)" kind="warning" file="app/Main.java" />
<message line="31" text="set(String Main.s)" kind="warning" file="app/Main.java" />
<message line="32" text="D.go withincode(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="33" text="handler(RuntimeException)" kind="warning" file="app/Main.java" />
<message line="35" text="withincode(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="42" text="withincode(void Main.stop())" kind="warning" file="app/Main.java" />
<message line="50" text="preinitialization(app.C.new())" kind="warning" file="app/Main.java" />
</compile>
<run class="app.Main"/>
</ajc-test>
<ajc-test dir="new/binaryWarnings/src" pr="37023"
title="declare warnings on binary ajc 1.1 classes">
<compile files="aspects/MainWarnings.java,../injars/app-ajc-1.1.jar">
<message line="6" text="staticinitialization(Main)" kind="warning" file="app/Main.java" />
<message line="6" text="set(String Main.staticString)" kind="warning" file="app/Main.java" />
<message line="8" text="set(String Main.s)" kind="warning" file="app/Main.java" />
<message line="12" text="get(String Main.staticString)" kind="warning" file="app/Main.java" />
<message line="14" text="set(String Main.staticString)" kind="warning" file="app/Main.java" />
<message line="16" text="call(Main.new())" kind="warning" file="app/Main.java" />
<message line="19" text="call(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="23" text="initialization(Main.new())" kind="warning" file="app/Main.java" />
<message line="23" text="get(String Main.s)" kind="warning" file="app/Main.java" />
<message line="23" text="set(String Main.s)" kind="warning" file="app/Main.java" />
<message line="26" text="execution(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="29" text="get(String Main.s)" kind="warning" file="app/Main.java" />
<message line="31" text="set(String Main.s)" kind="warning" file="app/Main.java" />
<message line="32" text="D.go withincode(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="33" text="handler(RuntimeException)" kind="warning" file="app/Main.java" />
<message line="35" text="withincode(void Main.go(String))" kind="warning" file="app/Main.java" />
<message line="42" text="withincode(void Main.stop())" kind="warning" file="app/Main.java" />
<message line="50" text="preinitialization(app.C.new())" kind="warning" file="app/Main.java" />
</compile>
<run class="app.Main"/>
</ajc-test>
<ajc-test dir="new/binaryWarnings/src" pr="37020"
keywords="knownLimitation"
comment="source loc of binary jp depends on first code, not block start"
title="declare error on handler/method execution with no code on binary ajc 1.1 classes">
<compile files="aspects/MainExecStartLinesErrors.java,../injars/appStartLines-ajc-1.1.jar">
<message kind="error" file="app/MainExecStartLines.java"
line="6" text="execution(void MainExecStartLines.main(String[]))"/>
<message kind="error" file="app/MainExecStartLines.java"
line="17" text="handler(RuntimeException)"/>
</compile>
</ajc-test>
<ajc-test dir="new/binaryWarnings/src" pr="37020"
keywords="knownLimitation"
comment="source loc of binary jp depends on first code, not block start; XXX need javac inlining example"
title="declare error on handler/method execution with no code on binary javac 1.4 classes">
<compile files="aspects/MainExecStartLinesErrors.java,../injars/appStartLines-javac-1.4.jar">
<message kind="error" file="app/MainExecStartLines.java"
line="6" text="execution(void MainExecStartLines.main(String[]))"/>
<message kind="error" file="app/MainExecStartLines.java"
line="17" text="handler(RuntimeException)"/>
</compile>
</ajc-test>
<ajc-test dir="incremental/initialTests/classAdded"
title="expect class added in initial incremental tests"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="."/>
<run class="main.Main"/>
<inc-compile tag="20" >
<dir-changes added="main.Target"/>
</inc-compile>
<run class="main.Main" skipTester="true"/>
</ajc-test>
<ajc-test dir="incremental/initialTests/classRemoved"
title="expect class removed in initial incremental tests"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="."/>
<run class="main.Main"/>
<inc-compile tag="20">
<dir-changes removed="main.Target"/>
</inc-compile>
<run class="main.Main"/>
</ajc-test>
<ajc-test dir="incremental/initialTests/classUpdated"
title="expect class updated in initial incremental tests"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="."/>
<run class="main.Main"/>
<inc-compile tag="20">
<dir-changes updated="main.Main"/>
</inc-compile>
<run class="main.Main"/>
</ajc-test>
<ajc-test dir="incremental/initialTests/sourceAdded"
title="add file with class"
comment="only expecting pickup if sourceroots"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="."/>
<run class="main.Main"/>
<inc-compile tag="20">
<dir-changes added="main.Target"/>
</inc-compile>
<inc-compile tag="30">
<dir-changes updated="main.Main"/>
</inc-compile>
<run class="main.Main"/>
</ajc-test>
<ajc-test dir="incremental/initialTests/sourceDeleted"
title="delete source file before incremental compile"
comment="build config should permit file deletions for incremental (sourceroots)"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="."/>
<run class="delete.Main"/>
<inc-compile tag="20">
<dir-changes removed="delete.DeleteMe"/>
<message kind="error" line="6" file="delete/Target.java"/>
</inc-compile>
<inc-compile tag="30"/>
<run class="delete.Main"/>
</ajc-test>
<ajc-test dir="incremental/initialTests/expClasses"
title="expected class tree" >
<compile files="Main.java">
<dir-changes expDir="expected"/>
</compile>
<run class="Main"/>
</ajc-test>
<ajc-test dir="incremental/initialTests/defaultPackage"
title="do everything in default package (sourceroots)"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="."/>
<run class="Main"/>
<inc-compile tag="20">
<dir-changes added="Target"/>
</inc-compile>
<run class="Target" skipTester="true"/>
<inc-compile tag="30">
<dir-changes updated="Main"/>
</inc-compile>
<run class="Main" skipTester="true"/>
<inc-compile tag="40">
<message kind="error" line="6" file="Main.java"/>
</inc-compile>
<inc-compile tag="50"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="bugs/inlineAround" pr="37152"
title="perthis and inline arounds">
<compile files="aspect1/Base.java,aspect2/Concrete.java,p1/Main.java">
</compile>
<run class="p1.Main"/>
</ajc-test>
<ajc-test dir="incremental/defaultPackage"
keywords="incremental-test"
title="change sources in default package">
<compile
staging="true"
options="-incremental"
sourceroots="src"/>
<run class="Main"/>
<inc-compile tag="20"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="incremental/interPackage"
keywords="incremental-test"
title="change source">
<compile
staging="true"
options="-incremental"
sourceroots="src"/>
<run class="app.Main"/>
<inc-compile tag="20"/>
<run class="app.Main"/>
</ajc-test>
<ajc-test dir="bugs" pr="37325"
title="Weaver fails with NPE for very large source files ">
<compile files="LongFile.java"/>
<run class="LongFile"/>
</ajc-test>
<ajc-test dir="harness"
keywords="command-line-error,knownLimitation"
comment="can't test -help: has to abort, but returns 0, normal status"
title="CLE: -help usage">
<compile badInput="true" options="-help">
<message kind="abort" text="Usage"/>
</compile>
</ajc-test>
<ajc-test dir="harness" keywords="command-line-error"
title="CLE: no sources">
<compile badInput="true">
<message kind="error" text="no sources"/>
<message kind="abort" text="Usage"/>
</compile>
</ajc-test>
<ajc-test dir="harness"
keywords="command-line-error,knownLimitation-ajctaskCompiler,knownLimitation-ajdeCompiler"
comment="ajde omits usage"
title="CLE: bad filename">
<compile badInput="true" files="NoSuchFile.java">
<message kind="error" text="NoSuchFile.java"/>
<message kind="abort" text="Usage"/>
</compile>
</ajc-test>
<ajc-test dir="harness" keywords="command-line-error"
comment="XXX test skipped - harness ignores -sourceroot option"
title="CLE: no dir specified for sourceroots">
<compile badInput="true" files="ErrorTest.java"
options="-sourceroots">
<message kind="error" text="no sources specified"/>
<message kind="error" text="bad sourceroot"/>
<message kind="abort" text="Usage"/>
</compile>
</ajc-test>
<ajc-test dir="harness" keywords="command-line-error,knownLimitation-ajdeCompiler"
comment="ajde has same errors, different wording"
title="CLE: no sourceroot specified for incremental">
<compile badInput="true" options="-incremental">
<message kind="error" text="no sources specified"/>
<message kind="error" text="specify a source root"/>
<message kind="abort" text="Usage"/>
</compile>
</ajc-test>
<ajc-test dir="harness" keywords="command-line-error,knownLimitation-ajdeCompiler"
comment="ajde has same errors, different wording"
title="CLE: file specified with incremental">
<compile badInput="true" files="ErrorTest.java"
options="-incremental">
<message kind="error" text="incremental mode only handles source files using -sourceroots"/>
<message kind="error" text="no sources specified"/>
<message kind="error" text="specify a source root"/>
<message kind="abort" text="Usage"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="37739"
title="Unexpected Xlint:unresolvableMember warning with withincode">
<compile files="CatchSig.java">
</compile>
<run class="CatchSig"/>
</ajc-test>
<ajc-test dir="bugs" pr="37304"
title="public static fields being ignored">
<compile files="FinalFields.java"/>
<run class="FinalFields"/>
</ajc-test>
<ajc-test dir="bugs/lines" pr="37758"
title="Weaving rt.jar results in stack overflow">
<compile files="A.java,big.jar">
<!-- message no longer produced as a result of bug fix 44190
<message kind="warning" text="manifest not copied"/>
-->
</compile>
<run class="Big"/>
</ajc-test>
<ajc-test dir="harness"
title="setting -warn:constructorName works">
<compile files="ConstructorNameWarning.java"
options="-warn:constructorName">
<message kind="warning" line="5" text="constructor name"/>
</compile>
</ajc-test>
<ajc-test dir="harness"
title="valid XLintWarningTest file, default level of warning">
<compile files="XLintWarningTest.java">
<message kind="warning" line="5"
text="Xlint:invalidAbsoluteTypeName"/>
</compile>
</ajc-test>
<ajc-test dir="harness"
title="XLint:ignore suppresses XLint warnings">
<compile files="XLintWarningTest.java" options="-Xlint:ignore"/>
</ajc-test>
<ajc-test dir="harness"
title="XLint:error promotes XLint warnings to error">
<compile files="XLintWarningTest.java" options="-Xlint:error">
<message kind="error" line="5"
text="Xlint:invalidAbsoluteTypeName"/>
</compile>
</ajc-test>
<!-- The next three tests are all about the same issue. The source
line for a constructor execution is returned as the first executable
line within the constructor-execution join point rather than the declaration
line of the constructor. Any other definition will require collusion between
the source->bytecode compiler and the weaver and will only work in
those case where such collusion is possible.
-->
<ajc-test dir="new/binaryWarnings/src" pr="37020" keywords="knownLimitation"
title="declare warnings on main - constructor execution">
<compile files="aspects/ConstructorExecutionWarning.java,app/Main.java">
<message kind="warning" file="app/Main.java"
line="23" text="execution(Main.new())"/>
</compile>
<run class="app.Main"/>
</ajc-test>
<ajc-test dir="new/binaryWarnings/src" pr="37020" keywords="knownLimitation"
title="declare warnings on binary javac 1.4 main - constructor execution">
<compile files="aspects/ConstructorExecutionWarning.java,../injars/app-javac-1.4.jar">
<message kind="warning" file="app/Main.java"
line="23" text="execution(Main.new())"/>
</compile>
<run class="app.Main"/>
</ajc-test>
<ajc-test dir="new/binaryWarnings/src" pr="37020" keywords="knownLimitation"
title="declare warnings on binary ajc 1.1 main - constructor execution">
<compile files="aspects/ConstructorExecutionWarning.java,../injars/app-ajc-1.1.jar">
<message kind="warning" file="app/Main.java"
line="23" text="execution(Main.new())"/>
</compile>
<run class="app.Main"/>
</ajc-test>
<ajc-test dir="bugs/handlers" pr="37898" keywords="knownLimitation"
title="advice on handler join points should not throw unpermitted checked exceptions">
<compile files="ExceptionCheckCE.java">
<message kind="warning" line="8" text="expected"/>
<message kind="error" line="25" text="throw checked exception" />
<message kind="error" line="8" text="throw checked exception" />
</compile>
</ajc-test>
<ajc-test dir="incremental/stringliteral"
keywords="incremental-test"
title="incrementally change only string literal, still expect advice">
<compile staging="true" options="-incremental"
sourceroots="src"/>
<run class="packageOne.Main"
options="in packageOne.Main.main(..),
before main packageOne.Main"/>
<inc-compile tag="20">
<dir-changes updated="packageOne.Main"/>
</inc-compile>
<run class="packageOne.Main"
options="in longer packageOne.Main.main(..),
before main packageOne.Main"/>
</ajc-test>
<ajc-test dir="harness" pr="38134" keywords="knownLimitation"
comment="behavior is correct for 1.1 - revisit for 1.2"
title="-nowarn suppresses XLint warnings">
<compile files="XLintWarningTest.java" options="-nowarn"/>
</ajc-test>
<ajc-test dir="harness" pr="38134" keywords="knownLimitation"
comment="behavior is correct for 1.1 - revisit for 1.2"
title="warn:none suppresses XLint warnings">
<compile files="XLintWarningTest.java" options="-warn:none"/>
</ajc-test>
<ajc-test dir="harness" pr="38134" keywords="knownLimitation"
comment="behavior is correct for 1.1 - revisit for 1.2"
title="-nowarn suppresses declare warnings">
<compile files="WarningTest.java" options="-nowarn"/>
</ajc-test>
<ajc-test dir="harness" pr="38134" keywords="knownLimitation"
comment="behavior is correct for 1.1 - revisit for 1.2"
title="-warn:none suppresses declare warnings">
<compile files="WarningTest.java" options="-warn:none"/>
</ajc-test>
<ajc-test dir="bugs" pr="38168" keywords="knownLimitation"
title="insertion of lots of advice code can make branch offset for if too large">
<compile files="WideJumps.java"/>
<run class="WideJumps"/>
</ajc-test>
<!-- This doesn't actually reproduce the bug, but no test case has been submitted
that does so this is here as a place-holder and to verify that we're mostly
working.
-->
<ajc-test dir="bugs/accessMethods" pr="38212"
title="can not resolve this member warning">
<compile files="p1/Base.java,p2/Derived.java"/>
<run class="p2.Derived"/>
</ajc-test>
<ajc-test dir="bugs" pr="38345"
title="try switch VerifyError, InconsistentStackHeight">
<compile files="TrySwitch.java"/>
<run class="TrySwitch"/>
</ajc-test>
<ajc-test dir="bugs" pr="39458"
title="Compiler crash in ajc 1.1 - terrible error for inaccessible constructor">
<compile files="NewVoid.java">
<message kind="error" line="17"/>
<message kind="error" line="20"/>
<message kind="error" line="21"/>
<message kind="error" line="28"/>
<message kind="warning" line="29"/>
<message kind="warning" line="30"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="39460"
title="Missing import crashes compiler">
<compile files="MissingImport.java">
<message kind="error" line="13"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="39479"
title="NPE in bcel.LazyMethodGen when delegating from one ctor to a second that includes a switch">
<compile files="NewSwitch.java"/>
<run class="NewSwitch"/>
</ajc-test>
<ajc-test dir="bugs" pr="40109"
title="switch statement in aspects crashes weaving">
<compile files="SwitchInAround.java"/>
<run class="SwitchInAround"/>
</ajc-test>
<ajc-test dir="bugs" pr="39993"
title="ajc stack trace on declaring hashcode() method in aspect">
<compile files="OverridingInterfaceObjectMethod.java"/>
<run class="OverridingInterfaceObjectMethod"/>
</ajc-test>
<ajc-test dir="bugs"
title="using super in method introduced on interface with multiple supertypes">
<compile files="MultipleSuperCf.java">
<message kind="error" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="bugs/cflowAndJar" pr="39462"
title="Compiler crashes in jar and cflow (with no .jar)">
<compile files="TestAspect.aj,Test.java,AbstractAspect.aj">
<message kind="warning" line="16"/>
</compile>
<run class="Test"/>
</ajc-test>
<ajc-test dir="bugs/cflowAndJar" pr="39462"
title="Compiler crashes in jar and cflow (with .jar)"
comment="make lib.jar with ajc -outjar lib.jar AbstractAspect.aj">
<compile files="TestAspect.aj,Test.java" aspectpath="lib.jar">
<message kind="warning" line="16"/>
</compile>
<run class="Test"/>
</ajc-test>
<ajc-test dir="bugs" pr="40589"
title="Default method impl for interface causes internal exception.">
<compile files="CloneMethod.java"/>
<run class="CloneMethod"/>
</ajc-test>
<ajc-test dir="bugs" pr="39711"
title="Class Literals as non final fields (also assert, and this$0)">
<compile files="ClassLiteralField.java" options="-source,1.4"/>
<run vm="1.4" class="ClassLiteralField"/>
</ajc-test>
<ajc-test dir="errors"
title="compile error expected for abstract pointcut outside abstract aspect">
<compile files="AbstractPointcutCE.java">
<message kind="error" line="5"/>
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="bugs"
pr="40876"
title="subtype-qualified pointcut reference">
<compile files="PointcutLibraryTest.java"/>
<run class="PointcutLibraryTest"/>
</ajc-test>
<ajc-test dir="bugs"
pr="40858"
comment="super is not permitted in pointcuts in 1.1"
title="weaver trace on mis-qualified pointcut reference">
<compile files="SuperPointcutCE.java">
<message kind="error" line="23"/>
<message kind="error" line="26"/>
</compile>
</ajc-test>
<ajc-test dir="bugs"
pr="40814"
title="compile error expected for interface pointcuts">
<compile files="AbstractPointcutCE.java">
<message kind="error" line="7"/>
<message kind="error" line="11"/>
<message kind="error" line="15"/>
</compile>
</ajc-test>
<ajc-test dir="bugs"
pr="40805"
title="interface call signatures when declaring method in aspect">
<compile files="DeclareWarningAndInterfaceMethodCW.java">
<message kind="warning" line="27" text="call getSomething"/>
<message kind="warning" line="27" text="call ICanGetSomething.getSomething"/>
<message kind="warning" line="31" text="call getSomething"/>
<message kind="warning" line="31" text="call ICanGetSomething.getSomething"/>
<message kind="warning" line="33" text="call getSomething"/>
<message kind="warning" line="33" text="call ICanGetSomething.getSomething"/>
<message kind="warning" line="35" text="call getSomething"/>
<message kind="warning" line="35" text="call ICanGetSomething.getSomething"/>
<message kind="warning" line="38" text="call getSomething"/>
<message kind="warning" line="38" text="call ICanGetSomething.getSomething"/>
</compile>
</ajc-test>
<ajc-test dir="new/interfaceLibrary"
title="aspect-declared interface members in libraries - baseline">
<compile files="lib/LibraryInterface.java,
Client.java,
LibraryAspect.java"/>
<run class="Client"/>
</ajc-test>
<ajc-test dir="new/interfaceLibrary"
comment="prove that LibraryAspect is required"
title="aspect-declared interface members in libraries - interfaceOnly.jar">
<compile
files="Client.java"
aspectpath="interfaceOnly.jar">
<message kind="error" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="new/interfaceLibrary"
title="aspect-declared interface members in libraries - aspectOnly.jar">
<compile
files="lib/LibraryInterface.java,
Client.java"
aspectpath="aspectOnly.jar"/>
<run class="Client"/>
</ajc-test>
<ajc-test dir="new/interfaceLibrary"
title="aspect-declared interface members in libraries - aspectedInterfaceOnly.jar"
comment="prove aspect is required even if interface is woven"
>
<compile
files="Client.java"
classpath="aspectedInterfaceOnly.jar">
<message kind="error" line="0" text="LibraryAspect"/>
<message kind="error" line="9" text="LibraryInterface"/>
</compile>
</ajc-test>
<ajc-test dir="new/interfaceLibrary"
title="aspect-declared interface members in libraries - aspectedInterfaceOnly.jar,aspectOnly.jar"
comment="weaving required for implementations of interface?
XXX Would prefer to support javac compiles of Client here, mimicked with classpath only"
>
<compile
files="Client.java"
classpath="aspectedInterfaceOnly.jar,aspectOnly.jar">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="new/interfaceLibrary"
title="aspect-declared interface members in libraries - aspectedInterfaceOnlyBinary.jar,aspectOnly.jar"
comment="works if aspect is only on the classpath?, i.e., no weaving XXX need javac run"
>
<compile
files="Client.java"
classpath="aspectedInterfaceOnlyBinary.jar,aspectOnly.jar">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="new/interfaceLibrary"
title="aspect-declared interface members in libraries - aspectedInterfaceOnly.jar,aspectpath=aspectOnly.jar"
comment="can weave to create library, and then weave clients"
>
<compile
files="Client.java"
classpath="aspectedInterfaceOnly.jar"
aspectpath="aspectOnly.jar"/>
<run class="Client"/>
</ajc-test>
<ajc-test dir="new/interfaceLibrary"
title="aspect-declared interface members in libraries - aspectedInterfaceOnly.jar,aspectpath=aspectOnly.jar"
comment="works if source aspect and binary classpath woven with aspect?
should NOT warn about affected type not since affected type is already woven?"
>
<compile
files="Client.java,LibraryAspect.java"
classpath="aspectedInterfaceOnly.jar"/>
<run class="Client"/>
</ajc-test>
<ajc-test
dir="bugs/interfaceLibrary"
title="exception clause for aspect-declared interface methods - positive">
<compile files="Client.java,LibraryAspect.java,lib/LibraryInterface.java"/>
<run class="Client"/>
</ajc-test>
<ajc-test
dir="bugs/interfaceLibrary"
title="exception clause for aspect-declared interface methods - negative">
<compile files="ClientCE.java,LibraryAspect.java,lib/LibraryInterface.java">
<message kind="error" file="ClientCE.java" line="5"/>
</compile>
</ajc-test>
<ajc-test
dir="bugs/interfaceLibrary"
title="exception clause for aspect-declared class methods - positive">
<compile files="ClassClient.java,LibraryClassAspect.java,lib/LibraryClass.java"/>
<run class="ClassClient"/>
</ajc-test>
<ajc-test
dir="bugs/interfaceLibrary"
title="exception clause for aspect-declared class methods - negative">
<compile files="ClassClientCE.java,LibraryClassAspect.java,lib/LibraryClass.java">
<message kind="error" file="ClassClientCE.java" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="bugs"
pr="41175"
title="reflective check of declared exceptions from aspect-declared methods">
<compile files="DeclaredExceptions.java"/>
<run class="DeclaredExceptions"/>
</ajc-test>
<ajc-test dir="bugs/interfaceLibrary"
pr="41175"
title="exception clause for aspect-declared interface methods - positive binary">
<compile files="Client.java" aspectpath="lib.jar"/>
<run class="Client"/>
</ajc-test>
<ajc-test dir="bugs/interfaceLibrary"
pr="41175"
title="exception clause for aspect-declared interface methods - negative binary">
<compile files="ClientCE.java" aspectpath="lib.jar">
<message kind="error" file="ClientCE.java" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="bugs/interfaceLibrary"
pr="41175"
title="exception clause for aspect-declared class methods - positive binary">
<compile files="ClassClient.java" aspectpath="libClass.jar"/>
<run class="ClassClient"/>
</ajc-test>
<ajc-test dir="bugs/interfaceLibrary"
pr="41175"
title="exception clause for aspect-declared class methods - negative binary">
<compile files="ClassClientCE.java" aspectpath="libClass.jar">
<message kind="error" file="ClassClientCE.java" line="5"/>
</compile>
</ajc-test>
<ajc-test dir="bugs/moreInterfaceLibrary"
pr="41123"
title="Weaving failure when using injars (no jars)">
<compile
files="lib/ExecutionMonitor.aj,model/BusObj.java,model/MonitorBusObj.java">
</compile>
</ajc-test>
<ajc-test dir="bugs/moreInterfaceLibrary"
pr="41123"
title="Weaving failure when using injars (on aspectpath)">
<compile
files="model/BusObj.java,model/MonitorBusObj.java"
aspectpath="lib.jar">
</compile>
</ajc-test>
<ajc-test dir="bugs/moreInterfaceLibrary"
pr="41123"
title="Weaving failure when using injars (on classpath)">
<compile
files="model/BusObj.java,model/MonitorBusObj.java"
classpath="lib.jar">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="bugs/moreInterfaceLibrary"
pr="41123"
title="Weaving failure when using injars (actual injars)">
<compile
files="model/BusObj.java,model/MonitorBusObj.java,lib.jar">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="bugs/perCflowAndJar"
pr="41359"
title="percflow aspects compiled from jars share one instance for all entry points">
<compile files="PerCFlowCompileFromJar.java,PerCFlowCompileFromJarTest.java"/>
<run class="PerCFlowCompileFromJarTest"/>
</ajc-test>
<ajc-test dir="bugs/perCflowAndJar"
pr="41359"
title="(using aspectpath) percflow aspects compiled from jars share one instance for all entry points">
<compile files="PerCFlowCompileFromJarTest.java"
aspectpath="lib.jar"/>
<run class="PerCFlowCompileFromJarTest"/>
</ajc-test>
<ajc-test dir="bugs/throwsSignature"
pr="42539"
title="throw derivative pointcuts not advised">
<compile files="ExceptionBugTest.java,ExceptionAspect.java">
<message line="5" kind="warning" text="throws both"/>
<message line="5" kind="error" text="throws Exception"/>
<message line="7" kind="warning" text="throws both"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="42652"
title="perthis and signature bad interaction">
<compile files="InterPerCall.java"/>
<run class="InterPerCall"/>
</ajc-test>
<ajc-test dir="bugs/declareBinding"
pr="42740"
title="declare error fails on pointcuts composed from multiple classes">
<compile files="SampleExceptionHandling1.java">
<message line="2" kind="error" text="no checked exceptions"/>
</compile>
</ajc-test>
<ajc-test dir="bugs/declareSoftWithin"
pr="42740"
title="declare error fails on pointcuts composed from multiple classes">
<compile files="aspects/Softener.aj,test/NoSoftener.java"/>
<run class="test.NoSoftener"/>
</ajc-test>
<ajc-test dir="bugs" pr="42993"
title="Interaction between pointcut binding and declare parents">
<compile files="ParentsAndPointcuts.java"/>
<run class="ParentsAndPointcuts"/>
</ajc-test>
<ajc-test dir="bugs" pr="43194"
title="Non-functional concretezation of ReferencePointcut">
<compile files="AdviceInteraction.java"/>
<run class="AdviceInteraction"/>
</ajc-test>
<ajc-test dir="bugs/concretizeNpe" pr="43033"
title="NPE in concretization error path"
keywords="poorErrorMessages">
<compile files="base/ExceptionHandling.java,model/ModelExceptionHandling.java">
<!--
<message line="5" kind="error" text="pointcut base.ExceptionHandling.scope() is abstract"/>
<message line="4" kind="error" text="inherited abstract pointcut base.ExceptionHandling.scope() is not made concrete"/>
<message line="8" kind="error" text="inherited abstract pointcut base.ExceptionHandling.scope() is not made concrete"/>
<message line="12" kind="error" />
<message line="13" kind="error" />
-->
<message line="12" kind="error" />
<message line="13" kind="error" />
</compile>
</ajc-test>
<ajc-test dir="bugs/jpOptimization"
pr="45441"
title="JoinPoint Optimization when targetting 1.4">
<compile
files="de/test/MyMain.java,
de/test/MyAspect.java"
options="-1.4"/>
<run class="de.test.MyMain"/>
</ajc-test>
<ajc-test dir="bugs/extdirs"
pr="42574"
title="zip and jar suffixes for extdirs entries">
<compile files="extdirs-src/main/Main.java"
extdirs="lib/lowercase"/>
</ajc-test>
<ajc-test dir="bugs/privilege/packageProtected" pr="42711"
title="priviledged aspects calling methods from advice">
<compile files="concern/ContextUser.java,concern/BaseTarget.java,core/Base.java" />
</ajc-test>
<ajc-test dir="bugs" pr="49457"
title="No error on overloaded pointcuts in class">
<compile files="OverloadedPointcutsInClass.java">
<message kind="error" line="3" text="duplicate pointcut name: pc1"/>
<message kind="error" line="4" text="duplicate pointcut name: pc1"/>
<message kind="error" line="6" text="duplicate pointcut name: pc2"/>
<message kind="error" line="7" text="duplicate pointcut name: pc2"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="49457"
title="No error on overloaded pointcuts unless binding variables">
<compile files="OverloadedPointcutsInAspect.java">
<message kind="error" line="15" text="duplicate pointcut name: pc"/>
<message kind="error" line="16" text="duplicate pointcut name: pc"/>
<message kind="error" line="18" text="incompatible type"/>
<message kind="error" line="20" text="incompatible type"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="49250"
title="alias getCause for getWrappedThrowable in SoftException">
<compile files="GetCauseOnSoftException.java" options="-Xlint:warning">
</compile>
<run vm="1.3" class="GetCauseOnSoftException"/>
</ajc-test>
<ajc-test dir="bugs" pr="48522"
title="Declare soft softening other exception types">
<compile files="SofteningTooMuch.java">
<message kind="error" line="6" text="Unhandled exception"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="47754"
title="static method introduction on interfaces, should not be allowed">
<compile files="StaticInterfaceMethods.java">
<message kind="error" line="7" text="methods in interfaces cannot be declared static"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="45184"
title="External pointcut refs not resolved if named pointcut used by declare">
<compile files="DeclareErrorNamedPointcutCE.java">
<message kind="error" line="10" text="ref"/>
</compile>
</ajc-test>
<ajc-test dir="bugs"
title="XLint warning for call PCD's using subtype of defining type"
pr="41952"
>
<compile
files="DeclaringTypeWarning.java"
options="-1.3" >
<message kind="warning" line="6" text="declaring type">
<source line="12" file="DeclaringTypeWarning.java" />
</message>
<message kind="warning" line="6" text="declaring type">
<source line="14" file="DeclaringTypeWarning.java" />
</message>
</compile>
</ajc-test>
<ajc-test dir="bugs"
title="XLint warning for call PCD's using subtype of defining type (-1.3 -Xlint:ignore)"
pr="41952"
>
<compile
options="-Xlint:ignore,-1.3"
files="DeclaringTypeWarning.java" >
</compile>
</ajc-test>
<ajc-test dir="bugs"
title="XLint warning for call PCD's using subtype of defining type (-1.4 -Xlint:ignore)"
pr="41952"
>
<compile
options="-Xlint:ignore,-1.4"
files="DeclaringTypeWarning.java" >
<message kind="warning" line="12"/>
</compile>
</ajc-test>
<ajc-test dir="bugs"
title="XLint warning for call PCD's using subtype of defining type (-1.4)"
pr="41952"
>
<compile
options="-1.4"
files="DeclaringTypeWarning.java" >
<message kind="warning" line="6" text="declaring type">
<source line="14" file="DeclaringTypeWarning.java"/>
</message>
<message kind="warning" line="12" text="declare warning">
<source line="19" file="DeclaringTypeWarning.java"/>
</message>
</compile>
</ajc-test>
<ajc-test dir="bugs"
title="Appropriate message for 'after() thowing(Throwable th)' syntax error"
pr="49638"
>
<compile
files="AfterThrowingAdviceSyntaxError.java" >
<message kind="error" line="21" />
<message kind="error" line="23" />
</compile>
</ajc-test>
<ajc-test dir="bugs/faultingInSource" pr="46671"
title="Ensure we don't look for source on the classpath when binary not found">
<compile files="SimpleTracing.java" classpath="." options="-verbose">
<message kind="warning" line="4" text="no match for this type name: SampleClass"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="46750" title="inner aspect containing declare soft">
<compile files="TestSoftening.java">
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="45663"
title="Bad parser error recovery in advice">
<compile files="ParserRecoveryTest.java">
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="45663"
title="Bad parser error recovery in java source">
<compile files="ParserRecoveryTestPureJava.java">
<message kind="error" line="6"/>
<message kind="error" line="8"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="44586"
title="After throwing advice on ctors doesn't execute for inter-type decl field inits">
<compile files="AfterThrowingCtor.java">
</compile>
<run class="AfterThrowingCtor"/>
</ajc-test>
</suite>
|