New APIs in Java 19
Comparing Java 19 (19.0.2+7-tem) with Java 17 (17.0.15+6-tem).
Element | Modification |
---|---|
java.base | |
java.io | |
FileInputStream | |
InvalidClassException | |
InvalidObjectException | |
ObjectInputStream.GetField | |
| |
| |
ObjectStreamException | |
PrintStream | |
java.lang.invoke | |
| |
| |
| |
MethodHandles | |
| |
java.lang.ref | |
ReferenceQueue | |
| |
| |
java.lang.reflect | |
Method | |
| |
java.lang | |
Character.UnicodeBlock | |
Double | |
Enum | |
| |
Float | |
Integer | |
Long | |
Math | |
Object | |
| |
Runtime | |
| |
| |
| |
| |
StrictMath | |
System | |
| |
Thread | |
| |
| |
Character.UnicodeScript | |
java.math | |
BigDecimal | |
BigInteger | |
java.net.spi | |
java.net | |
| |
SocketException | |
java.nio.channels | |
FileChannel | |
java.nio.charset | |
Charset | |
java.nio | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
java.security.spec | |
PSSParameterSpec | |
| |
| |
java.security | |
KeyStoreSpi | |
KeyStore | |
java.text | |
DecimalFormatSymbols | |
java.time.chrono | |
IsoChronology | |
JapaneseChronology | |
MinguoChronology | |
ThaiBuddhistChronology | |
Chronology | |
java.time.format | |
DateTimeFormatterBuilder | |
DateTimeFormatter | |
java.time | |
Duration | |
| |
ZoneOffset | |
java.util.concurrent | |
CompletableFuture | |
| |
Executors | |
ForkJoinPool | |
ForkJoinTask | |
ForkJoinWorkerThread | |
FutureTask | |
| |
ThreadPoolExecutor | |
| |
| |
Future | |
java.util.spi | |
ToolProvider | |
java.util | |
| |
HashMap | |
HashSet | |
| |
LinkedHashMap | |
LinkedHashSet | |
Locale | |
| |
| |
| |
Objects | |
Random | |
WeakHashMap | |
javax.crypto.spec | |
OAEPParameterSpec | |
| |
javax.crypto | |
DecapsulateException |
|
KEM.Decapsulator |
|
KEM.Encapsulated |
|
KEM.Encapsulator |
|
KEM |
|
KEMSpi.DecapsulatorSpi |
|
KEMSpi.EncapsulatorSpi |
|
KEMSpi |
|
javax.net.ssl | |
KeyManagerFactory | |
| |
SSLHandshakeException | |
SSLKeyException | |
SSLParameters | |
SSLPeerUnverifiedException | |
SSLProtocolException | |
TrustManagerFactory | |
| |
SSLSessionContext | |
| |
| |
javax.security.auth | |
Subject | |
| |
| |
java.compiler | |
javax.annotation.processing | |
Messager | |
javax.lang.model.element | |
ElementKind | |
ExecutableElement | |
javax.lang.model.util | |
Elements | |
javax.lang.model | |
SourceVersion | |
javax.tools | |
ForwardingJavaFileManager | |
DocumentationTool.Location | |
JavaFileManager | |
java.desktop | |
java.awt.color | |
| |
| |
| |
finalize() | |
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.image | |
ColorModel | |
finalize() | |
IndexColorModel | |
finalize() | |
java.awt | |
Graphics | |
| |
| |
| |
| |
PrintJob | |
| |
| |
| |
javax.imageio.spi | |
ServiceRegistry | |
| |
javax.imageio.stream | |
FileCacheImageInputStream | |
| |
FileImageInputStream | |
| |
FileImageOutputStream | |
| |
ImageInputStreamImpl | |
| |
MemoryCacheImageInputStream | |
| |
javax.sound.midi | |
| |
javax.swing.plaf.basic | |
BasicDirectoryModel | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
BasicToolBarUI | |
| |
javax.swing.text.html | |
| |
| |
| |
javax.swing.text | |
| |
| |
| |
| |
| |
javax.swing | |
| |
| |
| |
| |
java.management | |
java.lang.management | |
MemoryMXBean | |
| |
java.net.http | |
java.net.http | |
HttpClient.Builder | |
HttpRequest.Builder | |
java.xml | |
javax.xml.xpath | |
XPathFactory | |
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
17.0.15+6-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.