New APIs in Java 19
Comparing Java 19 (19.0.2+7-tem) with Java 18 (18.0.2.1+1-tem).
Element | Modification |
---|---|
java.base |
|
java.io |
|
InvalidClassException |
|
InvalidObjectException |
|
|
|
ObjectStreamException |
|
java.lang.invoke |
|
|
|
|
|
MethodHandles |
|
|
|
java.lang.ref |
|
ReferenceQueue |
|
|
|
|
|
java.lang |
|
Character.UnicodeBlock |
|
Double |
|
Float |
|
Integer |
|
Long |
|
Math |
|
StrictMath |
|
Thread |
|
|
|
Character.UnicodeScript |
|
java.math |
|
BigDecimal |
|
BigInteger |
|
java.net |
|
|
|
SocketException |
|
java.nio.channels |
|
FileChannel |
|
java.nio |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.security.spec |
|
PSSParameterSpec |
|
|
|
|
|
java.text |
|
DecimalFormatSymbols |
|
java.time.chrono |
|
IsoChronology |
|
JapaneseChronology |
|
MinguoChronology |
|
ThaiBuddhistChronology |
|
Chronology |
|
java.time.format |
|
DateTimeFormatterBuilder |
|
DateTimeFormatter |
|
java.time |
|
|
|
ZoneOffset |
|
java.util.concurrent |
|
CompletableFuture |
|
|
|
Executors |
|
ForkJoinPool |
|
ForkJoinTask |
|
ForkJoinWorkerThread |
|
FutureTask |
|
|
|
|
|
Future |
|
java.util.spi |
|
ToolProvider |
|
java.util |
|
|
|
HashMap |
|
HashSet |
|
|
|
LinkedHashMap |
|
LinkedHashSet |
|
Locale |
|
|
|
|
|
|
|
Objects |
|
Random |
|
WeakHashMap |
|
javax.crypto.spec |
|
OAEPParameterSpec |
|
|
|
javax.net.ssl |
|
KeyManagerFactory |
|
|
|
SSLHandshakeException |
|
SSLKeyException |
|
SSLParameters |
|
SSLPeerUnverifiedException |
|
SSLProtocolException |
|
TrustManagerFactory |
|
|
|
SSLSessionContext |
|
|
|
|
|
java.compiler |
|
javax.lang.model.element |
|
ElementKind |
|
javax.lang.model |
|
SourceVersion |
|
java.desktop |
|
java.awt.color |
|
|
|
|
|
|
|
java.awt.desktop |
|
|
|
|
|
java.awt.dnd |
|
|
|
java.awt.event |
|
|
|
java.awt.geom |
|
CubicCurve2D.Double |
|
getBounds2D() |
|
CubicCurve2D.Float |
|
getBounds2D() |
|
CubicCurve2D |
|
|
|
QuadCurve2D.Double |
|
getBounds2D() |
|
QuadCurve2D.Float |
|
getBounds2D() |
|
QuadCurve2D |
|
java.awt |
|
|
|
|
|
|
|
|
|
|
|
javax.sound.midi |
|
|
|
javax.swing.plaf.basic |
|
BasicDirectoryModel |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BasicToolBarUI |
|
|
|
javax.swing.text.html |
|
|
|
|
|
|
|
javax.swing.text |
|
|
|
|
|
|
|
|
|
|
|
javax.swing |
|
|
|
|
|
|
|
|
|
java.net.http |
|
java.net.http |
|
HttpClient.Builder |
|
This report is based on simple comparison of all public
and
protected
APIs of the java.*
and javax.*
packages of JDK builds 19.0.2+7-tem and
18.0.2.1+1-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.