Community
Participate
Working Groups
BETA_JAVA8 interface I { default strictfp int getInt() { return 42; } static void soo() { } native void noo(); } "noo()" has error: "Illegal modifier for the interface method noo; only public & abstract are permitted" => should be: "...; only public, abstract, default, static & strictfp are permitted" Note that there are other omissions along the lines of bug 383970. E.g. member classes and interfaces can also be strictfp.
Manoj, please make a pass over all messages that contain "only" and add the missing modifiers. Ensure they all use the order given in bug 217966 comment 2.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=400977 *** This bug has been marked as a duplicate of bug 400977 ***