From: aclement Date: Tue, 7 Dec 2004 10:13:42 +0000 (+0000) Subject: With type mungers remembering their location, we now get a sensible error line for... X-Git-Tag: Root_AspectJ5_Development~192 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d1fd430e83e3919860550aeedb2053f6a33012a0;p=aspectj.git With type mungers remembering their location, we now get a sensible error line for this test! --- diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/PartiallyExposedHierarchyTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/PartiallyExposedHierarchyTestCase.java index de45e9ea5..7d0bdf113 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/PartiallyExposedHierarchyTestCase.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/PartiallyExposedHierarchyTestCase.java @@ -37,8 +37,7 @@ public class PartiallyExposedHierarchyTestCase extends AjcTestCase { */ public void testPartiallyExposedHierarchy () { Message warning = new Message(11,"no interface constructor-execution join point"); - //TODO This line number will change to 15 (from 5) when type mungers remember where they came from! - Message error = new Message(5, "type sample.Base must be accessible for weaving interface inter type declaration from aspect sample.Trace"); + Message error = new Message(15, "type sample.Base must be accessible for weaving interface inter type declaration from aspect sample.Trace"); CompilationResult result = ajc(baseDir, new String[]{"-classpath","fullBase.jar", "-injars","base.jar", diff --git a/tests/src/org/aspectj/systemtest/serialVerUID/serialVerUID-tests.xml b/tests/src/org/aspectj/systemtest/serialVerUID/serialVerUID-tests.xml index f121ac3f1..236181cd7 100644 --- a/tests/src/org/aspectj/systemtest/serialVerUID/serialVerUID-tests.xml +++ b/tests/src/org/aspectj/systemtest/serialVerUID/serialVerUID-tests.xml @@ -87,7 +87,7 @@ - +