New APIs in Java 26
Comparing Java 26 (26-ea+22-2263-open) with Java 24 (24.0.2+12-54-open).
| Element | Modification | 
|---|---|
java.base  | 
    |
java.io  | 
    |
Console  | 
    |
print(Object)  | 
    |
println()  | 
    |
println(Object)  | 
    |
readln()  | 
    |
readln(String)  | 
    |
  | 
  |
IO  | 
    |
  | 
  |
Reader  | 
    |
  | 
  |
java.lang.classfile.attribute  | 
    |
  | 
  |
java.lang.classfile.constantpool  | 
    |
ClassEntry  | 
    |
MethodTypeEntry  | 
    |
ModuleEntry  | 
    |
PackageEntry  | 
    |
StringEntry  | 
    |
Utf8Entry  | 
    |
java.lang.classfile  | 
    |
ClassFile  | 
    |
Signature.ClassTypeSig  | 
    |
  | 
  |
java.lang.constant  | 
    |
  | 
  |
java.lang.invoke  | 
    |
  | 
  |
  | 
  |
java.lang.module  | 
    |
  | 
  |
java.lang.reflect  | 
    |
  | 
  |
  | 
  |
AccessFlag.Location  | 
    |
AccessFlag  | 
    |
ClassFileFormatVersion  | 
    |
java.lang.runtime  | 
    |
  | 
  |
  | 
  |
java.lang  | 
    |
Boolean  | 
    |
  | 
  |
  | 
  |
Byte  | 
    |
  | 
  |
  | 
  |
Character  | 
    |
  | 
  |
Double  | 
    |
  | 
  |
  | 
  |
Float  | 
    |
  | 
  |
  | 
  |
  | 
  |
Integer  | 
    |
  | 
  |
  | 
  |
Long  | 
    |
  | 
  |
  | 
  |
Math  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
Short  | 
    |
  | 
  |
  | 
  |
StrictMath  | 
    |
Thread  | 
    |
stop()  | 
    |
CharSequence  | 
    |
  | 
  |
java.math  | 
    |
BigInteger  | 
    |
java.net  | 
    |
DatagramSocketImpl  | 
    |
getTTL()  | 
    |
setTTL(byte)  | 
    |
HttpURLConnection  | 
    |
  | 
  |
  | 
  |
MulticastSocket  | 
    |
getTTL()  | 
    |
send(DatagramPacket, byte)  | 
    |
setTTL(byte)  | 
    |
  | 
  |
  | 
  |
URLConnection  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
java.nio.charset  | 
    |
  | 
  |
  | 
  |
java.nio.file  | 
    |
  | 
  |
java.nio  | 
    |
CharBuffer  | 
    |
  | 
  |
toString()  | 
    |
java.security.cert  | 
    |
  | 
  |
  | 
  |
java.security.spec  | 
    |
  | 
  |
  | 
  |
java.security  | 
    |
  | 
  |
  | 
  |
SecureRandom  | 
    |
  | 
  |
  | 
  |
  | 
  |
java.time  | 
    |
Duration  | 
    |
Instant  | 
    |
java.util.concurrent.locks  | 
    |
  | 
  |
java.util.concurrent  | 
    |
  | 
  |
  | 
  |
StructuredTaskScope.ShutdownOnFailure  | 
    |
StructuredTaskScope.ShutdownOnSuccess  | 
    |
StructuredTaskScope.Subtask  | 
    |
task()  | 
    |
  | 
  |
StructuredTaskScope()  | 
    |
StructuredTaskScope(String, ThreadFactory)  | 
    |
  | 
  |
ensureOwnerAndJoined()  | 
    |
  | 
  |
handleComplete(StructuredTaskScope.Subtask)  | 
    |
isShutdown()  | 
    |
join()  | 
    |
joinUntil(Instant)  | 
    |
shutdown()  | 
    |
toString()  | 
    |
java.util.zip  | 
    |
  | 
  |
  | 
  |
java.util  | 
    |
  | 
  |
  | 
  |
Currency  | 
    |
  | 
  |
  | 
  |
TimeZone  | 
    |
  | 
  |
Comparator  | 
    |
javax.crypto.spec  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
javax.crypto  | 
    |
  | 
  |
  | 
  |
  | 
  |
  | 
  |
javax.net.ssl  | 
    |
ExtendedSSLSession  | 
    |
  | 
  |
javax.security.auth  | 
    |
  | 
  |
  | 
  |
java.compiler  | 
    |
javax.lang.model  | 
    |
SourceVersion  | 
    |
java.desktop  | 
    |
java.applet  | 
    |
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.swing.plaf.basic  | 
    |
BasicSliderUI  | 
    |
BasicSliderUI()  | 
    |
javax.swing.plaf.synth  | 
    |
SynthLookAndFeel  | 
    |
load(URL)  | 
    |
SynthPasswordFieldUI  | 
    |
installKeyboardActions()  | 
    |
javax.swing  | 
    |
JApplet.AccessibleJApplet  | 
    |
JApplet  | 
    |
RepaintManager  | 
    |
addDirtyRegion(Applet, int, int, int, int)  | 
    |
java.logging  | 
    |
java.util.logging  | 
    |
  | 
  |
java.management  | 
    |
java.lang.management  | 
    |
  | 
  |
javax.management.modelmbean  | 
    |
DescriptorSupport  | 
    |
DescriptorSupport(String)  | 
    |
toXMLString()  | 
    |
XMLParseException  | 
    |
javax.management.remote  | 
    |
  | 
  |
javax.management  | 
    |
  | 
  |
  | 
  |
  | 
  |
java.net.http  | 
    |
java.net.http  | 
    |
HttpRequest.BodyPublishers  | 
    |
HttpRequest  | 
    |
HttpResponse.BodyHandlers  | 
    |
HttpResponse.BodySubscribers  | 
    |
HttpClient.Version  | 
    |
HttpRequest.Builder  | 
    |
HttpResponse.PushPromiseHandler  | 
    |
HttpResponse  | 
    |
java.security.jgss  | 
    |
javax.security.auth.kerberos  | 
    |
  | 
  |
  | 
  |
java.xml.crypto  | 
    |
javax.xml.crypto.dsig  | 
    |
SignatureMethod  | 
    |
  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 24.0.2+12-54-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.