Community
Participate
Working Groups
cosmetic mistake in error message... expected: can't bind type name 'unknown.Error' actual: can't bind type name 'unknown$Error' (not sure why it would ever be munged with $) public class Test { public static void main(String[] args) { test(); } static void test() { throw new Error("hello"); } static aspect A { declare soft : unknown.Error : call(void test()); // CE } }
This error message is caused by first looking for a type Error in the unknown package and then looking for the inner type Error in the class unknown. This second check uses the binary format for inner type names of unknown$Error. I'm leaving as a bug until the cosmetic error is fixed.
fix integrated - waiting for build.
Fixed as of: BUILD COMPLETE - build.317 Date of build: 07/28/2004 12:16:33 Time to build: 121 minutes 44 seconds Last changed: 07/27/2004 18:38:25 Latest good AspectJ jar available at: download.eclipse.org/technology/ajdt/dev/aspectj-DEVELOPMENT.jar
Fix released as part of AspectJ 1.2.1