summaryrefslogtreecommitdiffstats
path: root/tests/ajcTestsFailing.xml
blob: fa86d76657ae62f070cc45ed0bfcb80f5f7618b7 (plain)
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
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd">

<suite>

    <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="804"
      title="aspect static initializers should run before instance constructed"
      keywords="tofix">
        <compile files="AspectStaticInit.java"/>
        <run class="AspectStaticInit"/>
    </ajc-test>


    <ajc-test dir="new" pr="838"
      title="checking around join point for advice return type - numeric"
      keywords="tofix" comment="may need to fix error line when bug is fixed">
        <compile files="AroundNumericCastCE.java">
            <message kind="error" line="17"/>
        </compile>
    </ajc-test>

    <ajc-test dir="new" pr="836" title="void around advice without proceed"
      keywords="tofix">
        <compile files="VoidAround.java">
            <message kind="error" line="29"/>
        </compile>
    </ajc-test>

    <ajc-test dir="new/PR852" pr="852"
      title="declaring method on superclass and subclass">
        <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>

    <ajc-test dir="new" pr="853"
      title="declare class extends interface">
        <compile files="DeclareClassExtendsInterface.java">
           <message kind="error" line="10"/>
        </compile>
    </ajc-test>

    <ajc-test dir="new" pr="853"
      title="declare class implements class">
        <compile files="DeclareClassImplementsClass.java">
           <message kind="error" line="10"/>
        </compile>
    </ajc-test>

    <ajc-test dir="new" pr="853"
      title="declare interface implements interface">
        <compile files="DeclareInterfaceImplementsInterface.java">
           <message kind="error" line="10"/>
        </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"
      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="906"
      title="privileged access to code outside the control of the compiler">
        <compile files="PrivilegeBeyondScope.java">
		  <message kind="error" line="21"/>
        </compile>
        <run class="PrivilegeBeyondScope"/>
    </ajc-test>

</suite>