diff options
author | aclement <aclement> | 2010-04-05 19:38:31 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-04-05 19:38:31 +0000 |
commit | 8a5ede2498244d3938d2d2508ebf2bb3a4179abd (patch) | |
tree | 6037552fe098998b36a05b3ae85f88501e414707 /tests/multiIncremental | |
parent | 62d0b33b8d0c681d1465330de3c4aaeba148f0de (diff) | |
download | aspectj-8a5ede2498244d3938d2d2508ebf2bb3a4179abd.tar.gz aspectj-8a5ede2498244d3938d2d2508ebf2bb3a4179abd.zip |
307120: field accesses in itds of private fields
Diffstat (limited to 'tests/multiIncremental')
-rw-r--r-- | tests/multiIncremental/pr307120/base/src/A.java | 5 | ||||
-rw-r--r-- | tests/multiIncremental/pr307120/base/src/Test.java | 14 | ||||
-rw-r--r-- | tests/multiIncremental/pr307120/inc1/src/Test.java | 14 |
3 files changed, 33 insertions, 0 deletions
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; +// } +} |