From 8a5ede2498244d3938d2d2508ebf2bb3a4179abd Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 5 Apr 2010 19:38:31 +0000 Subject: [PATCH] 307120: field accesses in itds of private fields --- tests/multiIncremental/pr307120/base/src/A.java | 5 +++++ tests/multiIncremental/pr307120/base/src/Test.java | 14 ++++++++++++++ tests/multiIncremental/pr307120/inc1/src/Test.java | 14 ++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 tests/multiIncremental/pr307120/base/src/A.java create mode 100644 tests/multiIncremental/pr307120/base/src/Test.java create mode 100644 tests/multiIncremental/pr307120/inc1/src/Test.java diff --git a/tests/multiIncremental/pr307120/base/src/A.java b/tests/multiIncremental/pr307120/base/src/A.java new file mode 100644 index 000000000..af1ba2077 --- /dev/null +++ b/tests/multiIncremental/pr307120/base/src/A.java @@ -0,0 +1,5 @@ +class A { + private + int foo; + int goo; +} diff --git a/tests/multiIncremental/pr307120/base/src/Test.java b/tests/multiIncremental/pr307120/base/src/Test.java new file mode 100644 index 000000000..504f091a3 --- /dev/null +++ b/tests/multiIncremental/pr307120/base/src/Test.java @@ -0,0 +1,14 @@ +privileged aspect Test { + + before(): get(* foo) {} + +// before(): get(* goo) {} + + public int A.getFoo() { + return foo; + } + +// public int A.getGoo() { +// return goo; +// } +} diff --git a/tests/multiIncremental/pr307120/inc1/src/Test.java b/tests/multiIncremental/pr307120/inc1/src/Test.java new file mode 100644 index 000000000..504f091a3 --- /dev/null +++ b/tests/multiIncremental/pr307120/inc1/src/Test.java @@ -0,0 +1,14 @@ +privileged aspect Test { + + before(): get(* foo) {} + +// before(): get(* goo) {} + + public int A.getFoo() { + return foo; + } + +// public int A.getGoo() { +// return goo; +// } +} -- 2.39.5