New APIs in Java 10
Comparing Java 10 (10.0.2-open) with Java 9 (9.0.4-open).
Element | Modification |
---|---|
java.base |
|
java.io |
|
ByteArrayOutputStream |
|
FileInputStream |
|
|
|
FileOutputStream |
|
|
|
PrintStream |
|
PrintWriter |
|
Reader |
|
java.lang.invoke |
|
|
|
|
|
MethodType |
|
java.lang.reflect |
|
MalformedParameterizedTypeException |
|
java.lang |
|
FdLibm.Cbrt |
|
Cbrt() |
|
FdLibm.Hypot |
|
Hypot() |
|
FdLibm.Pow |
|
Pow() |
|
Runtime.Version |
|
|
|
|
|
|
|
Runtime |
|
getLocalizedInputStream(InputStream) |
|
getLocalizedOutputStream(OutputStream) |
|
SecurityManager |
|
inCheck |
|
classDepth(String) |
|
classLoaderDepth() |
|
currentClassLoader() |
|
currentLoadedClass() |
|
getInCheck() |
|
inClass(String) |
|
inClassLoader() |
|
StackWalker.StackFrame |
|
java.net |
|
URLDecoder |
|
URLEncoder |
|
java.nio.channels |
|
Channels |
|
java.nio.file |
|
FileStore |
|
java.security.acl |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
java.security |
|
|
|
|
|
|
|
|
|
java.time.chrono |
|
HijrahEra |
|
MinguoEra |
|
ThaiBuddhistEra |
|
java.time.format |
|
DateTimeFormatter |
|
java.util.concurrent.locks |
|
StampedLock |
|
java.util.concurrent |
|
FutureTask |
|
java.util.jar |
|
JarEntry |
|
JarFile |
|
java.util.spi |
|
LocaleNameProvider |
|
|
|
|
|
java.util.stream |
|
Collectors |
|
java.util.zip |
|
Deflater |
|
|
|
Inflater |
|
|
|
ZipFile |
|
|
|
java.util |
|
DoubleSummaryStatistics |
|
Formatter |
|
IntSummaryStatistics |
|
LongSummaryStatistics |
|
OptionalDouble |
|
OptionalInt |
|
OptionalLong |
|
Optional |
|
Properties |
|
Scanner |
|
SplittableRandom |
|
List |
|
Map |
|
Set |
|
javax.security.auth |
|
|
|
java.compiler |
|
javax.lang.model.util |
|
TypeKindVisitor6 |
|
TypeKindVisitor9 |
|
javax.lang.model |
|
SourceVersion |
|
java.desktop |
|
java.awt.geom |
|
Path2D.Double |
|
Path2D.Float |
|
Path2D |
|
java.awt |
|
Toolkit |
|
|
|
javax.swing.plaf.basic |
|
BasicMenuUI |
|
|
|
javax.swing |
|
ButtonModel |
|
java.management.rmi |
|
javax.management.remote.rmi |
|
RMIConnectorServer |
|
|
|
|
|
|
|
java.management |
|
java.lang.management |
|
RuntimeMXBean |
|
ThreadMXBean |
|
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 10.0.2-open 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.