New APIs in Java 25
Comparing Java 25 (25-ea+22-2667-open) with Java 19 (19.0.2+7-tem).
Element | Modification |
---|---|
java.base | |
java.io | |
BufferedInputStream | |
| |
| |
ObjectInputStream | |
| |
| |
ObjectOutputStream.PutField | |
| |
ObjectOutputStream | |
| |
| |
| |
PushbackInputStream | |
Reader | |
SequenceInputStream | |
| |
java.lang.constant | |
ConstantDescs | |
| |
ClassDesc | |
| |
| |
| |
MethodHandleDesc | |
MethodTypeDesc | |
| |
java.lang.foreign | |
ValueLayout.OfAddress |
|
Addressable | |
| |
| |
| |
asVariadic(MemoryLayout...) | |
| |
| |
equals(Object) | |
firstVariadicArgumentIndex() | |
hashCode() | |
| |
| |
toString() | |
| |
equals(Object) | |
hashCode() | |
isStruct() | |
isUnion() | |
| |
toString() | |
withBitAlignment(long) | |
| |
| |
downcallHandle(Addressable, FunctionDescriptor) | |
downcallHandle(FunctionDescriptor) | |
downcallType(FunctionDescriptor) | |
upcallStub(MethodHandle, FunctionDescriptor,... | |
upcallType(FunctionDescriptor) | |
MemoryAddress | |
| |
| |
bitAlignment() | |
bitOffset(MemoryLayout.PathElement...) | |
bitOffsetHandle(MemoryLayout.PathElement...) | |
bitSize() | |
| |
| |
| |
isPadding() | |
paddingLayout(long) | |
| |
| |
structLayout(MemoryLayout...) | |
unionLayout(MemoryLayout...) | |
valueLayout(Class, ByteOrder) | |
| |
withBitAlignment(long) | |
| |
address() | |
allocateNative(MemoryLayout, MemorySession) | |
allocateNative(long, MemorySession) | |
allocateNative(long, long, MemorySession) | |
| |
| |
get(ValueLayout.OfAddress, long) | |
| |
| |
| |
| |
| |
| |
| |
| |
getAtIndex(ValueLayout.OfAddress, long) | |
| |
| |
| |
| |
| |
| |
getUtf8String(long) | |
ofAddress(MemoryAddress, long, MemorySession) | |
segmentOffset(MemorySegment) | |
session() | |
set(ValueLayout.OfAddress, long, Addressable) | |
| |
| |
| |
| |
| |
| |
| |
| |
setAtIndex(ValueLayout.OfAddress, long,... | |
| |
| |
| |
| |
| |
| |
setUtf8String(long, String) | |
MemorySession | |
| |
allocate(ValueLayout.OfAddress, Addressable) | |
allocate(ValueLayout.OfByte, byte) | |
allocate(ValueLayout.OfChar, char) | |
allocate(ValueLayout.OfDouble, double) | |
allocate(ValueLayout.OfFloat, float) | |
allocate(ValueLayout.OfInt, int) | |
allocate(ValueLayout.OfLong, long) | |
allocate(ValueLayout.OfShort, short) | |
allocateArray(MemoryLayout, long) | |
allocateArray(ValueLayout.OfByte, byte...) | |
allocateArray(ValueLayout.OfChar, char...) | |
allocateArray(ValueLayout.OfDouble, double...) | |
allocateArray(ValueLayout.OfFloat, float...) | |
allocateArray(ValueLayout.OfInt, int...) | |
allocateArray(ValueLayout.OfLong, long...) | |
allocateArray(ValueLayout.OfShort, short...) | |
allocateUtf8String(String) | |
implicitAllocator() | |
newNativeArena(MemorySession) | |
newNativeArena(long, MemorySession) | |
newNativeArena(long, long, MemorySession) | |
| |
| |
| |
equals(Object) | |
| |
hashCode() | |
| |
toString() | |
withBitAlignment(long) | |
| |
| |
| |
libraryLookup(Path, MemorySession) | |
libraryLookup(String, MemorySession) | |
lookup(String) | |
VaList.Builder | |
VaList | |
| |
withBitAlignment(long) | |
| |
| |
| |
withBitAlignment(long) | |
| |
| |
| |
withBitAlignment(long) | |
| |
| |
| |
withBitAlignment(long) | |
| |
| |
| |
withBitAlignment(long) | |
| |
| |
| |
withBitAlignment(long) | |
| |
| |
| |
withBitAlignment(long) | |
| |
| |
| |
withBitAlignment(long) | |
| |
| |
| |
arrayElementVarHandle(int...) | |
| |
equals(Object) | |
hashCode() | |
| |
toString() | |
withBitAlignment(long) | |
| |
| |
java.lang.invoke | |
ClassSpecializer.Factory | |
ClassSpecializer.SpeciesData | |
| |
| |
| |
| |
| |
| |
| |
memorySegmentViewVarHandle(ValueLayout) | |
| |
VarHandle | |
| |
java.lang.module | |
ModuleDescriptor.Exports | |
ModuleDescriptor.Opens | |
ModuleDescriptor.Requires | |
| |
java.lang.reflect | |
Executable | |
| |
Field | |
| |
Parameter | |
| |
Member | |
java.lang.runtime | |
| |
| |
java.lang | |
Boolean | |
| |
| |
Byte | |
| |
| |
Character.UnicodeBlock | |
Character | |
| |
Class | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Compiler | |
Double | |
| |
| |
FdLibm.Cbrt | |
FdLibm.Hypot | |
FdLibm.Pow | |
Float | |
| |
| |
| |
| |
Integer | |
| |
| |
Long | |
| |
| |
| |
Math | |
ModuleLayer.Controller | |
Module | |
| |
Process | |
| |
| |
SecurityManager | |
| |
Short | |
| |
| |
StrictMath | |
| |
| |
String | |
| |
ThreadGroup | |
allowThreadSuspension(boolean) | |
resume() | |
stop() | |
suspend() | |
Thread | |
countStackFrames() | |
| |
| |
| |
resume() | |
| |
suspend() | |
Character.UnicodeScript | |
StackWalker.Option | |
CharSequence | |
| |
| |
| |
allowSetThreadLocals(boolean) | |
| |
allowSetThreadLocals(boolean) | |
| |
allowSetThreadLocals(boolean) | |
java.net | |
DatagramSocketImpl | |
| |
| |
Inet4Address | |
Inet6Address | |
InetAddress | |
| |
MulticastSocket | |
| |
| |
| |
Socket | |
| |
| |
| |
| |
URL | |
| |
| |
| |
| |
| |
| |
java.nio.channels | |
FileChannel | |
map(FileChannel.MapMode, long, long,... | |
java.nio.charset | |
| |
| |
StandardCharsets | |
java.nio.file.spi | |
FileSystemProvider | |
java.nio.file | |
| |
Path | |
java.nio | |
CharBuffer | |
| |
java.security.interfaces | |
DSAKeyPairGenerator | |
| |
| |
| |
DSAPrivateKey | |
DSAPublicKey | |
ECPrivateKey | |
ECPublicKey | |
EdECPrivateKey | |
EdECPublicKey | |
RSAPrivateKey | |
RSAPublicKey | |
XECPrivateKey | |
XECPublicKey | |
java.security.spec | |
NamedParameterSpec | |
java.security | |
| |
InvalidParameterException | |
| |
| |
| |
| |
java.text | |
ChoiceFormat | |
CompactNumberFormat | |
DecimalFormat | |
MessageFormat | |
NumberFormat | |
SimpleDateFormat | |
java.time | |
Instant | |
java.util.concurrent.locks | |
| |
java.util.concurrent | |
ConcurrentSkipListMap | |
ConcurrentSkipListSet | |
CopyOnWriteArrayList | |
DelayQueue | |
| |
| |
| |
| |
| |
ForkJoinTask | |
ForkJoinWorkerThread | |
java.util.random | |
RandomGenerator | |
java.util.regex | |
Matcher | |
Pattern | |
MatchResult | |
java.util.stream | |
Stream | |
java.util.zip | |
| |
| |
| |
| |
| |
| |
| |
ZipFile | |
ZipInputStream | |
java.util | |
ArrayList | |
| |
| |
| |
Currency | |
| |
IdentityHashMap | |
| |
| |
LinkedList | |
Locale | |
| |
TimeZone | |
TreeMap | |
TreeSet | |
| |
| |
NavigableMap | |
NavigableSet | |
| |
| |
javax.crypto.interfaces | |
DHPrivateKey | |
DHPublicKey | |
javax.crypto.spec | |
javax.crypto | |
javax.net.ssl | |
KeyManagerFactory | |
| |
SSLParameters | |
| |
TrustManagerFactory | |
| |
javax.security.auth | |
| |
| |
java.compiler | |
javax.lang.model.element | |
RecordComponentElement | |
VariableElement | |
javax.lang.model.util | |
ElementScanner6 | |
Elements | |
Types | |
javax.lang.model | |
SourceVersion | |
javax.tools | |
SimpleJavaFileObject | |
java.desktop | |
java.awt.peer | |
WindowPeer | |
repositionSecurityWarning() | |
java.awt | |
| |
KeyboardFocusManager | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Window | |
| |
| |
java.beans.beancontext | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
java.beans | |
Beans | |
| |
| |
| |
javax.print.attribute.standard | |
javax.sound.sampled | |
| |
javax.swing.plaf.basic | |
BasicSliderUI | |
BasicSliderUI() | |
BasicSplitPaneDivider | |
javax.swing.plaf.synth | |
SynthComboBoxUI | |
SynthLookAndFeel | |
load(URL) | |
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 | |
| |
javax.management.loading | |
MLetContent | |
MLet | |
PrivateMLet | |
MLetMBean | |
javax.management.modelmbean | |
DescriptorSupport | |
| |
| |
| |
javax.management.remote | |
| |
JMXConnector | |
| |
javax.management | |
| |
| |
| |
java.naming | |
javax.naming | |
Context | |
APPLET | |
java.net.http | |
java.net.http | |
| |
HttpResponse.BodyHandlers | |
HttpResponse.BodySubscribers | |
HttpResponse | |
java.rmi | |
java.rmi.server | |
RMIClassLoader | |
| |
java.security.jgss | |
javax.security.auth.kerberos | |
| |
| |
java.xml.crypto | |
javax.xml.crypto.dsig | |
SignatureMethod | |
java.xml | |
javax.xml.catalog | |
CatalogManager | |
GroupEntry.ResolveType |
This report is based on simple comparison of all public
and
protected
APIs of the java.*
and javax.*
packages of JDK builds 25-ea+22-2667-open and
19.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.