From fbf8df9a39f53275b80ea04704c81e4005e74226 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 13 Apr 2005 11:44:17 +0000 Subject: [PATCH] Test for pr90806 --- .../systemtest/incremental/IncrementalTests.java | 6 ++++++ .../incremental/incremental-junit-tests.xml | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tests/src/org/aspectj/systemtest/incremental/IncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/IncrementalTests.java index 41528d40c..a38c7a61b 100644 --- a/tests/src/org/aspectj/systemtest/incremental/IncrementalTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/IncrementalTests.java @@ -249,5 +249,11 @@ public class IncrementalTests extends org.aspectj.testing.XMLBasedAjcTestCase { assertTrue("Should say updated hello",after.getStdOut().startsWith("updated hello")); } + public void testUsesPointcutRelsWhenReferringToPCTIn2ndFile_pr90806() throws Exception { + runTest("NPE in genHandleIdentifier"); + nextIncrement(true); + copyFileAndDoIncrementalBuild("changes/X.20.aj","src/X.aj"); + } + } diff --git a/tests/src/org/aspectj/systemtest/incremental/incremental-junit-tests.xml b/tests/src/org/aspectj/systemtest/incremental/incremental-junit-tests.xml index b3fb62d8b..b16dd107e 100644 --- a/tests/src/org/aspectj/systemtest/incremental/incremental-junit-tests.xml +++ b/tests/src/org/aspectj/systemtest/incremental/incremental-junit-tests.xml @@ -368,4 +368,13 @@ --> - \ No newline at end of file + + + + + + + \ No newline at end of file -- 2.39.5