Some Java Historiography
javaalmanac.io

New APIs in Java 7

Comparing Java 7 (build 1.7.0_80-oracle) with Java 6 (build 1.6.0_45-oracle).

Element Modification
java.applet
Applet
  • added
java.awt.event
InputEvent
  • added
InvocationEvent
  • added
KeyEvent
  • added
  • added
MouseEvent
  • added
MouseWheelEvent
  • added
  • added
java.awt.font
NumericShaper
  • added
  • added
  • added
  • added
  • added
  • added
java.awt.geom
Arc2D
  • added
java.awt.peer
CanvasPeer
  • added
ChoicePeer
addItem(String, int)
  • removed
ComponentPeer
disable()
  • removed
enable()
  • removed
getBounds()
  • removed
hide()
  • removed
minimumSize()
  • removed
preferredSize()
  • removed
repaint(long, int, int, int, int)
  • removed
reshape(int, int, int, int)
  • removed
  • added
show()
  • removed
  • added
ContainerPeer
insets()
  • removed
isPaintPending()
  • removed
isRestackSupported()
  • removed
restack()
  • removed
ListPeer
addItem(String, int)
  • removed
clear()
  • removed
minimumSize(int)
  • removed
preferredSize(int)
  • removed
setMultipleSelections(boolean)
  • removed
MenuItemPeer
disable()
  • removed
enable()
  • removed
TextAreaPeer
insertText(String, int)
  • removed
minimumSize(int, int)
  • removed
preferredSize(int, int)
  • removed
replaceText(String, int, int)
  • removed
TextComponentPeer
filterEvents(long)
  • removed
getCharacterBounds(int)
  • removed
getIndexAtPoint(int, int)
  • removed
TextFieldPeer
minimumSize(int)
  • removed
preferredSize(int)
  • removed
setEchoCharacter(char)
  • removed
WindowPeer
requestWindowFocus()
  • removed
java.awt
Component
  • added
Container
  • added
transferFocusBackward()
  • removed
Dialog
  • added
  • added
  • added
EventQueue
  • added
FileDialog
  • added
  • added
  • added
Font
finalize()
  • removed
Frame
  • added
  • added
  • added
GraphicsConfiguration
  • added
GraphicsDevice
  • added
