New APIs in Java 16
Comparing Java 16 (16.0.2+7-tem) with Java 15 (15.0.2+7-adpt).
Element | Modification |
---|---|
java.base |
|
java.lang.annotation |
|
ElementType |
|
|
|
java.lang.invoke |
|
MethodHandles.Lookup |
|
MethodHandles |
|
VarHandle |
|
java.lang.ref |
|
Reference |
|
|
|
java.lang.reflect |
|
|
|
InvocationHandler |
|
java.lang.runtime |
|
|
|
java.lang |
|
Boolean |
|
|
|
|
|
Byte |
|
|
|
|
|
Character |
|
|
|
Class |
|
|
|
|
|
permittedSubclasses() |
|
Double |
|
|
|
|
|
Float |
|
|
|
|
|
|
|
IndexOutOfBoundsException |
|
Integer |
|
|
|
|
|
Long |
|
|
|
|
|
|
|
Short |
|
|
|
|
|
ThreadGroup |
|
|
|
|
|
|
|
|
|
|
|
java.net |
|
URLDecoder |
|
|
|
StandardProtocolFamily |
|
java.nio |
|
ByteBuffer |
|
CharBuffer |
|
DoubleBuffer |
|
FloatBuffer |
|
IntBuffer |
|
LongBuffer |
|
ShortBuffer |
|
java.security.cert |
|
X509CRLSelector |
|
|
|
X509CRL |
|
|
|
X509CertSelector |
|
|
|
|
|
|
|
|
|
X509Certificate |
|
|
|
|
|
java.security.spec |
|
MGF1ParameterSpec |
|
|
|
java.time.format |
|
DateTimeFormatterBuilder |
|
java.util.stream |
|
DoubleStream |
|
IntStream |
|
LongStream |
|
Stream |
|
java.util |
|
Objects |
|
java.compiler |
|
javax.lang.model.element |
|
ElementKind |
|
|
|
|
|
|
|
ElementVisitor |
|
|
|
|
|
TypeElement |
|
|
|
javax.lang.model.util |
|
|
|
ElementFilter |
|
|
|
|
|
|
|
ElementKindVisitor6 |
|
|
|
|
|
|
|
Elements |
|
|
|
javax.lang.model |
|
SourceVersion |
|
javax.tools |
|
ToolProvider |
|
ToolProvider() |
|
java.desktop |
|
java.awt.color |
|
ICC_Profile |
|
|
|
java.awt.dnd |
|
DragSourceAdapter |
|
|
|
DropTargetAdapter |
|
|
|
java.awt.event |
|
ComponentAdapter |
|
|
|
ContainerAdapter |
|
|
|
FocusAdapter |
|
|
|
HierarchyBoundsAdapter |
|
|
|
KeyAdapter |
|
|
|
MouseAdapter |
|
|
|
MouseMotionAdapter |
|
|
|
WindowAdapter |
|
|
|
java.awt.font |
|
GlyphVector |
|
|
|
LayoutPath |
|
|
|
LineMetrics |
|
|
|
java.awt.image |
|
AbstractMultiResolutionImage |
|
|
|
BufferStrategy |
|
|
|
ColorModel |
|
|
|
IndexColorModel |
|
|
|
RGBImageFilter |
|
|
|
VolatileImage |
|
|
|
java.awt.peer |
|
RobotPeer |
|
|
|
java.awt |
|
FocusTraversalPolicy |
|
|
|
Image |
|
|
|
PrintJob |
|
|
|
Toolkit |
|
|
|
java.beans |
|
PersistenceDelegate |
|
|
|
javax.accessibility |
|
AccessibleContext |
|
|
|
AccessibleHyperlink |
|
|
|
javax.print.event |
|
PrintJobAdapter |
|
|
|
javax.print |
|
PrintServiceLookup |
|
|
|
ServiceUIFactory |
|
|
|
StreamPrintServiceFactory |
|
|
|
javax.sound.midi.spi |
|
MidiDeviceProvider |
|
|
|
MidiFileReader |
|
|
|
MidiFileWriter |
|
|
|
SoundbankReader |
|
|
|
javax.sound.sampled.spi |
|
AudioFileReader |
|
|
|
AudioFileWriter |
|
|
|
FormatConversionProvider |
|
|
|
MixerProvider |
|
|
|
javax.swing.border |
|
AbstractBorder |
|
|
|
javax.swing.colorchooser |
|
AbstractColorChooserPanel |
|
|
|
javax.swing.event |
|
InternalFrameAdapter |
|
|
|
MouseInputAdapter |
|
|
|
javax.swing.filechooser |
|
FileFilter |
|
|
|
FileView |
|
|
|
javax.swing.plaf.basic |
|
BasicLookAndFeel |
|
|
|
BasicRadioButtonUI |
|
installListeners(AbstractButton) |
|
uninstallListeners(AbstractButton) |
|
BasicSliderUI |
|
javax.swing.plaf.metal |
|
MetalTheme |
|
|
|
javax.swing.plaf.synth |
|
SynthDesktopIconUI |
|
|
|
SynthPainter |
|
|
|
javax.swing.plaf |
|
ButtonUI |
|
|
|
ColorChooserUI |
|
|
|
ComboBoxUI |
|
|
|
DesktopIconUI |
|
|
|
DesktopPaneUI |
|
|
|
FileChooserUI |
|
|
|
InternalFrameUI |
|
|
|
LabelUI |
|
|
|
ListUI |
|
|
|
MenuBarUI |
|
|
|
MenuItemUI |
|
|
|
OptionPaneUI |
|
|
|
PanelUI |
|
|
|
PopupMenuUI |
|
|
|
ProgressBarUI |
|
|
|
RootPaneUI |
|
|
|
ScrollBarUI |
|
|
|
ScrollPaneUI |
|
|
|
SeparatorUI |
|
|
|
SliderUI |
|
|
|
SpinnerUI |
|
|
|
SplitPaneUI |
|
|
|
TabbedPaneUI |
|
|
|
TableHeaderUI |
|
|
|
TableUI |
|
|
|
TextUI |
|
|
|
ToolBarUI |
|
|
|
ToolTipUI |
|
|
|
TreeUI |
|
|
|
ViewportUI |
|
|
|
javax.swing.table |
|
AbstractTableModel |
|
|
|
TableStringConverter |
|
|
|
javax.swing.text.html |
|
HTMLDocument.Iterator |
|
|
|
HTMLEditorKit.Parser |
|
|
|
javax.swing.text |
|
DefaultTextUI |
|
|
|
DocumentFilter.FilterBypass |
|
|
|
GlyphView.GlyphPainter |
|
|
|
LayeredHighlighter.LayerPainter |
|
|
|
LayeredHighlighter |
|
|
|
NavigationFilter.FilterBypass |
|
|
|
javax.swing.tree |
|
AbstractLayoutCache.NodeDimensions |
|
|
|
AbstractLayoutCache |
|
|
|
javax.swing |
|
AbstractButton |
|
|
|
AbstractCellEditor |
|
|
|
AbstractListModel |
|
|
|
AbstractSpinnerModel |
|
|
|
FocusManager |
|
|
|
InputVerifier |
|
|
|
InternalFrameFocusTraversalPolicy |
|
|
|
JFormattedTextField.AbstractFormatterFactory |
|
|
|
JFormattedTextField.AbstractFormatter |
|
|
|
JPasswordField |
|
|
|
|
|
LookAndFeel |
|
|
|
RowFilter |
|
|
|
java.logging |
|
java.util.logging |
|
LogRecord |
|
|
|
|
|
java.management |
|
javax.management.relation |
|
RoleStatus |
|
|
|
java.net.http |
|
java.net.http |
|
HttpRequest.BodyPublishers |
|
HttpRequest |
|
This report is based on simple comparison of all public
and
protected
APIs of the java.*
and javax.*
packages of JDK builds 16.0.2+7-tem and
15.0.2+7-adpt. 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.