diff options
author | jhugunin <jhugunin> | 2003-05-27 17:02:36 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-05-27 17:02:36 +0000 |
commit | c6aba460751865ecfe1ccc2bcbd983f96fd745fa (patch) | |
tree | 881a5670ffb328ff3f314f99f0b7480ed1a3a831 /tests | |
parent | 34e71349683a530fecee85d36bb3107f9e3eb20c (diff) | |
download | aspectj-c6aba460751865ecfe1ccc2bcbd983f96fd745fa.tar.gz aspectj-c6aba460751865ecfe1ccc2bcbd983f96fd745fa.zip |
moved knownLimitations from ajcTestsFailing to ajcTests and labeled with keyword
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ajcTests.xml | 44 | ||||
-rw-r--r-- | tests/ajcTestsFailing.xml | 34 |
2 files changed, 44 insertions, 34 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 729122676..76e581540 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -6278,4 +6278,48 @@ </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> + </suite> diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml index 260581ad4..7a4785eda 100644 --- a/tests/ajcTestsFailing.xml +++ b/tests/ajcTestsFailing.xml @@ -20,40 +20,6 @@ before main packageOne.Main"/> </ajc-test> - <ajc-test dir="new/binaryWarnings/src" pr="37020" - 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" - 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" - 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" - 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> </suite> |