New APIs in Java 23
Comparing Java 23 (23-ea+23-1895-open) with Java 22 (22.0.1+8-tem).
Element | Modification |
---|---|
java.base |
|
java.io |
|
ObjectOutputStream.PutField |
|
|
|
java.lang.classfile |
|
|
|
Signature.TypeArg.WildcardIndicator |
|
TypeKind |
|
fromNewArrayCode(int) |
|
|
|
|
|
newarraycode() |
|
ClassFile |
|
ClassSignature |
|
of(List, Signature.RefTypeSig,... |
|
of(Signature.RefTypeSig, Signature.RefTypeSig...) |
|
superclassSignature() |
|
CodeBuilder |
|
|
|
arrayLoadInstruction(TypeKind) |
|
|
|
arrayStoreInstruction(TypeKind) |
|
|
|
branchInstruction(Opcode, Label) |
|
constantInstruction(ConstantDesc) |
|
constantInstruction(Opcode, ConstantDesc) |
|
|
|
convertInstruction(TypeKind, TypeKind) |
|
|
|
|
|
fieldInstruction(Opcode, ClassDesc, String,... |
|
fieldInstruction(Opcode, FieldRefEntry) |
|
incrementInstruction(int, int) |
|
|
|
|
|
instanceof_(ClassDesc) |
|
instanceof_(ClassEntry) |
|
|
|
|
|
invokeDynamicInstruction(DynamicCallSiteDesc) |
|
invokeDynamicInstruction(InvokeDynamicEntry) |
|
invokeInstruction(Opcode, ClassDesc, String,... |
|
invokeInstruction(Opcode, MemberRefEntry) |
|
|
|
|
|
loadInstruction(TypeKind, int) |
|
|
|
lookupSwitchInstruction(Label, List) |
|
monitorInstruction(Opcode) |
|
newMultidimensionalArrayInstruction(int,... |
|
newMultidimensionalArrayInstruction(int,... |
|
newObjectInstruction(ClassDesc) |
|
newObjectInstruction(ClassEntry) |
|
newPrimitiveArrayInstruction(TypeKind) |
|
newReferenceArrayInstruction(ClassDesc) |
|
newReferenceArrayInstruction(ClassEntry) |
|
nopInstruction() |
|
operatorInstruction(Opcode) |
|
returnInstruction(TypeKind) |
|
|
|
stackInstruction(Opcode) |
|
storeInstruction(TypeKind, int) |
|
|
|
tableSwitchInstruction(int, int, Label, List) |
|
throwInstruction() |
|
typeCheckInstruction(Opcode, ClassDesc) |
|
typeCheckInstruction(Opcode, ClassEntry) |
|
|
|
|
|
Signature.TypeArg |
|
boundType() |
|
|
|
|
|
extendsOf(Signature.RefTypeSig) |
|
|
|
of(Signature.RefTypeSig) |
|
of(Signature.TypeArg.WildcardIndicator, Optional) |
|
|
|
superOf(Signature.RefTypeSig) |
|
|
|
unbounded() |
|
wildcardIndicator() |
|
java.lang.foreign |
|
MemorySegment |
|
|
|
SymbolLookup |
|
|
|
java.lang.invoke |
|
StringConcatFactory |
|
MAX_INDY_CONCAT_ARG_SLOTS |
|
makeConcatWithTemplate(List, List) |
|
makeConcatWithTemplateCluster(List, List, int) |
|
makeConcatWithTemplateGetters(List, List, int) |
|
java.lang.reflect |
|
ClassFileFormatVersion |
|
java.lang.runtime |
|
TemplateRuntime |
|
java.lang |
|
ThreadGroup |
|
resume() |
|
stop() |
|
suspend() |
|
Thread |
|
resume() |
|
suspend() |
|
StringTemplate.Processor.Linkage |
|
StringTemplate.Processor |
|
StringTemplate |
|
java.text |
|
ChoiceFormat |
|
|
|
|
|
CompactNumberFormat |
|
|
|
|
|
DecimalFormat |
|
|
|
|
|
MessageFormat |
|
NumberFormat |
|
|
|
|
|
SimpleDateFormat |
|
java.util.zip |
|
Deflater |
|
|
|
|
|
Inflater |
|
|
|
|
|
ZipFile |
|
java.util |
|
FormatProcessor |
|
java.compiler |
|
javax.lang.model.util |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Types |
|
javax.lang.model |
|
SourceVersion |
|
javax.tools |
|
SimpleJavaFileObject |
|
java.desktop |
|
javax.swing.plaf.synth |
|
SynthTreeUI |
|
javax.swing |
|
JScrollBar |
|
java.management.rmi |
|
javax.management.remote.rmi |
|
RMIConnector |
|
getMBeanServerConnection(Subject) |
|
java.management |
|
javax.management.loading |
|
MLetContent |
|
MLet |
|
PrivateMLet |
|
MLetMBean |
|
javax.management.remote |
|
JMXConnector |
|
|
This report is based on simple comparison of all public
and
protected
APIs of the java.*
and javax.*
packages of JDK builds 23-ea+23-1895-open and
22.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.