New APIs in Java 13
Comparing Java 13 (13.0.2+8-adpt) with Java 10 (10.0.2-open).
Element | Modification |
---|---|
java.activation |
|
java.base |
|
java.io |
|
ByteArrayInputStream |
|
ByteArrayOutputStream |
|
FileInputStream |
|
finalize() |
|
FileOutputStream |
|
finalize() |
|
FileReader |
|
FileWriter |
|
InputStream |
|
OutputStream |
|
Reader |
|
Writer |
|
java.lang.invoke |
|
|
|
|
|
|
|
java.lang.ref |
|
Reference |
|
java.lang.reflect |
|
UndeclaredThrowableException |
|
getCause() |
|
java.lang |
|
Character.UnicodeBlock |
|
Character |
|
ClassNotFoundException |
|
getCause() |
|
|
|
|
|
|
|
ExceptionInInitializerError |
|
getCause() |
|
|
|
|
|
|
|
Runtime |
|
runFinalizersOnExit(boolean) |
|
traceInstructions(boolean) |
|
traceMethodCalls(boolean) |
|
SecurityManager |
|
checkAwtEventQueueAccess() |
|
checkMemberAccess(Class, int) |
|
checkSystemClipboardAccess() |
|
checkTopLevelWindow(Object) |
|
|
|
|
|
|
|
System |
|
runFinalizersOnExit(boolean) |
|
Thread |
|
destroy() |
|
stop(Throwable) |
|
Character.UnicodeScript |
|
CharSequence |
|
java.net |
|
SecureCacheResponse |
|
ServerSocket |
|
java.nio.channels |
|
SelectionKey |
|
Selector |
|
java.nio.file |
|
FileSystems |
|
Files |
|
Path |
|
java.nio |
|
Buffer |
|
ByteBuffer |
|
CharBuffer |
|
DoubleBuffer |
|
FloatBuffer |
|
IntBuffer |
|
LongBuffer |
|
MappedByteBuffer |
|
ShortBuffer |
|
java.security.interfaces |
|
DSAPrivateKey |
|
|
|
DSAPublicKey |
|
|
|
ECPrivateKey |
|
|
|
ECPublicKey |
|
|
|
RSAKey |
|
RSAMultiPrimePrivateCrtKey |
|
|
|
RSAPrivateCrtKey |
|
|
|
RSAPrivateKey |
|
|
|
RSAPublicKey |
|
|
|
java.security.spec |
|
|
|
getName() |
|
MGF1ParameterSpec |
|
PSSParameterSpec |
|
RSAKeyGenParameterSpec |
|
RSAMultiPrimePrivateCrtKeySpec |
|
RSAPrivateCrtKeySpec |
|
RSAPrivateKeySpec |
|
RSAPublicKeySpec |
|
java.security |
|
PrivilegedActionException |
|
getCause() |
|
Key |
|
|
|
PrivateKey |
|
|
|
PublicKey |
|
|
|
java.text.spi |
|
NumberFormatProvider |
|
java.text |
|
NumberFormat.Field |
|
NumberFormat |
|
java.time.chrono |
|
JapaneseEra |
|
java.util.concurrent |
|
CompletableFuture |
|
PriorityBlockingQueue |
|
|
|
|
|
|
|
|
|
TimeUnit |
|
CompletionStage |
|
java.util.function |
|
Predicate |
|
java.util.jar |
|
|
|
|
|
|
|
java.util.regex |
|
Pattern |
|
java.util.stream |
|
Collectors |
|
java.util.zip |
|
Deflater |
|
finalize() |
|
Inflater |
|
finalize() |
|
ZipFile |
|
finalize() |
|
java.util |
|
ArrayList |
|
|
|
|
|
OptionalDouble |
|
OptionalInt |
|
OptionalLong |
|
Optional |
|
PriorityQueue |
|
|
|
|
|
|
|
|
|
Collection |
|
javax.crypto.interfaces |
|
DHPrivateKey |
|
|
|
DHPublicKey |
|
|
|
PBEKey |
|
|
|
javax.crypto.spec |
|
javax.crypto |
|
Cipher |
|
SecretKey |
|
|
|
javax.net.ssl |
|
HandshakeCompletedEvent |
|
|
|
HttpsURLConnection |
|
SSLSession |
|
|
|
javax.security.auth |
|
Policy |
|
javax.security.cert |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.compiler |
|
javax.annotation.processing |
|
ProcessingEnvironment |
|
javax.lang.model.element |
|
ExecutableElement |
|
ModuleElement |
|
PackageElement |
|
TypeElement |
|
TypeParameterElement |
|
VariableElement |
|
javax.lang.model.util |
|
AbstractAnnotationValueVisitor7 |
|
|
|
AbstractElementVisitor7 |
|
|
|
AbstractTypeVisitor7 |
|
|
|
ElementKindVisitor7 |
|
|
|
|
|
ElementScanner7 |
|
|
|
|
|
SimpleAnnotationValueVisitor7 |
|
|
|
|
|
SimpleElementVisitor7 |
|
|
|
|
|
SimpleTypeVisitor7 |
|
|
|
|
|
TypeKindVisitor7 |
|
|
|
|
|
javax.lang.model |
|
SourceVersion |
|
javax.tools |
|
StandardJavaFileManager |
|
|
|
java.corba |
|
java.desktop |
|
java.awt.peer |
|
RobotPeer |
|
dispose() |
|
java.awt |
|
|
|
|
|
|
|
javax.print.attribute.standard |
|
javax.swing.filechooser |
|
FileSystemView |
|
javax.swing |
|
DefaultComboBoxModel |
|
DefaultListModel |
|
ListSelectionModel |
|
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.sql |
|
javax.transaction.xa |
|
java.transaction |
|
java.xml.bind |
|
java.xml.crypto |
|
javax.xml.crypto.dsig.keyinfo |
|
KeyValue |
|
javax.xml.crypto.dsig |
|
CanonicalizationMethod |
|
DigestMethod |
|
SignatureMethod |
|
java.xml.ws.annotation |
|
java.xml.ws |
|
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 13.0.2+8-adpt and
10.0.2-open. 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.