Some Java Historiography
javaalmanac.io

New APIs in Java 9

Comparing Java 9 (build 9.0.4-open) with Java 8 (build 8.0.242.hs-adpt).

Element Modification
  • added
java.awt.dnd
DragSourceContext
  • added
DragSourceContext(DragSourceContextPeer,...
  • removed
DragSource
  • added
createDragSourceContext(DragSourceContextPeer,...
  • removed
DropTargetContext
addNotify(DropTargetContextPeer)
  • removed
removeNotify()
  • removed
DropTarget
  • added
addNotify(ComponentPeer)
  • removed
  • added
removeNotify(ComponentPeer)
  • removed
java.awt.event
FocusEvent
  • added
  • added
  • added
java.awt.font
TextLayout
equals(Object)
  • removed
hashCode()
  • removed
NumericShaper.Range
  • added
  • added
java.awt.image
  • added
  • added
ComponentColorModel
  • added
IndexColorModel
  • added
  • added
PackedColorModel
  • added
  • added
java.awt.peer
ComponentPeer
requestFocus(Component, boolean, boolean, long,...
  • removed
  • added
DesktopPeer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.awt
Component
getPeer()
  • removed
  • added
  • added
  • added
  • added
Desktop
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
DisplayMode
  • added
FileDialog
  • added
Font
  • added
  • added
getPeer()
  • removed
  • added
MenuComponent
getPeer()
  • removed
RenderingHints
  • added
  • added
  • added
  • added
  • added
Robot
  • added
  • added
Toolkit
createButton(Button)
  • removed
createCanvas(Canvas)
  • removed
createCheckbox(Checkbox)
  • removed
createCheckboxMenuItem(CheckboxMenuItem)
  • removed
createChoice(Choice)
  • removed
createComponent(Component)
  • removed
createDesktopPeer(Desktop)
  • removed
createDialog(Dialog)
  • removed
createDragSourceContextPeer(DragGestureEvent)
  • removed
createFileDialog(FileDialog)
  • removed
createFrame(Frame)
  • removed
createLabel(Label)
  • removed
createList(List)
  • removed
createMenu(Menu)
  • removed
createMenuBar(MenuBar)
  • removed
createMenuItem(MenuItem)
  • removed
createPanel(Panel)
  • removed
createPopupMenu(PopupMenu)
  • removed
createScrollPane(ScrollPane)
  • removed
createScrollbar(Scrollbar)
  • removed
createTextArea(TextArea)
  • removed
createTextField(TextField)
  • removed
createWindow(Window)
  • removed
getFontPeer(String, int)
  • removed
getMouseInfoPeer()
  • removed
Desktop.Action
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.beans
  • added
  • added
java.io
InputStream
  • added
  • added
  • added
  • added
ObjectInputStream
  • added
  • added
OutputStreamWriter
  • added
  • added
  • added
  • added
  • added
ObjectStreamConstants
  • added
java.lang.annotation
ElementType
  • added
java.lang.instrument
  • added
ClassFileTransformer
  • added
Instrumentation
  • added
  • added
java.lang.invoke
LambdaMetafactory
LambdaMetafactory()
  • removed
MethodHandle
  • added
  • added
  • added
MethodHandles.Lookup
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
MethodHandles
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.lang.management
ThreadInfo
  • added
  • added
  • added
java.lang.ref
  • added
Reference
  • added
  • added
java.lang.reflect
AccessibleObject
  • added
  • - throws SecurityException
  • - throws SecurityException
  • added
Constructor
  • added
Field
  • added
  • added
Method
  • added
Proxy
  • - throws IllegalArgumentException
AnnotatedArrayType
  • added
AnnotatedParameterizedType
  • added
AnnotatedTypeVariable
  • added
AnnotatedType
  • added
AnnotatedWildcardType
  • added
java.lang
Deprecated
  • added
  • added
Byte
  • 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
MRO
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Character
  • added
  • added
  • added
  • added
  • added
ClassLoader
  • added
  • - throws IllegalArgumentException
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Class
  • added
  • added
  • added
  • + forRemoval
  • added
  • added
  • added
  • added
IndexOutOfBoundsException
  • added
Integer
  • added
  • added
  • added
  • added
Long
  • added
  • added
Math
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • - extends Object
  • + extends NamedPackage
ProcessBuilder.Redirect
  • added
ProcessBuilder
  • added
Process
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Runtime
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • added
SecurityManager
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
  • + forRemoval
Short
  • added
StackTraceElement
  • added
  • added
  • added
  • added
  • added
StrictMath
  • added
  • added
  • added
  • added
  • added
  • added
  • added
String
  • added
  • added
  • added
System
  • added
  • added
  • + forRemoval
Thread
  • added
  • + forRemoval
  • + forRemoval
  • added
  • + forRemoval
  • added
  • added
Character.UnicodeScript
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
MRO
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.math
BigDecimal
  • added
BigInteger
TWO
  • added
  • added
  • added
  • added
  • added
  • added
java.net
Authenticator
  • added
  • added
  • added
DatagramSocketImpl
  • added
  • added
  • added
DatagramSocket
  • added
  • added
  • added
HttpURLConnection
  • added
MulticastSocket
  • added
NetworkInterface
  • added
  • added
  • added
ProxySelector
  • added
ServerSocket
  • added
  • added
  • added
SocketImpl
  • added
  • added
  • added
Socket
  • added
  • added
  • added
StandardSocketOptions
  • added
URLClassLoader
  • added
  • added
  • - throws IllegalArgumentException
URLConnection
  • added
  • added
SocketOptions
  • added
java.nio
Buffer
  • added
  • added
ByteBuffer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
CharBuffer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
DoubleBuffer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
FloatBuffer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
IntBuffer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
LongBuffer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
MappedByteBuffer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
ShortBuffer
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.rmi.server
UnicastRemoteObject
  • added
  • added
java.security.cert
  • added
java.security.spec
EncodedKeySpec
  • added
  • added
PKCS8EncodedKeySpec
  • added
X509EncodedKeySpec
  • added
java.security
AuthProvider
  • added
  • added
  • added
  • added
  • added
KeyStore.Builder
  • added
KeyStoreSpi
  • added
KeyStore
  • added
  • added
PermissionCollection
  • added
ProtectionDomain
  • added
Provider
  • added
  • added
  • added
  • added
SecureClassLoader
  • added
SecureRandomSpi
  • added
  • added
  • added
  • added
  • added
SecureRandom
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.sql
DriverManager
  • added
  • added
Connection
  • added
  • added
  • added
  • added
  • added
  • added
DatabaseMetaData
  • added
  • added
  • added
Statement
  • added
  • added
  • added
  • added
java.time.chrono
IsoChronology
  • added
Chronology
  • added
  • added
java.time.format
DateTimeFormatterBuilder
  • added
  • added
java.time
Clock
  • added
Duration
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
LocalDate
  • added
  • added
  • added
  • added
getEra()
  • removed
  • added
  • added
LocalTime
  • added
  • added
OffsetTime
  • added
java.util.concurrent.atomic
AtomicBoolean
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
AtomicIntegerArray
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
AtomicInteger
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
AtomicLongArray
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
AtomicLong
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
AtomicReferenceArray
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
AtomicReference
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.util.concurrent
ArrayBlockingQueue
  • added
  • added
  • added
  • added
CompletableFuture
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
ConcurrentLinkedDeque
  • added
  • added
  • added
  • added
  • added
ConcurrentLinkedQueue
  • added
  • added
  • added
  • added
  • added
  • added
  • added
ForkJoinPool
  • added
ForkJoinTask
  • added
LinkedBlockingDeque
  • added
  • added
  • added
  • added
  • added
LinkedBlockingQueue
  • added
  • added
  • added
  • added
LinkedTransferQueue
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
SynchronousQueue
  • added
TimeUnit
  • added
  • added
  • added
  • added
  • added
  • added
java.util.jar
Attributes.Name
  • added
JarFile
  • added
  • added
  • added
  • added
  • added
Pack200.Packer
addPropertyChangeListener(PropertyChangeListener)
  • removed
removePropertyChangeListener(PropertyChangeListene...
  • removed
Pack200.Unpacker
addPropertyChangeListener(PropertyChangeListener)
  • removed
removePropertyChangeListener(PropertyChangeListene...
  • removed
java.util.logging
FileHandler
  • added
LogManager
  • added
addPropertyChangeListener(PropertyChangeListener)
  • removed
  • added
removePropertyChangeListener(PropertyChangeListene...
  • removed
  • added
  • added
LogRecord
  • added
  • added
Logger
  • added
  • added
java.util.regex
Matcher
  • added
  • added
  • added
  • added
  • added
java.util.spi
  • added
  • added
  • added
java.util.stream
Collectors
  • added
  • added
DoubleStream
  • added
  • added
  • added
IntStream
  • added
  • added
  • added
LongStream
  • added
  • added
  • added
Stream
  • added
  • added
  • added
  • added
java.util.zip
Adler32
update(byte[])
  • removed
  • added
CRC32
update(byte[])
  • removed
ZipEntry
  • added
  • added
Checksum
  • added
  • added
java.util
ArrayDeque
  • added
  • added
  • added
  • added
  • added
Arrays
  • 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
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Currency
  • added
Locale.LanguageRange
  • added
Locale
  • added
Objects
  • added
  • added
  • added
  • added
  • added
OptionalDouble
  • added
  • added
OptionalInt
  • added
  • added
OptionalLong
  • added
  • added
Optional
  • added
  • added
  • added
Properties
  • 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
ResourceBundle
  • added
  • added
Scanner
  • added
  • added
  • added
ServiceLoader
  • added
  • added
  • added
  • added
Deque
  • added
Enumeration
  • added
List
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Map
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Set
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.accessibility
  • added
javax.annotation.processing
  • added
RoundEnvironment
  • added
  • added
javax.crypto
ExemptionMechanism
finalize()
  • removed
  • added
javax.lang.model.element
  • added
ElementKind
  • added
  • added
ElementVisitor
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.lang.model.type
TypeKind
  • added
javax.lang.model.util
  • added
AbstractElementVisitor6
  • added
  • added
  • added
ElementFilter
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Elements
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.lang.model
SourceVersion
  • added
  • added
  • added
javax.management.remote.rmi
RMIConnectorServer
  • added
_RMIConnectionImpl_Tie
  • removed
_RMIConnection_Stub
  • removed
_RMIServerImpl_Tie
  • removed
_RMIServer_Stub
  • removed
javax.management
  • added
javax.naming
CompoundName
impl
  • removed
javax.net.ssl
ExtendedSSLSession
  • added
SSLEngineResult
  • added
  • added
SSLEngine
  • added
  • added
  • added
  • added
SSLParameters
  • added
  • added
  • added
  • added
  • added
  • added
SSLSocket
  • added
  • added
  • added
  • added
SSLEngineResult.HandshakeStatus
  • added
javax.security.auth.kerberos
  • added
  • added
  • - implements Destroyable
javax.sql
CommonDataSource
  • added
ConnectionPoolDataSource
  • added
  • added
  • added
  • added
  • added
DataSource
  • added
  • added
  • added
  • added
  • added
  • added
  • added
XADataSource
  • added
  • added
  • added
  • added
  • added
javax.swing.colorchooser
AbstractColorChooserPanel
  • added
  • added
  • added
javax.swing.filechooser
FileSystemView
  • added
  • added
  • added
javax.swing.plaf.basic
BasicGraphicsUtils
  • added
  • added
  • added
  • added
BasicTextUI
  • added
  • added
javax.swing.plaf.metal
MetalBorders.ToolBarBorder
bumps
  • removed
MetalFileChooserUI
createDirectoryComboBoxRenderer(JFileChooser)
  • removed
MetalScrollBarUI
bumps
  • removed
javax.swing.plaf.multi
MultiTextUI
  • added
  • added
javax.swing.plaf.synth
SynthGraphicsUtils
  • added
  • added
  • added
  • added
javax.swing.plaf
LayerUI
  • added
TextUI
  • added
  • added
  • added
javax.swing.table
JTableHeader
  • added
javax.swing.text
JTextComponent
  • added
  • added
PasswordView
  • added
  • added
  • added
PlainView
  • added
  • added
  • added
TableView.TableRow
  • added
  • added
  • added
  • added
Utilities
  • added
  • added
  • added
  • added
  • added
  • added
WrappedPlainView
  • added
  • added
  • added
javax.swing
  • added
InputVerifier
  • added
  • added
JColorChooser
  • added
JComponent
  • added
JFrame
EXIT_ON_CLOSE
  • removed
JLayer
  • added
  • added
  • + implements AccessibleAction
  • added
  • added
  • added
  • added
JRootPane
defaultPressAction
  • removed
defaultReleaseAction
  • removed
JSpinner.NumberEditor
  • added
JToggleButton
  • added
  • added
PopupFactory
  • added
UIManager
  • added
Action
  • added
  • added
javax.tools
ForwardingJavaFileManager
  • added
  • added
  • added
  • added
  • added
  • added
ToolProvider
  • added
StandardLocation
  • added
  • added
  • added
  • added
  • added
  • added
  • added
DocumentationTool.DocumentationTask
  • added
JavaCompiler.CompilationTask
  • added
JavaFileManager.Location
  • added
JavaFileManager
  • added
  • added
  • added
  • added
  • added
  • added
  • added
StandardJavaFileManager
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Tool
  • added
javax.xml.bind
  • added
  • added
javax.xml.crypto
  • + implements Iterable
javax.xml.datatype
DatatypeFactory
  • added
javax.xml.parsers
DocumentBuilderFactory
  • added
SAXParserFactory
  • added
javax.xml.stream
XMLEventFactory
  • added
XMLInputFactory
  • added
XMLOutputFactory
  • added
javax.xml.transform.dom
DOMSource
  • added
javax.xml.transform.sax
SAXSource
  • added
javax.xml.transform.stax
StAXSource
  • added
javax.xml.transform.stream
StreamSource
  • added
javax.xml.transform
TransformerFactory
  • added
Source
  • added
javax.xml.validation
SchemaFactory
  • added
javax.xml.ws.spi
Provider
JAXWSPROVIDER_PROPERTY
  • removed
javax.xml.xpath
XPathFactory
  • added
  • added
  • added
XPathExpression
  • added
  • added
  • added
  • added
  • added
XPath
  • added
  • added
  • added
  • added
javax.xml
XMLConstants
  • 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 9.0.4-open and 8.0.242.hs-adpt. It does not make statements about compatibility.

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