New APIs in Java 26
Comparing Java 26 (26-ea+22-2263-open) with Java 16 (16.0.2+7-tem).
| Element | Modification | 
|---|---|
java.base  | 
    |
java.io  | 
    |
BufferedInputStream  | 
    |
CharArrayReader  | 
    |
  | 
  |
FileInputStream  | 
    |
  | 
  |
InputStreamReader  | 
    |
InvalidClassException  | 
    |
InvalidObjectException  | 
    |
ObjectInputFilter.Config  | 
    |
ObjectInputStream.GetField  | 
    |
  | 
  |
ObjectInputStream  | 
    |
  | 
  |
  | 
  |
ObjectOutputStream.PutField  | 
    |
  | 
  |
ObjectOutputStream  | 
    |
  | 
  |
  | 
  |
  | 
  |
ObjectStreamException  | 
    |
  | 
  |
PrintStream  | 
    |
PushbackInputStream  | 
    |
Reader  | 
    |
SequenceInputStream  | 
    |
  | 
  |
WriteAbortedException  | 
    |
  | 
  |
ObjectInputFilter  | 
    |
java.lang.constant  | 
    |
ConstantDescs  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
java.lang.invoke  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
java.lang.module  | 
    |
ModuleDescriptor.Exports  | 
    |
ModuleDescriptor.Opens  | 
    |
ModuleDescriptor.Requires  | 
    |
  | 
  |
java.lang.ref  | 
    |
ReferenceQueue  | 
    |
  | 
  |
  | 
  |
java.lang.reflect  | 
    |
AccessibleObject  | 
    |
  | 
  |
  | 
  |
  | 
  |
Field  | 
    |
Method  | 
    |
  | 
  |
  | 
  |
Parameter  | 
    |
  | 
  |
Member  | 
    |
java.lang.runtime  | 
    |
  | 
  |
java.lang  | 
    |
Boolean  | 
    |
  | 
  |
  | 
  |
Byte  | 
    |
  | 
  |
  | 
  |
Character.UnicodeBlock  | 
    |
Character  | 
    |
  | 
  |
Class  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
Compiler  | 
    |
Double  | 
    |
  | 
  |
  | 
  |
Enum  | 
    |
  | 
  |
Float  | 
    |
  | 
  |
  | 
  |
  | 
  |
Integer  | 
    |
  | 
  |
  | 
  |
Long  | 
    |
  | 
  |
  | 
  |
Math  | 
    |
ModuleLayer.Controller  | 
    |
Module  | 
    |
Object  | 
    |
  | 
  |
  | 
  |
Process  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
Short  | 
    |
  | 
  |
  | 
  |
StrictMath  | 
    |
  | 
  |
  | 
  |
String  | 
    |
System  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
ThreadGroup  | 
    |
allowThreadSuspension(boolean)  | 
    |
  | 
  |
resume()  | 
    |
stop()  | 
    |
suspend()  | 
    |
Thread  | 
    |
  | 
  |
countStackFrames()  | 
    |
  | 
  |
resume()  | 
    |
stop()  | 
    |
suspend()  | 
    |
Character.UnicodeScript  | 
    |
StackWalker.Option  | 
    |
CharSequence  | 
    |
java.math  | 
    |
BigDecimal  | 
    |
BigInteger  | 
    |
java.net.spi  | 
    |
java.net  | 
    |
DatagramSocketImpl  | 
    |
getTTL()  | 
    |
setTTL(byte)  | 
    |
DatagramSocket  | 
    |
  | 
  |
HttpURLConnection  | 
    |
  | 
  |
Inet4Address  | 
    |
Inet6Address  | 
    |
  | 
  |
  | 
  |
MulticastSocket  | 
    |
getTTL()  | 
    |
send(DatagramPacket, byte)  | 
    |
setTTL(byte)  | 
    |
  | 
  |
ServerSocket  | 
    |
  | 
  |
SocketException  | 
    |
  | 
  |
Socket  | 
    |
  | 
  |
  | 
  |
  | 
  |
URLConnection  | 
    |
  | 
  |
  | 
  |
URLDecoder()  | 
    |
  | 
  |
  | 
  |
URL  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
java.nio.channels  | 
    |
FileChannel  | 
    |
java.nio.charset  | 
    |
Charset  | 
    |
  | 
  |
  | 
  |
StandardCharsets  | 
    |
java.nio.file.spi  | 
    |
FileSystemProvider  | 
    |
java.nio.file  | 
    |
  | 
  |
