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 10 (10.0.2-open).

Element Modification
java.activation
  • removed
java.base
    java.io
      ByteArrayInputStream
        • added
        • added
        • added
        ByteArrayOutputStream
          • added
          FileReader
            • added
            • added
            FileWriter
              • added
              • added
              • added
              • added
              InputStream
                • added
                • added
                OutputStream
                  • added
                  Reader
                    • added
                    Writer
                      • added
                      java.lang.invoke
                        • added
                        java.lang.ref
                          Reference
                            • 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
                                    Runtime
                                      runFinalizersOnExit(boolean)
                                      • removed
                                      SecurityManager
                                        checkAwtEventQueueAccess()
                                        • removed
                                        checkMemberAccess(Class, int)
                                        • removed
                                        checkSystemClipboardAccess()
                                        • removed
                                        checkTopLevelWindow(Object)
                                        • 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
                                                  java.nio.channels
                                                    SelectionKey
                                                      • added
                                                      • added
                                                      Selector
                                                        • added
                                                        • added
                                                        • added
                                                        java.nio.file
                                                          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.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.util.concurrent
                                                                                                    PriorityBlockingQueue
                                                                                                      • added
                                                                                                      • added
                                                                                                      • added
                                                                                                      • added
                                                                                                      TimeUnit
                                                                                                        • added
                                                                                                        java.util.function
                                                                                                          Predicate
                                                                                                            • added
                                                                                                            java.util.jar
                                                                                                              • + forRemoval
                                                                                                              • + forRemoval
                                                                                                              • + forRemoval
                                                                                                              java.util.regex
                                                                                                                Pattern
                                                                                                                  • added
                                                                                                                  java.util.zip
                                                                                                                    Deflater
                                                                                                                      • added
                                                                                                                      • added
                                                                                                                      • added
                                                                                                                      • added
                                                                                                                      Inflater
                                                                                                                        • added
                                                                                                                        • added
                                                                                                                        • added
                                                                                                                        java.util
                                                                                                                          ArrayList
                                                                                                                            • added
                                                                                                                            • added
                                                                                                                            OptionalDouble
                                                                                                                              • added
                                                                                                                              OptionalInt
                                                                                                                                • added
                                                                                                                                OptionalLong
                                                                                                                                  • added
                                                                                                                                  Optional
                                                                                                                                    • added
                                                                                                                                    PriorityQueue
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      Collection
                                                                                                                                        • added
                                                                                                                                        javax.crypto.spec
                                                                                                                                          • added
                                                                                                                                          javax.security.auth
                                                                                                                                            Policy
                                                                                                                                            • removed
                                                                                                                                            java.compiler
                                                                                                                                              javax.lang.model
                                                                                                                                                SourceVersion
                                                                                                                                                  • added
                                                                                                                                                  java.corba
                                                                                                                                                  • removed
                                                                                                                                                  java.desktop
                                                                                                                                                    java.awt
                                                                                                                                                      • + implements Serializable
                                                                                                                                                      • + implements Serializable
                                                                                                                                                      • + implements Serializable
                                                                                                                                                      javax.print.attribute.standard
                                                                                                                                                        • added
                                                                                                                                                        javax.swing
                                                                                                                                                          DefaultComboBoxModel
                                                                                                                                                            • added
                                                                                                                                                            • added
                                                                                                                                                            DefaultListModel
                                                                                                                                                              • added
                                                                                                                                                              • added
                                                                                                                                                              ListSelectionModel
                                                                                                                                                                • 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
                                                                                                                                                                          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 10.0.2-open. It does not make statements about compatibility.

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