SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Nashorn is deprecated and will probably be dropped pretty soon.
And it has lost the nice FRAMES optionRob Spoor wrote:Interesting fact: the API docs are now found at https://docs.oracle.com/en/java/javase/11/docs/api/ . . .
I presume old code still runs?. . . . The removal of entire packages has lead to some interesting behaviour, like features introduced in previous versions no longer showing up as new for those versions. . . .
Campbell Ritchie wrote:
And it has lost the nice FRAMES optionRob Spoor wrote:Interesting fact: the API docs are now found at https://docs.oracle.com/en/java/javase/11/docs/api/ . . .
I presume old code still runs?. . . . The removal of entire packages has lead to some interesting behaviour, like features introduced in previous versions no longer showing up as new for those versions. . . .
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
[critchie@xxx java]$ java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
[critchie@xxx java]$ javac -version
javac 11
Rob Spoor wrote:FYI, I'm working on getting a new version of https://robtimus.github.io/whats-new-in-java/. The removal of entire packages has lead to some interesting behaviour, like features introduced in previous versions no longer showing up as new for those versions. I expect to have this fixed later this week.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Spoor wrote:No more collection.toArray(new String[0])
Campbell Ritchie wrote:toArray(String[]::new)? Yes, I like that.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Spoor wrote:Interesting fact: the API docs are now found at https://docs.oracle.com/en/java/javase/11/docs/api/ (not http://docs.oracle.com/javase/11/docs/api/ as versions 7 through 10 would have suggested).
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Junilu Lacar wrote:If I had a collection of Book objects, would bookList.toArray(Book[]::new) be easier to read than bookList.toArray(new Book[0])?