Community
Participate
Working Groups
BETA_JAVA8 interface I { strictfp void meth(); } According to the (new) JLS 9.5, The effect of the strictfp modifier is to make all float or double expressions within the method body be explicitly FP-strict (15.4). The previous sentence mimics 8.4.3.5. A synchronized method acquires the monitor (17.1) associated with this (the object for which the method was invoked) before it executes.
Once again, grammar looks ok. Should be allowed during semantic analysis. I can take a look
My Bad. I forgot to add the 'default' keyword strictfp void meth() default {} is allowed so everything looks ok Closing as INVALID.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=382353 && https://bugs.eclipse.org/bugs/show_bug.cgi?id=383968 BTW, the root bug for default methods is bug 380501, this is tracked separately since default methods have no real connection to lambda expressions and references (other than enabling it)