Community
Participate
Working Groups
build I20080415-1646 public class X { class Y { @interface E { } } } The error message is 'The member annotation E can only be defined inside a top-level class or interface'. But it is also possible to define an annotation inside a static member type.
How about : The member annotation E can only be defined inside a static context instead of : The member annotation E can only be defined inside a top-level class or interface Is that clear enough ?
Created attachment 114205 [details] Proposed patch with testcase
Fix and test released for 3.5M3
Verified for 3.5M3 using I20081026-2000 build.