Java Pay Model:

Two out of three -

  • Stable
  • Secure
  • Free

Oracle JDK can only be used in production with money

OpenJDK is the only free JDK but no security update until next release EVERY SIX MONTHS - which does NOT guarantee compatibility

 

Features:

JDK 8

  • Last fully free version
  • Interface default methods
  • Interface status methods
  • Mustache vol 2
  • Method reference

JDK 9

  • Modularity - very jar is a module
  • Need to open package for reflection by Spring and Hibernate
  • No more use of classpath
  • 4.5K classes total
  • jlinker
  • OpenJDK jdk.java.net spun off
  • Start deprecated removal

 

JDK 10

  • var for variable

JDK 11

Significant Removals:

  • java.corba
  • java.transaction
  • java.activation
  • java.xml.bind
  • java.xml.ws
  • java.xml.ws.annotation
  • Java EE
  • Many J2EE features
  • JavaFX
  • AWTUtilities
  • Unsafe
  • Thread.destroy and Thread.stop

Deprecated

  • ThreadPoolExecutor