SystemColor
createContext(ColorModel, Rectangle, Rectangle2D,...
  • removed
getRGB()
  • removed
Toolkit
  • added
Window
  • added
getGraphicsConfiguration()
  • removed
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.beans
  • added
Expression
  • added
FeatureDescriptor
  • added
Introspector
  • added
PropertyChangeEvent
  • added
  • + implements AutoCloseable
  • added
  • added
  • + implements AutoCloseable
  • added
java.io
File
  • added
  • + implements AutoCloseable
  • + implements AutoCloseable
  • + implements AutoCloseable
  • added
java.lang.management
ManagementFactory
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements PlatformManagedObject
  • + implements PlatformManagedObject
  • + implements PlatformManagedObject
  • + implements PlatformManagedObject
  • + implements PlatformManagedObject
  • + implements PlatformManagedObject
  • added
  • added
  • + implements PlatformManagedObject
  • + implements PlatformManagedObject
java.lang.reflect
  • - extends Exception
  • + extends ReflectiveOperationException
Modifier
  • added
  • added
  • added
  • added
  • added
java.lang
  • added
AssertionError
  • added
Boolean
  • 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
  • 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
NKO
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
VAI
  • added
  • added
  • added
Character
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
ClassLoader
  • added
  • added
  • - extends Exception
  • + extends ReflectiveOperationException
  • added
Error
  • added
Exception
  • added
  • - extends Exception
  • + extends ReflectiveOperationException
  • - extends Exception
  • + extends ReflectiveOperationException
Integer
  • added
LinkageError
  • added
Long
  • added
  • - extends Exception
  • + extends ReflectiveOperationException
  • - extends Exception
  • + extends ReflectiveOperationException
  • added
ProcessBuilder
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
RuntimeException
  • added
Short
  • added
System
  • added
Throwable
  • added
  • added
  • added
  • added
  • added
  • added
java.net
  • + implements Closeable
HttpCookie
  • added
  • added
HttpURLConnection
  • added
  • added
InetAddress
  • added
InetSocketAddress
  • added
NetworkInterface
  • added
  • added
  • + implements Closeable
  • + implements Closeable
  • added
  • + implements Closeable
  • added
  • added
URLConnection
  • added
  • added
  • added
  • added
  • added
java.nio.channels.spi
  • added
SelectorProvider
  • added
java.nio.channels
  • added
  • added
  • added
  • added
  • added
  • added
Channels
  • added
  • added
  • + implements MulticastChannel
  • added
  • added
  • added
  • added
  • - implements ByteChannel
  • + implements SeekableByteChannel
  • added
  • added
  • + implements AutoCloseable
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements Closeable
  • + implements NetworkChannel
  • added
  • added
  • added
  • added
  • + implements NetworkChannel
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
java.nio.charset
  • added
  • added
  • added
  • added
java.nio
CharBuffer
  • added
subSequence(int, int)
  • removed
java.security.cert
CertPathValidatorException
  • added
  • added
  • added
X509CRLEntry
  • added
  • added
  • added
  • added
  • added
  • added
java.security
  • added
  • added
java.sql
Timestamp
  • added
  • added
CallableStatement
  • added
  • added
  • + implements AutoCloseable
  • added
  • added
  • added
  • added
  • added
DatabaseMetaData
  • added
  • added
Driver
  • added
  • + implements AutoCloseable
  • added
  • added
  • + implements AutoCloseable
  • added
  • added
java.util.concurrent.locks
AbstractQueuedLongSynchronizer
  • added
AbstractQueuedSynchronizer
  • added
java.util.concurrent
  • added
ConcurrentLinkedQueue
  • added
  • added
  • added
  • added
LinkedBlockingQueue
  • added
  • added
  • added
  • added
  • added
ScheduledThreadPoolExecutor
  • added
remove(Runnable)
  • removed
  • added
  • added
ThreadPoolExecutor
  • added
  • added
  • added
  • added
java.util.logging
Logger
  • added
java.util.regex
Matcher
  • added
Pattern
  • added
java.util.spi
CurrencyNameProvider
  • added
LocaleNameProvider
  • added
java.util.zip
DeflaterOutputStream
  • added
  • added
  • added
  • added
Deflater
  • added
  • added
  • added
  • added
GZIPOutputStream
  • added
  • added
  • + implements Closeable
  • added
  • added
  • added
  • added
ZipInputStream
  • added
ZipOutputStream
  • added
java.util
ArrayList
  • added
  • added
  • added
  • added
  • added
  • added
BitSet
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
Calendar
  • added
  • added
  • added
  • added
Collections
  • added
  • added
  • added
ConcurrentModificationException
  • added
  • added
Currency
  • added
  • added
  • added
  • added
EnumMap
  • added
GregorianCalendar
  • added
  • added
  • added
  • added
  • added
  • added
Locale
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • + implements Closeable
  • added
  • added
SimpleTimeZone
  • added
TimeZone
  • added
Vector
  • added
  • added
  • added
  • added
javax.annotation
Resource
  • added
javax.crypto.spec
  • added
javax.crypto
  • added
CipherSpi
  • added
  • added
Cipher
  • added
  • added
  • added
javax.imageio.metadata
IIOMetadataNode
  • + throws DOMException
  • + throws DOMException
  • - throws DOMException
  • + throws DOMException
  • + throws DOMException
  • + throws DOMException
  • + throws DOMException
  • + throws DOMException
  • + throws DOMException
  • + throws DOMException
  • - throws DOMException
  • + throws DOMException
javax.imageio.stream
  • + implements Closeable
javax.lang.model.element
  • - extends RuntimeException
  • + extends UnknownEntityException
  • - extends RuntimeException
  • + extends UnknownEntityException
ElementKind
  • added
  • + implements Parameterizable
  • added
  • + implements QualifiedNameable
  • added
  • added
  • added
  • added
  • + implements Parameterizable
  • + implements QualifiedNameable
  • added
  • added
  • added
TypeParameterElement
  • added
javax.lang.model.type
  • - extends RuntimeException
  • + extends MirroredTypesException
  • - extends RuntimeException
  • + extends UnknownEntityException
TypeKind
  • added
TypeVisitor
  • added
  • added
javax.lang.model.util
  • added
  • added
AbstractTypeVisitor6
  • added
  • added
ElementKindVisitor6
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.lang.model
  • added
SourceVersion
  • added
javax.management
MBeanServerNotification
  • added
ObjectName
  • - throws NullPointerException
  • - throws NullPointerException
  • - throws NullPointerException
  • - throws NullPointerException
  • - throws NullPointerException
  • - throws NullPointerException
  • - throws NullPointerException
  • - throws NullPointerException
  • - throws NullPointerException
  • - throws IllegalArgumentException
  • - throws NullPointerException
  • - throws IllegalArgumentException
  • - throws NullPointerException
javax.net.ssl
  • added
SSLEngine
  • added
SSLParameters
  • added
  • added
  • added
  • added
SSLServerSocket
  • added
  • added
SSLSocket
  • added
  • added
javax.print.attribute.standard
  • added
javax.rmi.ssl
SslRMIServerSocketFactory
  • added
javax.security.auth.kerberos
  • added
javax.sound.midi
MetaMessage
  • added
ShortMessage
  • added
  • added
  • added
SysexMessage
  • added
  • added
  • added
  • added
  • + implements AutoCloseable
  • + implements AutoCloseable
  • + implements AutoCloseable
javax.sound.sampled
AudioFormat.Encoding
  • added
  • + implements AutoCloseable
javax.sql.rowset
  • added
  • added
javax.sql
CommonDataSource
  • added
javax.swing.border
BevelBorder
getBorderInsets(Component)
  • removed
CompoundBorder
getBorderInsets(Component)
  • removed
EmptyBorder
getBorderInsets(Component)
  • removed
EtchedBorder
getBorderInsets(Component)
  • removed
LineBorder
getBorderInsets(Component)
  • removed
MatteBorder
getBorderInsets(Component)
  • removed
SoftBevelBorder
getBorderInsets(Component)
  • removed
  • added
TitledBorder
getBorderInsets(Component)
  • removed
javax.swing.event
HyperlinkEvent
  • added
  • added
javax.swing.plaf.basic
BasicBorders.ButtonBorder
getBorderInsets(Component)
  • removed
BasicBorders.FieldBorder
getBorderInsets(Component)
  • removed
BasicBorders.MarginBorder
getBorderInsets(Component)
  • removed
BasicBorders.MenuBarBorder
getBorderInsets(Component)
  • removed
BasicBorders.RadioButtonBorder
getBorderInsets(Component)
  • removed
BasicBorders.ToggleButtonBorder
getBorderInsets(Component)
  • removed
BasicColorChooserUI
  • added
BasicComboBoxUI
  • added
  • added
  • added
BasicFileChooserUI
  • added
  • added
  • added
BasicMenuItemUI
  • added
BasicRadioButtonUI
  • added
  • added
BasicScrollBarUI
  • added
  • added
  • added
BasicSliderUI
  • added
BasicTreeUI
  • added
  • added
  • added
  • added
  • added
javax.swing.plaf.metal
MetalBorders.ButtonBorder
getBorderInsets(Component)
  • removed
MetalBorders.Flush3DBorder
getBorderInsets(Component)
  • removed
MetalBorders.InternalFrameBorder
getBorderInsets(Component)
  • removed
MetalBorders.MenuBarBorder
getBorderInsets(Component)
  • removed
MetalBorders.MenuItemBorder
getBorderInsets(Component)
  • removed
MetalBorders.OptionDialogBorder
getBorderInsets(Component)
  • removed
MetalBorders.PaletteBorder
getBorderInsets(Component)
  • removed
MetalBorders.PopupMenuBorder
getBorderInsets(Component)
  • removed
MetalBorders.ScrollPaneBorder
getBorderInsets(Component)
  • removed
  • added
MetalBorders.TableHeaderBorder
getBorderInsets(Component)
  • removed
  • added
MetalBorders.ToolBarBorder
getBorderInsets(Component)
  • removed
MetalScrollPaneUI
  • added
  • added
javax.swing.plaf.synth
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
SynthLookAndFeel
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
SynthSliderUI.SynthTrackListener
  • removed
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
javax.swing.plaf
FileChooserUI
  • added
  • added
javax.swing.text.html
CSS.Attribute
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
HTMLFrameHyperlinkEvent
  • added
javax.swing.text
DefaultStyledDocument
  • added
GlyphView
  • added
JTextComponent
  • added
  • added
ParagraphView
adjustRow(ParagraphView.Row, int, int)
  • removed
  • added
javax.swing.tree
DefaultTreeCellRenderer
  • added
javax.swing
  • + implements Serializable
BorderFactory
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
  • added
JComboBox
  • added
JComponent.AccessibleJComponent
accessibleContainerHandler
  • removed
JComponent
  • added
  • added
JDesktopPane
  • added
  • added
JList
  • added
JSlider
  • added
JTree.EmptySelectionModel
  • added
  • added
  • added
  • added
  • added
  • added
JViewport
  • added
SwingUtilities
  • added
  • added
TransferHandler
  • added
  • added
  • added
  • added
  • added
  • added
javax.xml.bind.annotation
XmlElementRef
  • added
javax.xml.bind
  • added
javax.xml.parsers
FactoryConfigurationError
  • added
javax.xml.stream
FactoryConfigurationError
  • added
javax.xml.transform
TransformerFactoryConfigurationError
  • added
javax.xml.ws.soap
Addressing
  • added
AddressingFeature
  • added
  • added
  • added
  • added
javax.xml.ws.spi
  • added
Provider
  • added
  • added
  • added
  • added
  • added
javax.xml.ws.wsaddressing
W3CEndpointReferenceBuilder
  • added
  • added
  • added
javax.xml.ws
RequestWrapper
  • added
ResponseWrapper
  • added
WebFault
  • added
WebServiceRef
  • added
  • added
Endpoint
  • added
  • added
  • added
  • added
  • added
  • + implements Serializable
Service
  • added
  • added
  • added
javax.xml
XMLConstants
  • 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 1.7.0_80-oracle and 1.6.0_45-oracle. It does not make statements about compatibility.

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