Path  | 
    |
java.nio  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
toString()  | 
    |
java.security.cert  | 
    |
  | 
  |
  | 
  |
java.security.interfaces  | 
    |
DSAKeyPairGenerator  | 
    |
  | 
  |
  | 
  |
  | 
  |
DSAPrivateKey  | 
    |
DSAPublicKey  | 
    |
ECPrivateKey  | 
    |
ECPublicKey  | 
    |
EdECPrivateKey  | 
    |
EdECPublicKey  | 
    |
RSAPrivateKey  | 
    |
RSAPublicKey  | 
    |
XECPrivateKey  | 
    |
XECPublicKey  | 
    |
java.security.spec  | 
    |
NamedParameterSpec  | 
    |
  | 
  |
PSSParameterSpec  | 
    |
  | 
  |
  | 
  |
  | 
  |
java.security  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
InvalidParameterException  | 
    |
  | 
  |
KeyStoreSpi  | 
    |
KeyStore  | 
    |
  | 
  |
  | 
  |
SecureRandom  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
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.locks  | 
    |
  | 
  |
java.util.concurrent  | 
    |
CompletableFuture  | 
    |
  | 
  |
ConcurrentSkipListMap  | 
    |
ConcurrentSkipListSet  | 
    |
CopyOnWriteArrayList  | 
    |
DelayQueue  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
ForkJoinTask  | 
    |
ForkJoinWorkerThread  | 
    |
FutureTask  | 
    |
  | 
  |
nextGaussian()  | 
    |
ThreadPoolExecutor  | 
    |
  | 
  |
  | 
  |
Future  | 
    |
  | 
  |
java.util.regex  | 
    |
Matcher  | 
    |
Pattern  | 
    |
MatchResult  | 
    |
java.util.spi  | 
    |
ToolProvider  | 
    |
java.util.stream  | 
    |
Stream  | 
    |
java.util.zip  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
ZipFile  | 
    |
ZipInputStream  | 
    |
java.util  | 
    |
ArrayList  | 
    |
  | 
  |
  | 
  |
  | 
  |
Currency  | 
    |
  | 
  |
  | 
  |
HashMap  | 
    |
HashSet  | 
    |
IdentityHashMap  | 
    |
  | 
  |
  | 
  |
  | 
  |
LinkedList  | 
    |
Locale  | 
    |
  | 
  |
  | 
  |
  | 
  |
Objects  | 
    |
  | 
  |
  | 
  |
  | 
  |
nextBoolean()  | 
    |
nextDouble()  | 
    |
nextDouble(double)  | 
    |
nextDouble(double, double)  | 
    |
nextInt(int)  | 
    |
nextInt(int, int)  | 
    |
nextLong(long)  | 
    |
nextLong(long, long)  | 
    |
TimeZone  | 
    |
TreeMap  | 
    |
TreeSet  | 
    |
WeakHashMap  | 
    |
  | 
  |
Comparator  | 
    |
  | 
  |
  | 
  |
Map.Entry  | 
    |
NavigableMap  | 
    |
NavigableSet  | 
    |
  | 
  |
  | 
  |
javax.crypto.interfaces  | 
    |
DHPrivateKey  | 
    |
DHPublicKey  | 
    |
javax.crypto.spec  | 
    |
OAEPParameterSpec  | 
    |
  | 
  |
javax.crypto  | 
    |
  | 
  |
javax.net.ssl  | 
    |
ExtendedSSLSession  | 
    |
SSLHandshakeException  | 
    |
SSLKeyException  | 
    |
SSLParameters  | 
    |
SSLPeerUnverifiedException  | 
    |
  | 
  |
SSLProtocolException  | 
    |
SSLSessionContext  | 
    |
  | 
  |
  | 
  |
javax.security.auth  | 
    |
  | 
  |
  | 
  |
  | 
  |
Subject  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
java.compiler  | 
    |
javax.annotation.processing  | 
    |
Messager  | 
    |
javax.lang.model.element  | 
    |
ElementKind  | 
    |
Modifier  | 
    |
  | 
  |
  | 
  |
ExecutableElement  | 
    |
RecordComponentElement  | 
    |
TypeElement  | 
    |
  | 
  |
VariableElement  | 
    |
javax.lang.model.util  | 
    |
ElementScanner6  | 
    |
Elements  | 
    |
Types  | 
    |
javax.lang.model  | 
    |
SourceVersion  | 
    |
javax.tools  | 
    |
ForwardingJavaFileManager  | 
    |
