Some Java Historiography
javaalmanac.io

New APIs in Java 16

Comparing Java 16 (build 16.ea.4-open) with Java 9 (build 9.0.4-open).

Element Modification
java.activation
  • removed
java.base
java.io
  • added
ByteArrayInputStream
  • added
  • added
  • added
ByteArrayOutputStream
  • added
  • added
FileInputStream
finalize()
  • removed
FileOutputStream
finalize()
  • removed
FileReader
  • added
  • added
FileWriter
  • added
  • added
  • added
  • added
InputStream
  • added
  • added
  • added
OutputStream
  • added
PrintStream
  • added
  • added
  • added
  • added
  • added
PrintWriter
  • added
  • added
  • added
Reader
  • added
  • added
Writer
  • added
java.lang.annotation
ElementType
  • added
  • added
java.lang.invoke
  • added
  • added
  • added
  • + implements Constable
  • added
MethodHandles.Lookup
  • added
  • added
  • added
  • added
  • + implements TypeDescriptor.OfMethod
  • + implements Constable
  • added
  • added
  • added
  • added
  • + implements Constable
  • added
  • added
  • added
  • added
  • added
  • added
java.lang.ref
Reference
  • added
java.lang.reflect
MalformedParameterizedTypeException
  • added
Modifier
Modifier()
  • removed
  • added
UndeclaredThrowableException
getCause()
  • removed
AnnotatedType
  • added
  • added
  • added
  • added
java.lang
  • + implements Constable
  • added
  • + implements Constable
  • added
Character.UnicodeBlock
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements Constable
  • added
  • added
ClassNotFoundException
getCause()
  • removed
  • + implements TypeDescriptor.OfField
  • + implements Constable
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
  • added
  • + implements Constable
  • added
ExceptionInInitializerError
getCause()
  • removed
FdLibm.Cbrt
FdLibm.Cbrt()
  • removed
FdLibm.Hypot
FdLibm.Hypot()
  • removed
FdLibm.Pow
FdLibm.Pow()
  • removed
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
LiveStackFrame.PrimitiveSlot
LiveStackFrame.PrimitiveSlot()
  • removed
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
Math
  • added
  • added
NullPointerException
  • added
  • added
Runtime.Version
  • added
  • added
  • added
  • added
Runtime
getLocalizedInputStream(InputStream)
  • removed
getLocalizedOutputStream(OutputStream)
  • removed
runFinalizersOnExit(boolean)
  • removed
traceInstructions(boolean)
  • removed
traceMethodCalls(boolean)
  • removed
SecurityManager
inCheck
  • removed
checkAwtEventQueueAccess()
  • removed
checkMemberAccess(Class, int)
  • removed
checkSystemClipboardAccess()
  • removed
checkTopLevelWindow(Object)
  • removed
classDepth(String)
  • removed
classLoaderDepth()
  • removed
currentClassLoader()
  • removed
currentLoadedClass()
  • removed
getInCheck()
  • removed
inClass(String)
  • removed
inClassLoader()
  • removed
  • + implements Constable
  • added
StrictMath
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements Comparable
  • added
  • + implements Comparable
  • added
  • + implements ConstantDesc
  • + implements Constable
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
System
runFinalizersOnExit(boolean)
  • removed
ThreadGroup
  • + forRemoval
  • + forRemoval
  • + forRemoval
Thread
destroy()
  • removed
  • + forRemoval
stop(Throwable)
  • removed
  • + forRemoval
Character.UnicodeScript
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
CharSequence
  • added
  • added
StackWalker.StackFrame
  • added
  • added
java.net
MulticastSocket
supportedOptions()
  • removed
SecureCacheResponse
  • added
ServerSocket
  • added
URLDecoder
  • added
URLEncoder
  • added
java.nio.channels.spi
SelectorProvider
  • added
  • added
java.nio.channels
Channels
  • added
  • added
SelectionKey
  • added
  • added
Selector
  • added
  • added
  • added
ServerSocketChannel
  • added
SocketChannel
  • added
java.nio.file
FileStore
  • added
FileSystems
  • added
  • added
  • added
Files
  • added
  • added
  • added
  • added
  • added
Path
  • added
  • added
java.nio
Buffer
  • added
ByteBuffer
  • added
  • added
  • added
  • added
  • added
  • added
CharBuffer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
DoubleBuffer
  • added
  • added
  • added
  • added
  • added
  • added
FloatBuffer
  • added
  • added
  • added
  • added
  • added
  • added
IntBuffer
  • added
  • added
  • added
  • added
  • added
  • added
LongBuffer
  • added
  • added
  • added
  • added
  • added
  • added
MappedByteBuffer
  • added
ShortBuffer
  • added
  • added
  • added
  • added
  • added
  • added
java.security.acl
  • removed
java.security.interfaces
  • added
  • added
  • added
RSAKey
  • added
  • added
  • added
  • added
java.security.spec
  • - implements AlgorithmParameterSpec
  • - extends Object
  • + extends NamedParameterSpec
getName()
  • removed
  • added
  • added
  • added
  • added
MGF1ParameterSpec
  • added
  • added
  • added
PSSParameterSpec
  • added
  • added
RSAKeyGenParameterSpec
  • added
  • added
RSAMultiPrimePrivateCrtKeySpec
  • added
RSAPrivateCrtKeySpec
  • added
RSAPrivateKeySpec
  • added
  • added
RSAPublicKeySpec
  • added
  • added
  • added
  • added
java.security
  • + forRemoval
  • + forRemoval
