New APIs in Java 25
Comparing Java 25 (25-ea+1-3-open) with Java 17 (17.0.13+11-tem).
Element | Modification |
---|---|
java.base |
|
java.io |
|
BufferedInputStream |
|
|
|
FileInputStream |
|
InvalidClassException |
|
InvalidObjectException |
|
ObjectInputStream.GetField |
|
|
|
ObjectInputStream |
|
|
|
|
|
ObjectOutputStream.PutField |
|
|
|
ObjectOutputStream |
|
|
|
|
|
|
|
ObjectStreamException |
|
PrintStream |
|
PushbackInputStream |
|
Reader |
|
SequenceInputStream |
|
java.lang.constant |
|
ConstantDescs |
|
ClassDesc |
|
|
|
|
|
|
|
MethodHandleDesc |
|
MethodTypeDesc |
|
|
|
java.lang.invoke |
|
|
|
ClassSpecializer.Factory |
|
ClassSpecializer.SpeciesData |
|
|
|
|
|
MethodHandles |
|
|
|
|
|
java.lang.module |
|
ModuleDescriptor.Exports |
|
ModuleDescriptor.Opens |
|
ModuleDescriptor.Requires |
|
ModuleDescriptor |
|
java.lang.ref |
|
ReferenceQueue |
|
|
|
|
|
java.lang.reflect |
|
Executable |
|
|
|
Field |
|
Method |
|
|
|
Parameter |
|
Member |
|
java.lang.runtime |
|
|
|
java.lang |
|
Character.UnicodeBlock |
|
Character |
|
Class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Compiler |
|
Double |
|
Enum |
|
|
|
FdLibm.Cbrt |
|
FdLibm.Hypot |
|
FdLibm.Pow |
|
Float |
|
Integer |
|
Long |
|
Math |
|
ModuleLayer.Controller |
|
Module |
|
Object |
|
|
|
Process |
|
Runtime |
|
|
|
|
|
|
|
|
|
SecurityManager |
|
|
|
StrictMath |
|
|
|
|
|
String |
|
System |
|
|
|
|
|
ThreadGroup |
|
allowThreadSuspension(boolean) |
|
resume() |
|
stop() |
|
suspend() |
|
Thread |
|
countStackFrames() |
|
|
|
resume() |
|
|
|
suspend() |
|
Character.UnicodeScript |
|
StackWalker.Option |
|
java.math |
|
BigDecimal |
|
BigInteger |
|
java.net.spi |
|
java.net |
|
DatagramSocketImpl |
|
|
|
|
|
Inet4Address |
|
Inet6Address |
|
|
|
MulticastSocket |
|
|
|
|
|
|
|
SocketException |
|
Socket |
|
|
|
|
|
URL |
|
|
|
|
|
|
|
|
|
|
|
|
|
java.nio.channels |
|
FileChannel |
|
java.nio.charset |
|
Charset |
|
StandardCharsets |
|
java.nio.file.spi |
|
FileSystemProvider |
|
java.nio.file |
|
Path |
|
java.nio |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.security.interfaces |
|
DSAKeyPairGenerator |
|
|
|
|
|
|
|
DSAPrivateKey |
|
DSAPublicKey |
|
ECPrivateKey |
|
ECPublicKey |
|
EdECPrivateKey |
|
EdECPublicKey |
|
RSAPrivateKey |
|
RSAPublicKey |
|
XECPrivateKey |
|
XECPublicKey |
|
java.security.spec |
|
NamedParameterSpec |
|
PSSParameterSpec |
|
|
|
|
|
java.security |
|
InvalidParameterException |
|
KeyStoreSpi |
|
KeyStore |
|
|
|
|
|
java.text |
|
ChoiceFormat |
|
CompactNumberFormat |
|
DecimalFormatSymbols |
|
DecimalFormat |
|
MessageFormat |
|
NumberFormat |
|
SimpleDateFormat |
|
java.time.chrono |
|
IsoChronology |
|
JapaneseChronology |
|
MinguoChronology |
|
ThaiBuddhistChronology |
|
Chronology |
|
java.time.format |
|
DateTimeFormatterBuilder |
|
DateTimeFormatter |
|
java.time |
|
Duration |
|
Instant |
|
|
|
ZoneOffset |
|
java.util.concurrent |
|
CompletableFuture |
|
|
|
ConcurrentSkipListMap |
|
ConcurrentSkipListSet |
|
CopyOnWriteArrayList |
|
DelayQueue |
|
Executors |
|
ForkJoinPool |
|
|
|
ForkJoinTask |
|
ForkJoinWorkerThread |
|
FutureTask |
|
|
|
ThreadPoolExecutor |
|
|
|
|
|
Future |
|
java.util.random |
|
RandomGenerator |
|
java.util.regex |
|
Matcher |
|
Pattern |
|
MatchResult |
|
java.util.spi |
|
ToolProvider |
|
java.util.stream |
|
Stream |
|
java.util.zip |
|
Deflater |
|
|
|
|
|
Inflater |
|
|
|
|
|
|
|
ZipFile |
|
ZipInputStream |
|
java.util |
|
ArrayList |
|
|
|
Collections |
|
|
|
HashMap |
|
HashSet |
|
IdentityHashMap |
|
|
|
|
|
|
|
LinkedList |
|
Locale |
|
|
|
|
|
|
|
Objects |
|
Random |
|
TreeMap |
|
TreeSet |
|
WeakHashMap |
|
|
|
|
|
NavigableMap |
|
NavigableSet |
|
|
|
|
|
javax.crypto.interfaces |
|
DHPrivateKey |
|
DHPublicKey |
|
javax.crypto.spec |
|
OAEPParameterSpec |
|
|
|
javax.crypto |
|
javax.net.ssl |
|
SSLHandshakeException |
|
SSLKeyException |
|
SSLParameters |
|
SSLPeerUnverifiedException |
|
SSLProtocolException |
|
SSLSessionContext |
|
|
|
|
|
javax.security.auth |
|
Subject |
|
|
|
|
|
java.compiler |
|
javax.annotation.processing |
|
Messager |
|
javax.lang.model.element |
|
ElementKind |
|
ExecutableElement |
|
RecordComponentElement |
|
VariableElement |
|
javax.lang.model.util |
|
ElementScanner6 |
|
Elements |
|
Types |
|
javax.lang.model |
|
SourceVersion |
|
javax.tools |
|
ForwardingJavaFileManager |
|
SimpleJavaFileObject |
|
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.peer |
|
WindowPeer |
|
repositionSecurityWarning() |
|
java.awt |
|
|
|
Graphics |
|
|
|
|
|
KeyboardFocusManager |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PrintJob |
|
|
|
|
|
|
|
Window |
|
|
|
|
|
java.beans.beancontext |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.beans |
|
Beans |
|
|
|
|
|
|
|
javax.imageio.spi |
|
ServiceRegistry |
|
|
|
javax.imageio.stream |
|
FileCacheImageInputStream |
|
|
|
FileImageInputStream |
|
|
|
FileImageOutputStream |
|
|
|
ImageInputStreamImpl |
|
|
|
MemoryCacheImageInputStream |
|
|
|
javax.print.attribute.standard |
|
javax.sound.midi |
|
|
|
javax.sound.sampled |
|
|
|
javax.swing.plaf.basic |
|
BasicDirectoryModel |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BasicSliderUI |
|
|
|
BasicSplitPaneDivider |
|
|
|
BasicToolBarUI |
|
|
|
javax.swing.plaf.synth |
|
SynthComboBoxUI |
|
SynthLookAndFeel |
|
|
|
SynthPasswordFieldUI |
|
SynthTreeUI |
|
javax.swing.text.html |
|
AccessibleHTML.HTMLAccessibleContext |
|
|
|
|
|
|
|
javax.swing.text |
|
DefaultEditorKit |
|
|
|
|
|
|
|
|
|
|
|
javax.swing |
|
FocusManager |
|
|
|
|
|
|
|
|
|
JFileChooser |
|
JInternalFrame |
|
|
|
JScrollBar |
|
JSplitPane |
|
|
|
UIManager |
|
|
|
java.logging |
|
java.util.logging |
|
FileHandler |
|
|
|
|
|
|
|
|
|
|
|
|
|
Handler |
|
|
|
|
|
|
|
|
|
|
|
LogManager |
|
|
|
|
|
|
|
|
|
Logger |
|
|
|
|
|
|
|
|
|
MemoryHandler |
|
|
|
|
|
SocketHandler |
|
|
|
StreamHandler |
|
|
|
|
|
|
|
java.management.rmi |
|
javax.management.remote.rmi |
|
RMIConnector |
|
getMBeanServerConnection(Subject) |
|
RMIIIOPServerImpl |
|
java.management |
|
java.lang.management |
|
MemoryMXBean |
|
|
|
javax.management.loading |
|
MLetContent |
|
MLet |
|
PrivateMLet |
|
MLetMBean |
|
javax.management.remote |
|
JMXConnector |
|
|
|
java.naming |
|
javax.naming |
|
Context |
|
APPLET |
|
java.net.http |
|
java.net.http |
|
|
|
HttpClient.Builder |
|
HttpRequest.Builder |
|
java.rmi |
|
java.rmi.server |
|
RMIClassLoader |
|
|
|
java.xml.crypto |
|
javax.xml.crypto.dsig |
|
SignatureMethod |
|
java.xml |
|
javax.xml.catalog |
|
CatalogManager |
|
GroupEntry.ResolveType |
|
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 25-ea+1-3-open and
17.0.13+11-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.