diff options
author | wisberg <wisberg> | 2002-12-16 18:51:06 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2002-12-16 18:51:06 +0000 |
commit | 144143c2970a1e874d74cdbd0f8c622d4282a3c3 (patch) | |
tree | b12383d3d9e76c7e1f25f7fbec83051ef17f81fb /tests/new/packagePrefix | |
parent | fafae443719b26159ab2d7dac1c9b46b5e00b671 (diff) | |
download | aspectj-144143c2970a1e874d74cdbd0f8c622d4282a3c3.tar.gz aspectj-144143c2970a1e874d74cdbd0f8c622d4282a3c3.zip |
initial version
Diffstat (limited to 'tests/new/packagePrefix')
-rw-r--r-- | tests/new/packagePrefix/p/prefix.java | 3 | ||||
-rw-r--r-- | tests/new/packagePrefix/p/prefix/SomeClass.java | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/new/packagePrefix/p/prefix.java b/tests/new/packagePrefix/p/prefix.java new file mode 100644 index 000000000..72865af32 --- /dev/null +++ b/tests/new/packagePrefix/p/prefix.java @@ -0,0 +1,3 @@ +package p; +/** @testcase PUREJAVA PR#574 compile problems loading classes whose package names are suffixes of class names */ +public class prefix{} diff --git a/tests/new/packagePrefix/p/prefix/SomeClass.java b/tests/new/packagePrefix/p/prefix/SomeClass.java new file mode 100644 index 000000000..4f6a6031f --- /dev/null +++ b/tests/new/packagePrefix/p/prefix/SomeClass.java @@ -0,0 +1,12 @@ + +package p.prefix; + +import org.aspectj.testing.Tester; + +/** @testcase PUREJAVA PR#574 compile problems loading classes whose package names are suffixes of class names */ +public class SomeClass { + public static void main(String[] args) { + int i = new p.prefix().hashCode(); + Tester.check(i!=0, "int i = new p.prefix().hashCode()"); + } +} |