From: aclement Date: Tue, 9 Jan 2007 13:13:48 +0000 (+0000) Subject: made synchronized method message a lint warning X-Git-Tag: Root_extensions~55 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f1ce9eb89f9df1ffacb4ffa0123de7daaf527cb3;p=aspectj.git made synchronized method message a lint warning --- diff --git a/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java b/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java index d9f09d4b4..8437fd69d 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java +++ b/tests/src/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java @@ -113,6 +113,11 @@ public class SynchronizationTransformTests extends XMLBasedAjcTestCase { runTest("Two"); checkMethod("C","ma"); } + + public void testTransform2XlintOff() { + runTest("Two - xlintoff"); + checkMethod("C","ma"); + } // after() returning/after() throwing on execution jp // after() returning -> make all returns go through the same exit point and make diff --git a/tests/src/org/aspectj/systemtest/ajc152/synchronization.xml b/tests/src/org/aspectj/systemtest/ajc152/synchronization.xml index 2803a1622..99096fa53 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/synchronization.xml +++ b/tests/src/org/aspectj/systemtest/ajc152/synchronization.xml @@ -430,7 +430,7 @@ - + @@ -440,10 +440,20 @@ + + + + + + + + + + - - + + @@ -461,8 +471,8 @@ - - + +