The Java Version Almanac
javaalmanac.io
Feedback on this page?

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

                                                                                                                                                                                            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.

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