New APIs in Java 28
Comparing Java 28 (28-ea+2-59-open) with Java 26 (26.0.1+8-tem).
| Element | Modification |
|---|---|
java.base |
|
java.lang.classfile.instruction |
|
IncrementInstruction |
|
java.lang.classfile |
|
ClassFile |
|
java.lang.foreign |
|
MemorySegment |
|
SegmentAllocator |
|
java.lang.reflect |
|
Executable |
|
|
|
Modifier |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ClassFileFormatVersion |
|
java.lang |
|
Math |
|
StrictMath |
|
String |
|
LazyConstant |
|
isInitialized() |
|
orElse(Object) |
|
java.math |
|
BigDecimal |
|
java.security.cert |
|
|
|
|
|
java.security.spec |
|
|
|
|
|
java.security |
|
|
|
KeyStoreSpi |
|
KeyStore |
|
PEMDecoder |
|
decode(InputStream) |
|
decode(InputStream, Class) |
|
decode(String) |
|
decode(String, Class) |
|
withFactory(Provider) |
|
PEMEncoder |
|
encode(DEREncodable) |
|
encodeToString(DEREncodable) |
|
|
|
content() |
|
|
|
equals(Object) |
|
hashCode() |
|
|
|
|
|
DEREncodable |
|
java.time.format |
|
java.util.concurrent |
|
StructuredTaskScope.FailedException |
|
StructuredTaskScope.TimeoutException |
|
ThreadPoolExecutor |
|
finalize() |
|
StructuredTaskScope.Joiner |
|
awaitAll() |
|
onTimeout() |
|
StructuredTaskScope |
|
|
|
java.util |
|
EnumSet |
|
Locale |
|
|
|
|
|
|
|
|
|
Set |
|
javax.crypto |
|
|
|
encrypt(DEREncodable, Key, String,... |
|
encrypt(DEREncodable, char[]) |
|
encrypt(DEREncodable, char[], String,... |
|
getKey(Key, Provider) |
|
getKeyPair(Key, Provider) |
|
java.compiler |
|
javax.lang.model |
|
SourceVersion |
|
java.desktop |
|
java.awt.geom |
|
Arc2D |
|
javax.swing |
|
JEditorPane.JEditorPaneAccessibleHypertextSupport |
|
This report is based on simple comparison of all public and
protected APIs of the Java SE packages of JDK builds
28-ea+2-59-open and 26.0.1+8-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.