From d1fd430e83e3919860550aeedb2053f6a33012a0 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 7 Dec 2004 10:13:42 +0000 Subject: [PATCH] With type mungers remembering their location, we now get a sensible error line for this test! --- .../compiler/batch/PartiallyExposedHierarchyTestCase.java | 3 +-- .../org/aspectj/systemtest/serialVerUID/serialVerUID-tests.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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 @@ - + -- 2.39.5