-
Bug
-
Resolution: Fixed
-
P4
-
None
-
8u31
-
x86
-
windows_8
A DESCRIPTION OF THE PROBLEM :
This section still uses the notion of a "SAM class". However, with the release of Java 8, this notion was formalized as "functional interface".
So all the occurrences of the notion of "SAM class" should be removed & use "functional interface" instead, preferably by including a link to the java.lang.FunctionalInterface annotation [1].
[1] http://docs.oracle.com/javase/8/docs/api/java/lang/FunctionalInterface.html
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/api.html#CDEDGBIF
This section still uses the notion of a "SAM class". However, with the release of Java 8, this notion was formalized as "functional interface".
So all the occurrences of the notion of "SAM class" should be removed & use "functional interface" instead, preferably by including a link to the java.lang.FunctionalInterface annotation [1].
[1] http://docs.oracle.com/javase/8/docs/api/java/lang/FunctionalInterface.html
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/api.html#CDEDGBIF