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

New APIs in Java 11

Comparing Java 11 (11.0.25+9-tem) with Java 10 (10.0.2-open).

Element Modification
java.activation
java.base
    java.io
      ByteArrayInputStream
        ByteArrayOutputStream
          FileReader
            FileWriter
              InputStream
                OutputStream
                  Reader
                    Writer
                      java.lang.invoke
                        java.lang.ref
                          Reference
                            java.lang
                              Character.UnicodeBlock
                                Character
                                  Class
                                    Runtime
                                      runFinalizersOnExit(boolean)
                                      SecurityManager
                                        checkAwtEventQueueAccess()
                                        checkMemberAccess(Class, int)
                                        checkSystemClipboardAccess()
                                        checkTopLevelWindow(Object)
                                        • + implements Comparable
                                        • + implements Comparable
                                        String
                                          System
                                            runFinalizersOnExit(boolean)
                                            Thread
                                              destroy()
                                              stop(Throwable)
                                              Character.UnicodeScript
                                                CharSequence
                                                  java.nio.channels
                                                    SelectionKey
                                                      Selector
                                                        java.nio.file
                                                          Files
                                                            Path
                                                              java.nio
                                                                ByteBuffer
                                                                  CharBuffer
                                                                    DoubleBuffer
                                                                      FloatBuffer
                                                                        IntBuffer
                                                                          LongBuffer
                                                                            ShortBuffer
                                                                              java.security.interfaces
                                                                                RSAKey
                                                                                  java.security.spec
                                                                                    • - extends Object
                                                                                    • - implements AlgorithmParameterSpec
                                                                                    • + extends NamedParameterSpec
                                                                                    getName()
                                                                                    MGF1ParameterSpec
                                                                                      PSSParameterSpec
                                                                                        RSAKeyGenParameterSpec
                                                                                          RSAMultiPrimePrivateCrtKeySpec
                                                                                            RSAPrivateCrtKeySpec
                                                                                              RSAPrivateKeySpec
                                                                                                RSAPublicKeySpec
                                                                                                  java.util.concurrent
                                                                                                    PriorityBlockingQueue
                                                                                                      • added
                                                                                                      • added
                                                                                                      • added
                                                                                                      • added
                                                                                                      TimeUnit
                                                                                                        java.util.function
                                                                                                          Predicate
                                                                                                            java.util.jar
                                                                                                              • + deprecated
                                                                                                              • + forRemoval
                                                                                                              • + deprecated
                                                                                                              • + forRemoval
                                                                                                              • + deprecated
                                                                                                              • + forRemoval
                                                                                                              java.util.regex
                                                                                                                Pattern
                                                                                                                  java.util.zip
                                                                                                                    Deflater
                                                                                                                      Inflater
                                                                                                                        java.util
                                                                                                                          ArrayList
                                                                                                                            • added
                                                                                                                            • added
                                                                                                                            OptionalDouble
                                                                                                                              OptionalInt
                                                                                                                                OptionalLong
                                                                                                                                  Optional
                                                                                                                                    PriorityQueue
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      Collection
                                                                                                                                        javax.crypto.spec
                                                                                                                                          javax.security.auth
                                                                                                                                            Policy
                                                                                                                                            java.compiler
                                                                                                                                              javax.lang.model
                                                                                                                                                SourceVersion
                                                                                                                                                  java.corba
                                                                                                                                                  java.desktop
                                                                                                                                                    java.awt.peer
                                                                                                                                                      RobotPeer
                                                                                                                                                        dispose()
                                                                                                                                                        • removed
                                                                                                                                                        • added
                                                                                                                                                        java.awt
                                                                                                                                                          • + implements Serializable
                                                                                                                                                          • + implements Serializable
                                                                                                                                                          • + implements Serializable
                                                                                                                                                          javax.print.attribute.standard
                                                                                                                                                            javax.swing.plaf.basic
                                                                                                                                                              BasicRadioButtonUI
                                                                                                                                                                installListeners(AbstractButton)
                                                                                                                                                                • removed
                                                                                                                                                                uninstallListeners(AbstractButton)
                                                                                                                                                                • removed
                                                                                                                                                                javax.swing
                                                                                                                                                                  DefaultComboBoxModel
                                                                                                                                                                    DefaultListModel
                                                                                                                                                                      JPasswordField
                                                                                                                                                                        • added
                                                                                                                                                                        ListSelectionModel
                                                                                                                                                                          java.sql
                                                                                                                                                                            javax.transaction.xa
                                                                                                                                                                            java.transaction
                                                                                                                                                                            java.xml.bind
                                                                                                                                                                            java.xml.crypto
                                                                                                                                                                              javax.xml.crypto.dsig
                                                                                                                                                                                DigestMethod
                                                                                                                                                                                  SignatureMethod
                                                                                                                                                                                    java.xml.ws.annotation
                                                                                                                                                                                    java.xml.ws

                                                                                                                                                                                    This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 11.0.25+9-tem and 10.0.2-open. It does not make statements about compatibility.

                                                                                                                                                                                    For the latest Java versions the corresponding CSRs (Compatibility & Specification Review) are linked for a quick reference to find out about the reasoning of the change.