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