New APIs in Java 12
Comparing Java 12 (12.0.2+10-adpt) with Java 11 (11.0.25+9-tem).
Element | Modification |
---|---|
java.base |
|
java.io |
|
FileInputStream |
|
finalize() |
|
FileOutputStream |
|
finalize() |
|
InputStream |
|
java.lang.invoke |
|
|
|
|
|
|
|
java.lang.reflect |
|
UndeclaredThrowableException |
|
getCause() |
|
java.lang |
|
Character.UnicodeBlock |
|
ClassNotFoundException |
|
getCause() |
|
|
|
|
|
|
|
ExceptionInInitializerError |
|
getCause() |
|
|
|
|
|
|
|
|
|
Character.UnicodeScript |
|
java.net |
|
SecureCacheResponse |
|
ServerSocket |
|
java.nio.file |
|
Files |
|
java.security.interfaces |
|
DSAPrivateKey |
|
|
|
DSAPublicKey |
|
|
|
ECPrivateKey |
|
|
|
ECPublicKey |
|
|
|
RSAMultiPrimePrivateCrtKey |
|
|
|
RSAPrivateCrtKey |
|
|
|
RSAPrivateKey |
|
|
|
RSAPublicKey |
|
|
|
java.security |
|
PrivilegedActionException |
|
getCause() |
|
Key |
|
|
|
PrivateKey |
|
|
|
PublicKey |
|
|
|
java.text.spi |
|
NumberFormatProvider |
|
java.text |
|
NumberFormat.Field |
|
NumberFormat |
|
java.util.concurrent |
|
CompletableFuture |
|
CompletionStage |
|
java.util.stream |
|
Collectors |
|
java.util.zip |
|
Deflater |
|
finalize() |
|
Inflater |
|
finalize() |
|
ZipFile |
|
finalize() |
|
javax.crypto.interfaces |
|
DHPrivateKey |
|
|
|
DHPublicKey |
|
|
|
PBEKey |
|
|
|
javax.crypto |
|
Cipher |
|
SecretKey |
|
|
|
javax.net.ssl |
|
HttpsURLConnection |
|
java.compiler |
|
javax.lang.model.util |
|
AbstractAnnotationValueVisitor7 |
|
|
|
AbstractElementVisitor7 |
|
|
|
AbstractTypeVisitor7 |
|
|
|
ElementKindVisitor7 |
|
|
|
|
|
ElementScanner7 |
|
|
|
|
|
SimpleAnnotationValueVisitor7 |
|
|
|
|
|
SimpleElementVisitor7 |
|
|
|
|
|
SimpleTypeVisitor7 |
|
|
|
|
|
TypeKindVisitor7 |
|
|
|
|
|
javax.lang.model |
|
SourceVersion |
|
java.desktop |
|
java.awt.peer |
|
RobotPeer |
|
|
|
useAbsoluteCoordinates() |
|
javax.swing.filechooser |
|
FileSystemView |
|
javax.swing.plaf.basic |
|
BasicRadioButtonUI |
|
|
|
|
|
javax.swing |
|
JPasswordField |
|
setText(String) |
|
java.naming |
|
javax.naming.directory |
|
Attribute |
|
|
|
javax.naming |
|
Name |
|
|
|
java.rmi |
|
java.rmi.server |
|
RemoteRef |
|
|
|
ServerRef |
|
|
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+10-adpt and
11.0.25+9-tem. It does not make statements about
compatibility.
For the latest Java versions the corresponding CSRs (Compatibility & Specification Review) are linked for a quick reference to find out about the reasoning of the change.