New APIs in Java 25
Comparing Java 25 (25-ea+25-3096-open) with Java 24 (24.0.1+9-30-open).
Element | Modification |
---|---|
java.base |
|
java.io |
|
Console |
|
print(Object) |
|
println() |
|
println(Object) |
|
readln() |
|
readln(String) |
|
|
|
IO |
|
|
|
|
|
java.lang.classfile.attribute |
|
|
|
java.lang.classfile.constantpool |
|
ClassEntry |
|
MethodTypeEntry |
|
ModuleEntry |
|
PackageEntry |
|
StringEntry |
|
Utf8Entry |
|
java.lang.classfile |
|
ClassFile |
|
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 |
|
CharSequence |
|
java.net |
|
HttpURLConnection |
|
|
|
|
|
|
|
URLConnection |
|
|
|
|
|
|
|
|
|
java.nio.charset |
|
|
|
|
|
java.nio.file |
|
|
|
java.nio |
|
CharBuffer |
|
java.security |
|
|
|
|
|
|
|
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 |
|
javax.crypto.spec |
|
|
|
|
|
|
|
|
|
|
|
javax.crypto |
|
|
|
|
|
|
|
javax.net.ssl |
|
|
|
javax.security.auth |
|
|
|
|
|
java.compiler |
|
javax.lang.model |
|
SourceVersion |
|
java.desktop |
|
javax.swing.plaf.basic |
|
BasicSliderUI |
|
BasicSliderUI() |
|
javax.swing.plaf.synth |
|
SynthLookAndFeel |
|
load(URL) |
|
java.logging |
|
java.util.logging |
|
|
|
java.management |
|
java.lang.management |
|
|
|
javax.management.modelmbean |
|
DescriptorSupport |
|
|
|
|
|
|
|
javax.management.remote |
|
|
|
javax.management |
|
|
|
|
|
|
|
java.net.http |
|
java.net.http |
|
HttpResponse.BodyHandlers |
|
HttpResponse.BodySubscribers |
|
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
25-ea+25-3096-open and 24.0.1+9-30-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.