From ee2a860fcdf78383350e33c2a1d16be814e30f83 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 28 Nov 2008 20:44:35 +0000 Subject: 256937: test and fix --- tests/bugs163/pr256937/Ship.java | 5 +++++ tests/bugs163/pr256937/ShipAccessor.java | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tests/bugs163/pr256937/Ship.java create mode 100644 tests/bugs163/pr256937/ShipAccessor.java (limited to 'tests/bugs163') diff --git a/tests/bugs163/pr256937/Ship.java b/tests/bugs163/pr256937/Ship.java new file mode 100644 index 000000000..866271b22 --- /dev/null +++ b/tests/bugs163/pr256937/Ship.java @@ -0,0 +1,5 @@ +public class Ship { + public void moveTo(int newX, int newY) { + this.h(); + } +} diff --git a/tests/bugs163/pr256937/ShipAccessor.java b/tests/bugs163/pr256937/ShipAccessor.java new file mode 100644 index 000000000..c1f0e5280 --- /dev/null +++ b/tests/bugs163/pr256937/ShipAccessor.java @@ -0,0 +1,14 @@ +public privileged aspect ShipAccessor { + + + + + + + + + public java.util.List Ship.h() { + return null; + } +} + -- cgit v1.2.3