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

New APIs in Java 11

Comparing Java 11 (11.0.8+10-adpt) with Java 9 (9.0.4-open).

Element Modification
java.activation
  • removed
java.base
    java.io
      ByteArrayInputStream
        • added
        • added
        • added
        ByteArrayOutputStream
          • added
          • added
          FileInputStream
            • + forRemoval
            FileOutputStream
              • + forRemoval
              FileReader
                • added
                • added
                FileWriter
                  • added
                  • added
                  • added
                  • added
                  InputStream
                    • added
                    • added
                    OutputStream
                      • added
                      PrintStream
                        • added
                        • added
                        • added
                        PrintWriter
                          • added
                          • added
                          • added
                          Reader
                            • added
                            • added
                            Writer
                              • added
                              java.lang.invoke
                                • added
                                • added
                                • added
                                MethodType
                                  • added
                                  java.lang.ref
                                    Reference
                                      • added
                                      java.lang.reflect
                                        MalformedParameterizedTypeException
                                          • added
                                          java.lang
                                            Character.UnicodeBlock
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              Character
                                                • added
                                                Class
                                                  • added
                                                  • added
                                                  • added
                                                  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
                                                            runFinalizersOnExit(boolean)
                                                            • removed
                                                            SecurityManager
                                                              inCheck
                                                              • removed
                                                              checkAwtEventQueueAccess()
                                                              • removed
                                                              checkMemberAccess(Class, int)
                                                              • removed
                                                              checkSystemClipboardAccess()
                                                              • removed
                                                              checkTopLevelWindow(Object)
                                                              • removed
                                                              classDepth(String)
                                                              • removed
                                                              classLoaderDepth()
                                                              • removed
                                                              currentClassLoader()
                                                              • removed
                                                              currentLoadedClass()
                                                              • removed
                                                              getInCheck()
                                                              • removed
                                                              inClass(String)
                                                              • removed
                                                              inClassLoader()
                                                              • removed
                                                              • + implements Comparable
                                                              • added
                                                              • + implements Comparable
                                                              • added
                                                              String
                                                                • added
                                                                • added
                                                                • added
                                                                • added
                                                                • added
                                                                • added
                                                                System
                                                                  runFinalizersOnExit(boolean)
                                                                  • removed
                                                                  Thread
                                                                    destroy()
                                                                    • removed
                                                                    stop(Throwable)
                                                                    • removed
                                                                    Character.UnicodeScript
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      CharSequence
                                                                        • added
                                                                        StackWalker.StackFrame
                                                                          • added
                                                                          • added
                                                                          java.net
                                                                            URLDecoder
                                                                              • added
                                                                              URLEncoder
                                                                                • added
                                                                                java.nio.channels
                                                                                  Channels
                                                                                    • added
                                                                                    • added
                                                                                    SelectionKey
                                                                                      • added
                                                                                      • added
                                                                                      Selector
                                                                                        • added
                                                                                        • added
                                                                                        • added
                                                                                        java.nio.file
                                                                                          FileStore
                                                                                            • added
                                                                                            Files
                                                                                              • added
                                                                                              • added
                                                                                              • added
                                                                                              • added
                                                                                              Path
                                                                                                • added
                                                                                                • added
                                                                                                java.nio
                                                                                                  ByteBuffer
                                                                                                    • added
                                                                                                    CharBuffer
                                                                                                      • added
                                                                                                      DoubleBuffer
                                                                                                        • added
                                                                                                        FloatBuffer
                                                                                                          • added
                                                                                                          IntBuffer
                                                                                                            • added
                                                                                                            LongBuffer
                                                                                                              • added
                                                                                                              ShortBuffer
                                                                                                                • added
                                                                                                                java.security.acl
                                                                                                                  • + forRemoval
                                                                                                                  • + forRemoval
                                                                                                                  • + forRemoval
                                                                                                                  • + forRemoval
                                                                                                                  • + forRemoval
                                                                                                                  • + forRemoval
                                                                                                                  • + forRemoval
                                                                                                                  • + forRemoval
                                                                                                                  java.security.interfaces
                                                                                                                    RSAKey
                                                                                                                      • added
                                                                                                                      • added
                                                                                                                      • added
                                                                                                                      • added
                                                                                                                      java.security.spec
                                                                                                                        • - implements AlgorithmParameterSpec
                                                                                                                        • - extends Object
                                                                                                                        • + extends NamedParameterSpec
                                                                                                                        getName()
                                                                                                                        • removed
                                                                                                                        MGF1ParameterSpec
                                                                                                                          • added
                                                                                                                          • added
                                                                                                                          • added
                                                                                                                          PSSParameterSpec
                                                                                                                            • added
                                                                                                                            • added
                                                                                                                            RSAKeyGenParameterSpec
                                                                                                                              • added
                                                                                                                              • added
                                                                                                                              RSAMultiPrimePrivateCrtKeySpec
                                                                                                                                • added
                                                                                                                                RSAPrivateCrtKeySpec
                                                                                                                                  • added
                                                                                                                                  RSAPrivateKeySpec
                                                                                                                                    • added
                                                                                                                                    • added
                                                                                                                                    RSAPublicKeySpec
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      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
                                                                                                                                                            PriorityBlockingQueue
                                                                                                                                                              • added
                                                                                                                                                              • added
                                                                                                                                                              • added
                                                                                                                                                              • added
                                                                                                                                                              TimeUnit
                                                                                                                                                                • added
                                                                                                                                                                java.util.function
                                                                                                                                                                  Predicate
                                                                                                                                                                    • added
                                                                                                                                                                    java.util.jar
                                                                                                                                                                      JarEntry
                                                                                                                                                                        • added
                                                                                                                                                                        JarFile
                                                                                                                                                                          • added
                                                                                                                                                                          • + forRemoval
                                                                                                                                                                          • + forRemoval
                                                                                                                                                                          • + forRemoval
                                                                                                                                                                          java.util.regex
                                                                                                                                                                            Pattern
                                                                                                                                                                              • added
                                                                                                                                                                              java.util.spi
                                                                                                                                                                                LocaleNameProvider
                                                                                                                                                                                  • added
                                                                                                                                                                                  • added
                                                                                                                                                                                  java.util.stream
                                                                                                                                                                                    Collectors
                                                                                                                                                                                      • added
                                                                                                                                                                                      • added
                                                                                                                                                                                      • added
                                                                                                                                                                                      • added
                                                                                                                                                                                      java.util.zip
                                                                                                                                                                                        Deflater
                                                                                                                                                                                          • added
                                                                                                                                                                                          • added
                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                          • added
                                                                                                                                                                                          • added
                                                                                                                                                                                          Inflater
                                                                                                                                                                                            • + forRemoval
                                                                                                                                                                                            • added
                                                                                                                                                                                            • added
                                                                                                                                                                                            • added
                                                                                                                                                                                            ZipFile
                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                              java.util
                                                                                                                                                                                                ArrayList
                                                                                                                                                                                                  • added
                                                                                                                                                                                                  • added
                                                                                                                                                                                                  DoubleSummaryStatistics
                                                                                                                                                                                                    • added
                                                                                                                                                                                                    Formatter
                                                                                                                                                                                                      • added
                                                                                                                                                                                                      • added
                                                                                                                                                                                                      • added
                                                                                                                                                                                                      IntSummaryStatistics
                                                                                                                                                                                                        • added
                                                                                                                                                                                                        LongSummaryStatistics
                                                                                                                                                                                                          • added
                                                                                                                                                                                                          OptionalDouble
                                                                                                                                                                                                            • added
                                                                                                                                                                                                            • added
                                                                                                                                                                                                            OptionalInt
                                                                                                                                                                                                              • added
                                                                                                                                                                                                              • added
                                                                                                                                                                                                              OptionalLong
                                                                                                                                                                                                                • added
                                                                                                                                                                                                                • added
                                                                                                                                                                                                                Optional
                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                  PriorityQueue
                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                    Properties
                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                      Scanner
                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                        SplittableRandom
                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                          Collection
                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                            List
                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                              Map
                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                Set
                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                  javax.crypto.spec
                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                    javax.security.auth
                                                                                                                                                                                                                                      Policy
                                                                                                                                                                                                                                      • removed
                                                                                                                                                                                                                                      java.compiler
                                                                                                                                                                                                                                        javax.lang.model.util
                                                                                                                                                                                                                                          TypeKindVisitor6
                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                            TypeKindVisitor9
                                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                                              javax.lang.model
                                                                                                                                                                                                                                                SourceVersion
                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                  java.corba
                                                                                                                                                                                                                                                  • removed
                                                                                                                                                                                                                                                  java.desktop
                                                                                                                                                                                                                                                    java.awt.geom
                                                                                                                                                                                                                                                      Path2D.Double
                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                        Path2D.Float
                                                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                                                          Path2D
                                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                                            java.awt
                                                                                                                                                                                                                                                              • + implements Serializable
                                                                                                                                                                                                                                                              • + implements Serializable
                                                                                                                                                                                                                                                              • + implements Serializable
                                                                                                                                                                                                                                                              Toolkit
                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                javax.print.attribute.standard
                                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                                  javax.swing.plaf.basic
                                                                                                                                                                                                                                                                    BasicMenuUI
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      javax.swing
                                                                                                                                                                                                                                                                        DefaultComboBoxModel
                                                                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                                                                          DefaultListModel
                                                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                                                            ButtonModel
                                                                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                                                                              ListSelectionModel
                                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                                java.management.rmi
                                                                                                                                                                                                                                                                                  javax.management.remote.rmi
                                                                                                                                                                                                                                                                                    RMIConnectorServer
                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                      java.management
                                                                                                                                                                                                                                                                                        java.lang.management
                                                                                                                                                                                                                                                                                          RuntimeMXBean
                                                                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                                                                            ThreadMXBean
                                                                                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                                                                                              java.sql
                                                                                                                                                                                                                                                                                                javax.transaction.xa
                                                                                                                                                                                                                                                                                                • removed
                                                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                                                java.transaction
                                                                                                                                                                                                                                                                                                • removed
                                                                                                                                                                                                                                                                                                java.xml.bind
                                                                                                                                                                                                                                                                                                • removed
                                                                                                                                                                                                                                                                                                java.xml.crypto
                                                                                                                                                                                                                                                                                                  javax.xml.crypto.dsig
                                                                                                                                                                                                                                                                                                    DigestMethod
                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                      SignatureMethod
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        java.xml.ws.annotation
                                                                                                                                                                                                                                                                                                        • removed
                                                                                                                                                                                                                                                                                                        java.xml.ws
                                                                                                                                                                                                                                                                                                        • removed
                                                                                                                                                                                                                                                                                                        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 11.0.8+10-adpt 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.