SimpleJavaFileObject  | 
    |
DocumentationTool.Location  | 
    |
JavaFileManager  | 
    |
java.datatransfer  | 
    |
java.awt.datatransfer  | 
    |
DataFlavor  | 
    |
  | 
  |
  | 
  |
  | 
  |
java.desktop  | 
    |
java.applet  | 
    |
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  | 
    |
  | 
  |
  | 
  |
KeyboardFocusManager  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
PrintJob  | 
    |
  | 
  |
  | 
  |
  | 
  |
Window  | 
    |
  | 
  |
  | 
  |
java.beans.beancontext  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
java.beans  | 
    |
Beans  | 
    |
  | 
  |
instantiate(ClassLoader, String, BeanContext,...  | 
    |
  | 
  |
  | 
  |
AppletInitializer  | 
    |
javax.imageio.spi  | 
    |
ServiceRegistry  | 
    |
finalize()  | 
    |
javax.imageio.stream  | 
    |
FileCacheImageInputStream  | 
    |
finalize()  | 
    |
FileImageInputStream  | 
    |
finalize()  | 
    |
FileImageOutputStream  | 
    |
finalize()  | 
    |
ImageInputStreamImpl  | 
    |
finalize()  | 
    |
MemoryCacheImageInputStream  | 
    |
finalize()  | 
    |
javax.print.attribute.standard  | 
    |
javax.sound.midi  | 
    |
  | 
  |
javax.sound.sampled  | 
    |
  | 
  |
javax.swing.filechooser  | 
    |
FileSystemView  | 
    |
javax.swing.plaf.basic  | 
    |
BasicDirectoryModel  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
BasicSliderUI  | 
    |
BasicSliderUI()  | 
    |
BasicSplitPaneDivider  | 
    |
  | 
  |
BasicToolBarUI  | 
    |
  | 
  |
javax.swing.plaf.synth  | 
    |
SynthComboBoxUI  | 
    |
SynthLookAndFeel  | 
    |
load(URL)  | 
    |
SynthPasswordFieldUI  | 
    |
installKeyboardActions()  | 
    |
SynthTreeUI  | 
    |
javax.swing.text.html  | 
    |
  | 
  |
  | 
  |
  | 
  |
javax.swing.text  | 
    |
DefaultEditorKit  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
javax.swing  | 
    |
FocusManager  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
JApplet.AccessibleJApplet  | 
    |
JApplet  | 
    |
JFileChooser  | 
    |
JInternalFrame  | 
    |
  | 
  |
JScrollBar  | 
    |
  | 
  |
JSplitPane  | 
    |
RepaintManager  | 
    |
addDirtyRegion(Applet, int, int, int, int)  | 
    |
  | 
  |
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.modelmbean  | 
    |
DescriptorSupport  | 
    |
DescriptorSupport(String)  | 
    |
toXMLString()  | 
    |
XMLParseException  | 
    |
javax.management.remote  | 
    |
  | 
  |
JMXConnector  | 
    |
  | 
  |
javax.management  | 
    |
  | 
  |
  | 
  |
  | 
  |
java.naming  | 
    |
javax.naming  | 
    |
Context  | 
    |
APPLET  | 
    |
java.net.http  | 
    |
java.net.http  | 
    |
  | 
  |
HttpRequest.BodyPublishers  | 
    |
HttpRequest  | 
    |
HttpResponse.BodyHandlers  | 
    |
HttpResponse.BodySubscribers  | 
    |
HttpClient.Version  | 
    |
HttpClient.Builder  | 
    |
HttpRequest.Builder  | 
    |
HttpResponse.PushPromiseHandler  | 
    |
HttpResponse  | 
    |
java.rmi  | 
    |
java.rmi.activation  | 
    |
java.rmi.server  | 
    |
RMIClassLoader  | 
    |
  | 
  |
java.rmi  | 
    |
  | 
  |
java.security.jgss  | 
    |
javax.security.auth.kerberos  | 
    |
  | 
  |
  | 
  |
java.xml.crypto  | 
    |
javax.xml.crypto.dsig.spec  | 
    |
javax.xml.crypto.dsig  | 
    |
SignatureMethod  | 
    |
java.xml  | 
    |
javax.xml.catalog  | 
    |
CatalogManager  | 
    |
javax.xml.xpath  | 
    |
XPathFactory  | 
    |
  This report is based on simple comparison of all public and
  protected APIs of the Java SE packages of JDK builds
  26-ea+22-2263-open and 16.0.2+7-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.