New APIs in Java 12
Comparing Java 12 (12.0.2+10-adpt) with Java 9 (9.0.4-open).
Element | Modification |
---|---|
java.activation | |
java.base | |
java.io | |
ByteArrayInputStream | |
ByteArrayOutputStream | |
FileInputStream | |
finalize() | |
FileOutputStream | |
finalize() | |
FileReader | |
FileWriter | |
InputStream | |
OutputStream | |
PrintStream | |
PrintWriter | |
Reader | |
Writer | |
java.lang.invoke | |
| |
| |
| |
| |
| |
java.lang.ref | |
Reference | |
java.lang.reflect | |
MalformedParameterizedTypeException | |
UndeclaredThrowableException | |
getCause() |
|
java.lang | |
Character.UnicodeBlock | |
Character | |
ClassNotFoundException | |
getCause() |
|
| |
| |
| |
ExceptionInInitializerError | |
getCause() |
|
FdLibm.Cbrt | |
Cbrt() |
|
FdLibm.Hypot | |
Hypot() |
|
FdLibm.Pow | |
Pow() |
|
| |
| |
| |
Runtime.Version | |
| |
| |
| |
Runtime | |
getLocalizedInputStream(InputStream) | |
getLocalizedOutputStream(OutputStream) | |
runFinalizersOnExit(boolean) | |
SecurityManager | |
inCheck | |
checkAwtEventQueueAccess() | |
checkMemberAccess(Class, int) | |
checkSystemClipboardAccess() | |
checkTopLevelWindow(Object) | |
classDepth(String) | |
classLoaderDepth() | |
currentClassLoader() | |
currentLoadedClass() | |
getInCheck() | |
inClass(String) | |
inClassLoader() | |
| |
| |
| |
System | |
runFinalizersOnExit(boolean) | |
Thread | |
destroy() | |
stop(Throwable) | |
Character.UnicodeScript | |
CharSequence | |
StackWalker.StackFrame | |
java.net | |
SecureCacheResponse | |
ServerSocket | |
URLDecoder | |
URLEncoder | |
java.nio.channels | |
Channels | |
SelectionKey | |
Selector | |
java.nio.file | |
FileStore | |
Files | |
Path | |
java.nio | |
ByteBuffer | |
CharBuffer | |
DoubleBuffer | |
FloatBuffer | |
IntBuffer | |
LongBuffer | |
ShortBuffer | |
java.security.acl | |
| |
| |
| |
| |
| |
| |
| |
| |
java.security.interfaces | |
DSAPrivateKey | |
| |
DSAPublicKey | |
| |
ECPrivateKey | |
| |
ECPublicKey | |
| |
RSAKey | |
RSAMultiPrimePrivateCrtKey | |
| |
RSAPrivateCrtKey | |
| |
RSAPrivateKey | |
| |
RSAPublicKey | |
| |
java.security.spec | |
| |
getName() | |
MGF1ParameterSpec | |
PSSParameterSpec | |
RSAKeyGenParameterSpec | |
RSAMultiPrimePrivateCrtKeySpec | |
RSAPrivateCrtKeySpec | |
RSAPrivateKeySpec | |
RSAPublicKeySpec | |
java.security | |
| |
| |
PrivilegedActionException | |
getCause() |
|
| |
| |
Key | |
| |
PrivateKey | |
| |
PublicKey | |
| |
java.text.spi | |
NumberFormatProvider | |
java.text | |
NumberFormat.Field | |
NumberFormat | |
java.time.chrono | |
HijrahEra | |
MinguoEra | |
ThaiBuddhistEra | |
java.time.format | |
DateTimeFormatter | |
java.util.concurrent.locks | |
StampedLock | |
java.util.concurrent | |
CompletableFuture | |
FutureTask | |
PriorityBlockingQueue | |
| |
| |
| |
| |
TimeUnit | |
CompletionStage | |
java.util.function | |
Predicate | |
java.util.jar | |
JarEntry | |
JarFile | |
| |
| |
| |
java.util.regex | |
Pattern | |
java.util.spi | |
LocaleNameProvider | |
| |
| |
java.util.stream | |
Collectors | |
java.util.zip | |
Deflater | |
finalize() | |
Inflater | |
finalize() | |
ZipFile | |
finalize() | |
java.util | |
ArrayList | |
| |
| |
DoubleSummaryStatistics | |
Formatter | |
IntSummaryStatistics | |
LongSummaryStatistics | |
OptionalDouble | |
OptionalInt | |
OptionalLong | |
Optional | |
PriorityQueue | |
| |
| |
| |
| |
Properties | |
Scanner | |
SplittableRandom | |
Collection | |
List | |
Map | |
Set | |
javax.crypto.interfaces | |
DHPrivateKey | |
| |
DHPublicKey | |
| |
PBEKey | |
| |
javax.crypto.spec | |
javax.crypto | |
Cipher | |
SecretKey | |
| |
javax.net.ssl | |
HttpsURLConnection | |
javax.security.auth | |
Policy | |
java.compiler | |
javax.lang.model.util | |
AbstractAnnotationValueVisitor7 | |
| |
AbstractElementVisitor7 | |
| |
AbstractTypeVisitor7 | |
| |
ElementKindVisitor7 | |
| |
| |
ElementScanner7 | |
| |
| |
SimpleAnnotationValueVisitor7 | |
| |
| |
SimpleElementVisitor7 | |
| |
| |
SimpleTypeVisitor7 | |
| |
| |
TypeKindVisitor6 | |
TypeKindVisitor7 | |
| |
| |
TypeKindVisitor9 | |
javax.lang.model | |
SourceVersion | |
java.corba | |
java.desktop | |
java.awt.geom | |
Path2D.Double | |
Path2D.Float | |
Path2D | |
java.awt | |
| |
| |
| |
Toolkit | |
| |
javax.print.attribute.standard | |
javax.swing.filechooser | |
FileSystemView | |
javax.swing.plaf.basic | |
BasicMenuUI | |
| |
javax.swing | |
DefaultComboBoxModel | |
DefaultListModel | |
ButtonModel | |
ListSelectionModel | |
java.management.rmi | |
javax.management.remote.rmi | |
RMIConnectorServer | |
| |
| |
| |
java.management | |
java.lang.management | |
RuntimeMXBean | |
ThreadMXBean | |
java.naming | |
javax.naming.directory | |
Attribute | |
| |
javax.naming | |
Name | |
| |
java.rmi | |
java.rmi.server | |
RemoteRef | |
| |
ServerRef | |
| |
java.sql | |
javax.transaction.xa | |
java.transaction | |
java.xml.bind | |
java.xml.crypto | |
javax.xml.crypto.dsig | |
DigestMethod | |
SignatureMethod | |
java.xml.ws.annotation | |
java.xml.ws | |
java.xml | |
javax.xml.stream | |
XMLInputFactory | |
|
This report is based on simple comparison of all public
and
protected
APIs of the java.*
and javax.*
packages of JDK builds 12.0.2+10-adpt and
9.0.4-open. 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.