summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/PartiallyExposedHierarchyTestCase.java3
-rw-r--r--tests/src/org/aspectj/systemtest/serialVerUID/serialVerUID-tests.xml2
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 @@
<compile files="Test.java, Util.java"/>
<run class="Test"/>
<compile files="Test.java, Util.java, ITDField.aj" options="-Xlint:error">
- <message kind="error" line="0"/>
+ <message kind="error" line="3"/>
</compile>
</ajc-test>