Some Java Historiography
javaalmanac.io

New APIs in Java 12

Comparing Java 12 (build 12.0.2.hs-adpt) with Java 11 (build 11.0.6.hs-adpt).

Element Modification
java.base
java.io
FileInputStream
finalize()
  • removed
FileOutputStream
finalize()
  • removed
InputStream
  • added
  • added
java.lang.invoke
  • + implements Constable
  • added
  • + implements TypeDescriptor.OfMethod
  • + implements Constable
  • added
  • added
  • added
  • + implements Constable
  • added
  • added
  • added
  • added
  • added
java.lang.reflect
UndeclaredThrowableException
getCause()
  • removed
java.lang
Character.UnicodeBlock
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
ClassNotFoundException
getCause()
  • removed
  • + implements TypeDescriptor.OfField
  • + implements Constable
  • added
  • added
  • added
  • added
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
  • added
  • + implements Constable
  • added
ExceptionInInitializerError
getCause()
  • removed
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
  • added
  • added
Character.UnicodeScript
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.net
SecureCacheResponse
  • added
ServerSocket
  • added
java.nio.file
Files
  • added
java.security
PrivilegedActionException
getCause()
  • removed
java.text.spi
NumberFormatProvider
  • added
java.text
  • added
NumberFormat.Field
  • added
  • added
NumberFormat
  • added
  • added
  • added
java.util.concurrent
CompletableFuture
  • added
  • added
  • added
  • added
  • added
CompletionStage
  • added
  • added
  • added
  • added
  • added
java.util.stream
Collectors
  • added
java.util.zip
Deflater
finalize()
  • removed
Inflater
finalize()
  • removed
ZipFile
finalize()
  • removed
javax.crypto
Cipher
  • added
javax.net.ssl
HttpsURLConnection
  • added
java.compiler
javax.lang.model
SourceVersion
  • added
java.desktop
javax.swing.filechooser
FileSystemView
  • added
java.naming
  • added
Data Source

This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 12.0.2.hs-adpt and 11.0.6.hs-adpt. It does not make statements about compatibility.

More detailed API comparisons based on the japicmp tool can be found here.