New APIs in Java 14
Comparing Java 14 (14.0.2+12-adpt) with Java 11 (11.0.25+9-tem).
Element | Modification |
---|---|
java.base |
|
java.io |
|
FileInputStream |
|
finalize() |
|
FileOutputStream |
|
finalize() |
|
InputStream |
|
PrintStream |
|
java.lang.annotation |
|
ElementType |
|
java.lang.invoke |
|
ClassSpecializer.Factory |
|
Factory(ClassSpecializer) |
|
ConstantBootstraps |
|
|
|
|
|
MethodHandles.Lookup |
|
|
|
|
|
|
|
java.lang.reflect |
|
Modifier |
|
|
|
UndeclaredThrowableException |
|
getCause() |
|
java.lang |
|
Character.UnicodeBlock |
|
ClassNotFoundException |
|
getCause() |
|
|
|
|
|
|
|
ExceptionInInitializerError |
|
getCause() |
|
|
|
|
|
LiveStackFrame.PrimitiveSlot |
|
PrimitiveSlot() |
|
|
|
NullPointerException |
|
|
|
Runtime |
|
traceInstructions(boolean) |
|
traceMethodCalls(boolean) |
|
StrictMath |
|
|
|
ThreadGroup |
|
|
|
|
|
|
|
Thread |
|
|
|
|
|
Character.UnicodeScript |
|
java.net |
|
MulticastSocket |
|
|
|
|
|
|
|
|
|
|
|
|
|
SecureCacheResponse |
|
ServerSocket |
|
java.nio.file |
|
FileSystems |
|
Files |
|
java.nio |
|
Buffer |
|
ByteBuffer |
|
CharBuffer |
|
DoubleBuffer |
|
FloatBuffer |
|
IntBuffer |
|
LongBuffer |
|
MappedByteBuffer |
|
ShortBuffer |
|
java.security.acl |
|
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.time.chrono |
|
JapaneseEra |
|
java.util.concurrent.locks |
|
AbstractQueuedLongSynchronizer |
|
|
|
LockSupport |
|
java.util.concurrent |
|
CompletableFuture |
|
CompletionStage |
|
java.util.jar |
|
Pack200 |
|
Pack200.Packer |
|
Pack200.Unpacker |
|
java.util.stream |
|
Collectors |
|
java.util.zip |
|
Deflater |
|
finalize() |
|
Inflater |
|
finalize() |
|
ZipFile |
|
finalize() |
|
java.util |
|
HashSet |
|
javax.crypto.interfaces |
|
DHPrivateKey |
|
|
|
DHPublicKey |
|
|
|
PBEKey |
|
|
|
javax.crypto |
|
Cipher |
|
SecretKey |
|
|
|
javax.net.ssl |
|
HandshakeCompletedEvent |
|
|
|
HttpsURLConnection |
|
SSLSession |
|
|
|
javax.security.cert |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.compiler |
|
javax.annotation.processing |
|
ProcessingEnvironment |
|
javax.lang.model.element |
|
ElementKind |
|
ElementVisitor |
|
ExecutableElement |
|
ModuleElement |
|
PackageElement |
|
TypeElement |
|
TypeParameterElement |
|
VariableElement |
|
javax.lang.model.util |
|
AbstractAnnotationValueVisitor7 |
|
|
|
AbstractElementVisitor6 |
|
AbstractElementVisitor7 |
|
|
|
AbstractTypeVisitor7 |
|
|
|
ElementFilter |
|
ElementKindVisitor6 |
|
ElementKindVisitor7 |
|
|
|
|
|
ElementScanner7 |
|
|
|
|
|
SimpleAnnotationValueVisitor7 |
|
|
|
|
|
SimpleElementVisitor7 |
|
|
|
|
|
SimpleTypeVisitor7 |
|
|
|
|
|
TypeKindVisitor7 |
|
|
|
|
|
Elements |
|
javax.lang.model |
|
SourceVersion |
|
javax.tools |
|
ToolProvider |
|
|
|
StandardJavaFileManager |
|
|
|
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 |
|
|
|
java.security.jgss |
|
javax.security.auth.kerberos |
|
KerberosPrincipal |
|
java.xml.crypto |
|
javax.xml.crypto.dsig.keyinfo |
|
KeyValue |
|
javax.xml.crypto.dsig |
|
CanonicalizationMethod |
|
java.xml |
|
javax.xml.parsers |
|
DocumentBuilderFactory |
|
SAXParserFactory |
|
This report is based on simple comparison of all public
and
protected
APIs of the java.*
and javax.*
packages of JDK builds 14.0.2+12-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.