diff options
author | jhugunin <jhugunin> | 2003-03-06 22:12:00 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-03-06 22:12:00 +0000 |
commit | 0a175d2d0330eb9843ad17c917bb2434faab59e7 (patch) | |
tree | 0cc1b669eed105ce85e56ec7e93068227903b2a0 /tests/new/EachObjectInDeepPackage.java | |
parent | 5d61a55e62fda794c101f2001bbad34f8c915e01 (diff) | |
download | aspectj-0a175d2d0330eb9843ad17c917bb2434faab59e7.tar.gz aspectj-0a175d2d0330eb9843ad17c917bb2434faab59e7.zip |
FIXED: Bugzilla Bug 32421
can't resolve nested public interfaces
FIXED: Bugzilla Bug 32399
Incorrect binding of protected (marker) interfaces
Diffstat (limited to 'tests/new/EachObjectInDeepPackage.java')
-rw-r--r-- | tests/new/EachObjectInDeepPackage.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/new/EachObjectInDeepPackage.java b/tests/new/EachObjectInDeepPackage.java index 9e52b4d08..2269af4ad 100644 --- a/tests/new/EachObjectInDeepPackage.java +++ b/tests/new/EachObjectInDeepPackage.java @@ -1,9 +1,20 @@ +/* + * Modified this test case to reflect the fact that types in the default package + * can only be used in named packages if they are imported. + * + * I believe that according to the 1.1 interpretation of the JLS that this import + * is also disallowed and there is no way to refer to types in the default package + * from a named package. + */ + package the.deep.pkg; import org.aspectj.testing.Tester; +import EachObjectTarget; aspect Aspect pertarget(target(EachObjectTarget)) { before(): call(void foo(..)) { + EachObjectTarget t = null; Tester.check(true, "Dummy test"); } } |