New APIs in Java 8
Comparing Java 8 (8.0.422-tem) with Java 7 (1.7.0_80-oracle).
Element | Modification |
---|---|
java.awt.datatransfer |
|
DataFlavor |
|
|
|
|
|
|
|
java.awt.event |
|
InvocationEvent |
|
|
|
java.awt.peer |
|
ComponentPeer |
|
getToolkit() |
|
FramePeer |
|
|
|
java.awt |
|
Component |
|
|
|
Container.AccessibleAWTContainer |
|
|
|
KeyboardFocusManager |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.io |
|
BufferedReader |
|
|
|
|
|
java.lang.annotation |
|
|
|
|
|
ElementType |
|
|
|
|
|
java.lang.invoke |
|
|
|
|
|
MethodHandles.Lookup |
|
|
|
MethodHandles |
|
|
|
|
|
|
|
|
|
java.lang.management |
|
LockInfo |
|
|
|
java.lang.ref |
|
Reference |
|
java.lang.reflect |
|
AccessibleObject |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Field |
|
|
|
|
|
GenericSignatureFormatError |
|
|
|
|
|
|
|
|
|
|
|
|
|
Modifier |
|
|
|
|
|
|
|
AnnotatedElement |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Type |
|
|
|
java.lang |
|
|
|
Boolean |
|
|
|
|
|
|
|
|
|
Byte |
|
|
|
|
|
|
|
|
|
Character.UnicodeBlock |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Character |
|
|
|
|
|
Class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Double |
|
|
|
|
|
|
|
|
|
|
|
|
|
Float |
|
|
|
|
|
|
|
|
|
|
|
|
|
Integer |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InternalError |
|
|
|
|
|
Long |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Math |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Package |
|
|
|
|
|
|
|
Process |
|
|
|
|
|
|
|
SecurityManager |
|
|
|
|
|
|
|
|
|
Short |
|
|
|
|
|
|
|
|
|
StrictMath |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String |
|
|
|
|
|
ThreadLocal |
|
|
|
VirtualMachineError |
|
|
|
|
|
Character.UnicodeScript |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CharSequence |
|
|
|
|
|
Iterable |
|
|
|
|
|
java.math |
|
BigInteger |
|
|
|
|
|
|
|
|
|
java.net |
|
DatagramPacket |
|
|
|
|
|
|
|
URL |
|
set(String, String, int, String, String) |
|
set(String, String, int, String, String, String,... |
|
java.nio.channels |
|
AsynchronousServerSocketChannel |
|
|
|
AsynchronousSocketChannel |
|
|
|
DatagramChannel |
|
|
|
ServerSocketChannel |
|
|
|
SocketChannel |
|
|
|
java.nio.file.attribute |
|
FileTime |
|
|
|
|
|
java.nio.file |
|
Files |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.nio |
|
CharBuffer |
|
|
|
java.rmi.server |
|
|
|
|
|
UnicastRemoteObject |
|
|
|
|
|
java.rmi |
|
|
|
java.security.cert |
|
CertPathBuilderSpi |
|
|
|
CertPathBuilder |
|
|
|
CertPathValidatorSpi |
|
|
|
CertPathValidator |
|
|
|
Certificate |
|
|
|
|
|
|
|
|
|
X509CRL |
|
|
|
X509Certificate |
|
|
|
|
|
|
|
java.security.interfaces |
|
RSAKey |
|
java.security.spec |
|
|
|
MGF1ParameterSpec |
|
|
|
PSSParameterSpec |
|
RSAKeyGenParameterSpec |
|
RSAMultiPrimePrivateCrtKeySpec |
|
RSAPrivateCrtKeySpec |
|
RSAPrivateKeySpec |
|
RSAPublicKeySpec |
|
java.security |
|
AccessController |
|
|
|
|
|
|
|
|
|
|
|
KeyStore.PasswordProtection |
|
|
|
|
|
|
|
KeyStore.PrivateKeyEntry |
|
|
|
|
|
KeyStore.SecretKeyEntry |
|
|
|
|
|
KeyStore.TrustedCertificateEntry |
|
|
|
|
|
|
|
Provider |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SecureRandom |
|
|
|
|
|
KeyStore.Entry |
|
|
|
Principal |
|
|
|
|
|
java.sql |
|
BatchUpdateException |
|
|
|
|
|
Date |
|
|
|
|
|
|
|
DriverManager |
|
|
|
Time |
|
|
|
|
|
|
|
Timestamp |
|
|
|
|
|
|
|
|
|
Types |
|
|
|
|
|
|
|
|
|
CallableStatement |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DatabaseMetaData |
|
|
|
|
|
|
|
PreparedStatement |
|
|
|
|
|
|
|
ResultSet |
|
|
|
|
|
|
|
|
|
SQLInput |
|
|
|
SQLOutput |
|
|
|
|
|
Statement |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.text |
|
DecimalFormat |
|
|
|
|
|
|
|
|
|
|
|
|
|
java.util.concurrent.atomic |
|
AtomicIntegerArray |
|
|
|
|
|
|
|
|
|
AtomicIntegerFieldUpdater |
|
|
|
|
|
|
|
|
|
AtomicInteger |
|
|
|
|
|
|
|
|
|
AtomicLongArray |
|
|
|
|
|
|
|
|
|
AtomicLongFieldUpdater |
|
|
|
|
|
|
|
|
|
AtomicLong |
|
|
|
|
|
|
|
|
|
AtomicReferenceArray |
|
|
|
|
|
|
|
|
|
AtomicReferenceFieldUpdater |
|
|
|
|
|
|
|
|
|
AtomicReference |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.util.concurrent.locks |
|
|
|
java.util.concurrent |
|
ArrayBlockingQueue |
|
|
|
|
|
|
|
|
|
ConcurrentHashMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
keySet() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ConcurrentLinkedDeque |
|
|
|
ConcurrentLinkedQueue |
|
|
|
ConcurrentSkipListMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ConcurrentSkipListSet |
|
|
|
CopyOnWriteArrayList |
|
|
|
|
|
|
|
|
|
|
|
CopyOnWriteArraySet |
|
|
|
|
|
|
|
|
|
Executors |
|
|
|
|
|
ForkJoinPool |
|
|
|
|
|
|
|
ForkJoinTask |
|
|
|
|
|
|
|
|
|
LinkedBlockingDeque |
|
|
|
LinkedBlockingQueue |
|
|
|
LinkedTransferQueue |
|
|
|
PriorityBlockingQueue |
|
|
|
SynchronousQueue |
|
|
|
ThreadLocalRandom |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ConcurrentMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.util.jar |
|
Attributes.Name |
|
|
|
|
|
|
|
JarFile |
|
|
|
Pack200.Packer |
|
|
|
|
|
Pack200.Unpacker |
|
|
|
|
|
java.util.logging |
|
LogManager |
|
|
|
|
|
Logger |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.util.regex |
|
Matcher |
|
|
|
|
|
Pattern |
|
|
|
|
|
java.util.spi |
|
|
|
|
|
LocaleServiceProvider |
|
|
|
TimeZoneNameProvider |
|
|
|
|
|
|
|
java.util.zip |
|
Adler32 |
|
|
|
CRC32 |
|
|
|
ZipEntry |
|
|
|
|
|
|
|
|
|
|
|
|
|
ZipFile |
|
|
|
java.util |
|
ArrayDeque |
|
|
|
ArrayList |
|
|
|
|
|
|
|
|
|
|
|
Arrays |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BitSet |
|
|
|
|
|
Calendar |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Collections |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Date |
|
|
|
|
|
|
|
GregorianCalendar |
|
|
|
|
|
|
|
HashMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HashSet |
|
|
|
Hashtable |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IdentityHashMap |
|
|
|
|
|
|
|
LinkedHashMap |
|
|
|
|
|
|
|
|
|
|
|
|
|
LinkedHashSet |
|
|
|
LinkedList |
|
|
|
|
|
Locale |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Objects |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PriorityQueue |
|
|
|
|
|
Random |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ResourceBundle |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TimeZone |
|
|
|
|
|
TreeMap |
|
|
|
|
|
|
|
|
|
TreeSet |
|
|
|
Vector |
|
|
|
|
|
|
|
|
|
|
|
WeakHashMap |
|
|
|
|
|
|
|
Collection |
|
|
|
|
|
|
|
|
|
Comparator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Iterator |
|
|
|
|
|
List |
|
|
|
|
|
|
|
Map.Entry |
|
|
|
|
|
|
|
|
|
Map |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set |
|
|
|
SortedSet |
|
|
|
|
|
|
|
|
|
|
|
|
|
javax.crypto.spec |
|
PBEParameterSpec |
|
|
|
|
|
javax.crypto |
|
|
|
javax.jnlp |
|
javax.lang.model.element |
|
Modifier |
|
|
|
|
|
ExecutableElement |
|
|
|
|
|
PackageElement |
|
|
|
VariableElement |
|
|
|
|
|
javax.lang.model.type |
|
TypeKind |
|
|
|
ExecutableType |
|
|
|
|
|
|
|
TypeVisitor |
|
|
|
javax.lang.model.util |
|
|
|
|
|
AbstractTypeVisitor6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Elements |
|
|
|
javax.lang.model |
|
SourceVersion |
|
|
|
|
|
javax.net.ssl |
|
ExtendedSSLSession |
|
|
|
|
|
|
|
|
|
SSLEngine |
|
|
|
|
|
|
|
|
|
SSLParameters |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SSLSocketFactory |
|
|
|
SSLSocket |
|
|
|
|
|
|
|
|
|
|
|
javax.security.auth.kerberos |
|
KeyTab |
|
|
|
|
|
|
|
|
|
|
|
|
|
javax.security.auth |
|
Destroyable |
|
|
|
|
|
javax.security.sasl |
|
Sasl |
|
|
|
javax.sql.rowset.serial |
|
SerialArray |
|
|
|
|
|
|
|
SerialBlob |
|
|
|
|
|
|
|
SerialClob |
|
|
|
|
|
|
|
SerialDatalink |
|
|
|
|
|
|
|
SerialJavaObject |
|
|
|
|
|
|
|
SerialRef |
|
|
|
|
|
|
|
SerialStruct |
|
|
|
|
|
|
|
javax.swing |
|
ImageIcon |
|
|
|
|
|
JComponent.AccessibleJComponent |
|
|
|
JComponent |
|
accessibleContext |
|
getAccessibleContext() |
|
JList.AccessibleJList.AccessibleJListChild |
|
getAccessibleAction() |
|
JSpinner.NumberEditor |
|
|
|
javax.tools |
|
ToolProvider |
|
|
|
|
|
StandardLocation |
|
|
|
|
|
|
|
javax.xml.validation |
|
|
|
SchemaFactory |
|
|
|
javax.xml.xpath |
|
XPathFactory |
|
|
|
|
This report is based on simple comparison of all public
and
protected
APIs of the java.*
and javax.*
packages of JDK builds 8.0.422-tem and
1.7.0_80-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.