PrivilegedActionException
getCause()
  • removed
  • + forRemoval
  • + forRemoval
java.text.spi
NumberFormatProvider
  • added
java.text
  • added
DecimalFormatSymbols
  • added
  • added
NumberFormat.Field
  • added
  • added
NumberFormat
  • added
  • added
  • added
java.time.chrono
JapaneseEra
  • added
HijrahEra
  • added
MinguoEra
  • added
ThaiBuddhistEra
  • added
java.time.format
DateTimeFormatter
  • added
java.util.concurrent.locks
LockSupport
  • added
StampedLock
  • added
  • added
  • added
  • added
java.util.concurrent
CompletableFuture
  • added
  • added
  • added
  • added
  • added
FutureTask
  • added
PriorityBlockingQueue
  • added
  • added
  • added
  • added
TimeUnit
  • added
CompletionStage
  • added
  • added
  • added
  • added
  • added
java.util.function
Predicate
  • added
java.util.jar
JarEntry
  • added
JarFile
  • added
Pack200
  • removed
Pack200.Packer
  • removed
Pack200.Unpacker
  • removed
java.util.regex
Pattern
  • added
java.util.spi
LocaleNameProvider
  • added
  • added
java.util.stream
Collectors
  • added
  • added
  • added
  • added
  • added
java.util.zip
Deflater
  • added
  • added
finalize()
  • removed
  • added
  • added
Inflater
finalize()
  • removed
  • added
  • added
  • added
ZipFile
finalize()
  • removed
java.util
ArrayList
  • added
  • added
DoubleSummaryStatistics
  • added
Formatter
  • added
  • added
  • added
HashSet
  • added
  • added
IntSummaryStatistics
  • added
LongSummaryStatistics
  • added
NoSuchElementException
  • added
  • added
OptionalDouble
  • added
  • added
OptionalInt
  • added
  • added
OptionalLong
  • added
  • added
Optional
  • added
  • added
PriorityQueue
  • added
  • added
  • added
  • added
Properties
  • added
  • added
Scanner
  • added
  • added
  • added
  • added
SplittableRandom
  • added
TreeMap
  • added
  • added
  • added
  • added
  • added
Collection
  • added
List
  • added
Map
  • added
Set
  • added
javax.crypto.spec
  • added
javax.crypto
Cipher
  • added
javax.net.ssl
HandshakeCompletedEvent
  • + forRemoval
HttpsURLConnection
  • added
SSLSession
  • + forRemoval
javax.security.auth
Policy
  • removed
javax.security.cert
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
java.compiler
javax.annotation.processing
ProcessingEnvironment
  • added
javax.lang.model.element
ElementKind
  • added
  • added
  • added
Modifier
  • added
  • added
ElementVisitor
  • added
Element
  • added
ExecutableElement
  • added
ModuleElement
  • added
PackageElement
  • added
  • added
TypeElement
  • added
  • added
  • added
TypeParameterElement
  • added
VariableElement
  • added
javax.lang.model.type
TypeMirror
  • added
  • added
  • added
javax.lang.model.util
  • added
  • added
AbstractElementVisitor6
  • added
  • added
ElementFilter
  • added
  • added
  • added
ElementKindVisitor6
  • added
  • added
  • added
  • added
  • added
  • added
  • added
TypeKindVisitor6
  • added
TypeKindVisitor9
  • added
Elements
  • added
javax.lang.model
SourceVersion
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.tools
ToolProvider
  • + forRemoval
StandardJavaFileManager
  • added
java.corba
  • removed
java.desktop
java.awt.geom
Path2D.Double
  • added
Path2D.Float
  • added
Path2D
  • added
java.awt.peer
ComponentPeer
checkImage(Image, int, int, ImageObserver)
  • removed
createImage(ImageProducer)
  • removed
prepareImage(Image, int, int, ImageObserver)
  • removed
MenuPeer
addSeparator()
  • removed
RobotPeer
dispose()
  • removed
java.awt
  • + implements Serializable
  • + implements Serializable
  • + implements Serializable
Toolkit
  • added
javax.print.attribute.standard
  • added
javax.swing.filechooser
FileSystemView
  • added
javax.swing.plaf.basic
BasicMenuUI
  • added
javax.swing
DefaultComboBoxModel
  • added
  • added
DefaultListModel
  • added
  • added
ButtonModel
  • added
ListSelectionModel
  • added
  • added
java.management.rmi
javax.management.remote.rmi
RMIConnectorServer
  • added
CREDENTIAL_TYPES
  • removed
  • added
java.management
java.lang.management
RuntimeMXBean
  • added
ThreadMXBean
  • added
  • added
java.naming
  • added
  • added
java.rmi
java.rmi.activation
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
java.security.jgss
javax.security.auth.kerberos
KerberosPrincipal
  • added
java.sql
javax.transaction.xa
  • removed
  • added
java.transaction
  • removed
java.xml.bind
  • removed
java.xml.crypto
javax.xml.crypto.dsig.keyinfo
KeyValue
  • added
javax.xml.crypto.dsig
CanonicalizationMethod
  • added
  • added
DigestMethod
  • added
  • added
  • added
  • added
  • added
  • added
SignatureMethod
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.xml.ws.annotation
  • removed
java.xml.ws
  • removed
java.xml
javax.xml.parsers
DocumentBuilderFactory
  • added
  • added
  • added
SAXParserFactory
  • added
  • added
  • added
Data Source

This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 16.ea.4-open and 9.0.4-open. It does not make statements about compatibility.

More detailed API comparisons based on the japicmp tool can be found here.