New APIs in Java 20
Comparing Java 20 (20.0.2+9-tem) with Java 19 (19.0.2+7-tem).
Element | Modification |
---|---|
java.base |
|
java.io |
|
BufferedInputStream |
|
|
|
PushbackInputStream |
|
SequenceInputStream |
|
java.lang.constant |
|
ClassDesc |
|
java.lang.foreign |
|
Addressable |
|
|
|
|
|
|
|
asVariadic(MemoryLayout...) |
|
|
|
|
|
equals(Object) |
|
firstVariadicArgumentIndex() |
|
hashCode() |
|
|
|
|
|
toString() |
|
|
|
equals(Object) |
|
hashCode() |
|
isStruct() |
|
isUnion() |
|
|
|
toString() |
|
|
|
|
|
Linker |
|
downcallHandle(Addressable, FunctionDescriptor) |
|
downcallHandle(FunctionDescriptor) |
|
downcallType(FunctionDescriptor) |
|
upcallStub(MethodHandle, FunctionDescriptor,... |
|
upcallType(FunctionDescriptor) |
|
MemoryAddress |
|
MemoryLayout |
|
isPadding() |
|
paddingLayout(long) |
|
structLayout(MemoryLayout...) |
|
unionLayout(MemoryLayout...) |
|
|
|
address() |
|
allocateNative(MemoryLayout, MemorySession) |
|
allocateNative(long, MemorySession) |
|
allocateNative(long, long, MemorySession) |
|
get(ValueLayout.OfAddress, long) |
|
getAtIndex(ValueLayout.OfAddress, long) |
|
|
|
ofAddress(MemoryAddress, long, MemorySession) |
|
session() |
|
set(ValueLayout.OfAddress, long, Addressable) |
|
setAtIndex(ValueLayout.OfAddress, long,... |
|
MemorySession |
|
SegmentAllocator |
|
allocate(ValueLayout.OfAddress, Addressable) |
|
implicitAllocator() |
|
newNativeArena(MemorySession) |
|
newNativeArena(long, MemorySession) |
|
newNativeArena(long, long, MemorySession) |
|
|
|
|
|
|
|
equals(Object) |
|
|
|
hashCode() |
|
|
|
toString() |
|
|
|
|
|
|
|
SymbolLookup |
|
libraryLookup(Path, MemorySession) |
|
libraryLookup(String, MemorySession) |
|
lookup(String) |
|
VaList.Builder |
|
addVarg(ValueLayout.OfAddress, Addressable) |
|
|
|
address() |
|
make(Consumer, MemorySession) |
|
nextVarg(ValueLayout.OfAddress) |
|
ofAddress(MemoryAddress, MemorySession) |
|
session() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
equals(Object) |
|
hashCode() |
|
|
|
toString() |
|
|
|
|
|
|
|
java.lang.module |
|
ModuleDescriptor.Exports |
|
ModuleDescriptor.Opens |
|
ModuleDescriptor.Requires |
|
ModuleDescriptor |
|
java.lang.reflect |
|
Executable |
|
|
|
Field |
|
Parameter |
|
Member |
|
java.lang |
|
Character.UnicodeBlock |
|
Class |
|
Float |
|
ModuleLayer.Controller |
|
Module |
|
|
|
Character.UnicodeScript |
|
java.net |
|
URL |
|
|
|
|
|
|
|
|
|
|
|
|
|
java.nio.channels |
|
FileChannel |
|
map(FileChannel.MapMode, long, long,... |
|
java.nio.file.spi |
|
FileSystemProvider |
|
java.security.cert |
|
CertStore |
|
|
|
java.security.interfaces |
|
DSAKeyPairGenerator |
|
|
|
|
|
java.security |
|
InvalidParameterException |
|
java.util.concurrent |
|
ForkJoinPool |
|
ForkJoinWorkerThread |
|
java.util.regex |
|
Matcher |
|
Pattern |
|
MatchResult |
|
java.util.zip |
|
ZipInputStream |
|
java.util |
|
IdentityHashMap |
|
javax.net.ssl |
|
SSLParameters |
|
java.compiler |
|
javax.lang.model.util |
|
Elements |
|
javax.lang.model |
|
SourceVersion |
|
java.desktop |
|
javax.swing.plaf.synth |
|
SynthPasswordFieldUI |
|
javax.swing.text |
|
DefaultEditorKit |
|
java.management |
|
javax.management.loading |
|
|
|
|
|
|
|
|
This report is based on simple comparison of all public
and
protected
APIs of the java.*
and javax.*
packages of JDK builds 20.0.2+9-tem 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.