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

New APIs in Java 27

Comparing Java 27 (27-ea+1-3-open) with Java 21 (21.0.9+10-LTS-tem).

Element Modification
java.base
    java.io
      Console
        • + deprecated
        • + forRemoval
        ObjectInputStream
          • - throws SecurityException
          • - throws SecurityException
          ObjectOutputStream.PutField
            • + forRemoval
            ObjectOutputStream
              • - throws SecurityException
              • - throws SecurityException
              • + final
              Reader
                • + deprecated
                • + forRemoval
                java.lang.constant
                  • + final
                  ClassDesc
                    • + abstract
                    • + abstract
                    • + abstract
                    java.lang.foreign
                      • - preview
                      • - preview
                      • + abstract
                      • - preview
                      • - preview
                      • - preview
                      isTrivial()
                      • - preview
                      • - preview
                      • - preview
                      • + abstract
                      • + abstract
                      • + abstract
                      sequenceLayout(MemoryLayout)
                      • + abstract
                      • + abstract
                      • - preview
                      • - preview
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      getUtf8String(long)
                      • + abstract
                      segmentOffset(MemorySegment)
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      • + abstract
                      setUtf8String(long, String)
                      • - preview
                      • - preview
                      allocate(AddressLayout, MemorySegment)
                      allocate(ValueLayout.OfByte, byte)
                      allocate(ValueLayout.OfChar, char)
                      allocate(ValueLayout.OfDouble, double)
                      allocate(ValueLayout.OfFloat, float)
                      allocate(ValueLayout.OfInt, int)
                      allocate(ValueLayout.OfLong, long)
                      allocate(ValueLayout.OfShort, short)
                      allocateArray(MemoryLayout, long)
                      allocateArray(ValueLayout.OfByte, byte...)
                      allocateArray(ValueLayout.OfChar, char...)
                      allocateArray(ValueLayout.OfDouble, double...)
                      allocateArray(ValueLayout.OfFloat, float...)
                      allocateArray(ValueLayout.OfInt, int...)
                      allocateArray(ValueLayout.OfLong, long...)
                      allocateArray(ValueLayout.OfShort, short...)
                      allocateUtf8String(String)
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      • - preview
                      arrayElementVarHandle(int...)
                      java.lang.invoke
                        • + final
                        • + final
                        • - preview
                        • - preview
                        • - preview
                        • - preview
                        • - preview
                        memorySegmentViewVarHandle(ValueLayout)
                        • - preview
                        StringConcatFactory
                          MAX_INDY_CONCAT_ARG_SLOTS
                          makeConcatWithTemplate(List, List)
                          makeConcatWithTemplateCluster(List, List, int)
                          makeConcatWithTemplateGetters(List, List, int)
                          java.lang.module
                            • + final
                            java.lang.reflect
                              • + final
                              • + deprecated
                              • + forRemoval
                              AccessFlag.Location
                                AccessFlag
                                  ClassFileFormatVersion
                                    • added
                                    java.lang.runtime
                                      • + final
                                      • + final
                                      TemplateRuntime
                                      java.lang
                                        Boolean
                                          • - forRemoval
                                          • - forRemoval
                                          Byte
                                            • - forRemoval
                                            • - forRemoval
                                            Character.UnicodeBlock
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              Character
                                                • - forRemoval
                                                Class
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  • - throws SecurityException
                                                  isUnnamedClass()
                                                  Double
                                                    • - forRemoval
                                                    • - forRemoval
                                                    Float
                                                      • - forRemoval
                                                      • - forRemoval
                                                      • - forRemoval
                                                      Integer
                                                        • - forRemoval
                                                        • - forRemoval
                                                        Long
                                                          • - forRemoval
                                                          • - forRemoval
                                                          Math
                                                            ModuleLayer.Controller
                                                              • - preview
                                                              Module
                                                                • - preview
                                                                • + final
                                                                • + implements Closeable
                                                                • + deprecated
                                                                • + forRemoval
                                                                • + final
                                                                • - preview
                                                                call(Callable)
                                                                get(Supplier)
                                                                • - preview
                                                                callWhere(ScopedValue, Object, Callable)
                                                                getWhere(ScopedValue, Object, Supplier)
                                                                runWhere(ScopedValue, Object, Runnable)
                                                                SecurityManager
                                                                  • - deprecated
                                                                  • - forRemoval
                                                                  Short
                                                                    • - forRemoval
                                                                    • - forRemoval
                                                                    StrictMath
                                                                      String
                                                                        • added
                                                                        • added
                                                                        • added
                                                                        ThreadGroup
                                                                          resume()
                                                                          stop()
                                                                          suspend()
                                                                          Thread
                                                                            countStackFrames()
                                                                            resume()
                                                                            stop()
                                                                            suspend()
                                                                            Character.UnicodeScript
                                                                              • added
                                                                              • added
                                                                              • added
                                                                              • added
                                                                              StackWalker.Option
                                                                                CharSequence
                                                                                  • added preview
                                                                                  StringTemplate.Processor.Linkage
                                                                                  StringTemplate.Processor
                                                                                  StringTemplate
                                                                                  java.math
                                                                                    BigInteger
                                                                                      java.net
                                                                                        DatagramSocketImpl
                                                                                          getTTL()
                                                                                          setTTL(byte)
                                                                                          HttpURLConnection
                                                                                            • + deprecated
                                                                                            • + forRemoval
                                                                                            Inet4Address
                                                                                              Inet6Address
                                                                                                InetAddress
                                                                                                  • + final
                                                                                                  MulticastSocket
                                                                                                    getTTL()
                                                                                                    send(DatagramPacket, byte)
                                                                                                    setTTL(byte)
                                                                                                    • + deprecated
                                                                                                    • + forRemoval
                                                                                                    ServerSocket
                                                                                                      • + deprecated
                                                                                                      • + forRemoval
                                                                                                      SocketImpl
                                                                                                        • + deprecated
                                                                                                        • + forRemoval
                                                                                                        • + deprecated
                                                                                                        • + forRemoval
                                                                                                        Socket
                                                                                                          • + forRemoval
                                                                                                          • + forRemoval
                                                                                                          • + deprecated
                                                                                                          • + forRemoval
                                                                                                          URLConnection
                                                                                                            • + deprecated
                                                                                                            • + forRemoval
                                                                                                            • + final
                                                                                                            • + final
                                                                                                            • + deprecated
                                                                                                            • + forRemoval
                                                                                                            java.nio.channels
                                                                                                              FileChannel
                                                                                                                • - preview
                                                                                                                java.nio.charset
                                                                                                                  • + final
                                                                                                                  • + final
                                                                                                                  StandardCharsets
                                                                                                                    java.nio.file
                                                                                                                      • + deprecated
                                                                                                                      • + forRemoval
                                                                                                                      Path
                                                                                                                        java.nio
                                                                                                                          CharBuffer
                                                                                                                            • - extends Object
                                                                                                                            • + extends Enum
                                                                                                                            toString()
                                                                                                                            java.security.cert
                                                                                                                              • + implements DEREncodable
                                                                                                                              • + implements DEREncodable
                                                                                                                              java.security.interfaces
                                                                                                                                • + implements AlgorithmParameterSpec
                                                                                                                                DSAPrivateKey
                                                                                                                                  DSAPublicKey
                                                                                                                                    ECPrivateKey
                                                                                                                                      ECPublicKey
                                                                                                                                        EdECPrivateKey
                                                                                                                                          EdECPublicKey
                                                                                                                                            RSAPrivateKey
                                                                                                                                              RSAPublicKey
                                                                                                                                                XECPrivateKey
                                                                                                                                                  XECPublicKey
                                                                                                                                                    java.security.spec
                                                                                                                                                      NamedParameterSpec
                                                                                                                                                        • + implements DEREncodable
                                                                                                                                                        • + implements DEREncodable
                                                                                                                                                        java.security
                                                                                                                                                          • + final
                                                                                                                                                          • + implements DEREncodable
                                                                                                                                                          • added preview
                                                                                                                                                          SecureRandom
                                                                                                                                                            • + deprecated
                                                                                                                                                            • + forRemoval
                                                                                                                                                            • + deprecated
                                                                                                                                                            • + forRemoval
                                                                                                                                                            • - implements Key
                                                                                                                                                            • + implements AsymmetricKey
                                                                                                                                                            • - implements Key
                                                                                                                                                            • + implements AsymmetricKey
                                                                                                                                                            java.text
                                                                                                                                                              ChoiceFormat
                                                                                                                                                                CompactNumberFormat
                                                                                                                                                                  DecimalFormat
                                                                                                                                                                    MessageFormat
                                                                                                                                                                      NumberFormat
                                                                                                                                                                        SimpleDateFormat
                                                                                                                                                                          java.time
                                                                                                                                                                            Duration
                                                                                                                                                                              Instant
                                                                                                                                                                                java.util.concurrent.locks
                                                                                                                                                                                  • + final
                                                                                                                                                                                  java.util.concurrent
                                                                                                                                                                                    • + final
                                                                                                                                                                                    • + implements ScheduledExecutorService
                                                                                                                                                                                    • + throws InterruptedException
                                                                                                                                                                                    ForkJoinTask
                                                                                                                                                                                      StructuredTaskScope.ShutdownOnFailure
                                                                                                                                                                                      StructuredTaskScope.ShutdownOnSuccess
                                                                                                                                                                                      ThreadLocalRandom
                                                                                                                                                                                        • added
                                                                                                                                                                                        StructuredTaskScope.Subtask
                                                                                                                                                                                          task()
                                                                                                                                                                                          • + abstract
                                                                                                                                                                                          • + sealed
                                                                                                                                                                                          StructuredTaskScope()
                                                                                                                                                                                          StructuredTaskScope(String, ThreadFactory)
                                                                                                                                                                                          • + abstract
                                                                                                                                                                                          ensureOwnerAndJoined()
                                                                                                                                                                                          • + abstract
                                                                                                                                                                                          handleComplete(StructuredTaskScope.Subtask)
                                                                                                                                                                                          isShutdown()
                                                                                                                                                                                          join()
                                                                                                                                                                                          joinUntil(Instant)
                                                                                                                                                                                          • added preview
                                                                                                                                                                                          shutdown()
                                                                                                                                                                                          toString()
                                                                                                                                                                                          java.util.random
                                                                                                                                                                                            RandomGenerator
                                                                                                                                                                                              java.util.stream
                                                                                                                                                                                                Stream
                                                                                                                                                                                                  java.util.zip
                                                                                                                                                                                                    • + implements AutoCloseable
                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                    • + implements AutoCloseable
                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                    • + forRemoval
                                                                                                                                                                                                    ZipFile
                                                                                                                                                                                                      java.util
                                                                                                                                                                                                        • + final
                                                                                                                                                                                                        • + final
                                                                                                                                                                                                        Currency
                                                                                                                                                                                                          FormatProcessor
                                                                                                                                                                                                          • + final
                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                          TimeZone
                                                                                                                                                                                                            UUID
                                                                                                                                                                                                              • - abstract
                                                                                                                                                                                                              • + final
                                                                                                                                                                                                              Comparator
                                                                                                                                                                                                                List
                                                                                                                                                                                                                  • added preview
                                                                                                                                                                                                                  Map
                                                                                                                                                                                                                    • added preview
                                                                                                                                                                                                                    javax.crypto.interfaces
                                                                                                                                                                                                                      DHPrivateKey
                                                                                                                                                                                                                        DHPublicKey
                                                                                                                                                                                                                          javax.crypto.spec
                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                            javax.crypto
                                                                                                                                                                                                                              • + implements DEREncodable
                                                                                                                                                                                                                              • added preview
                                                                                                                                                                                                                              • added preview
                                                                                                                                                                                                                              • added preview
                                                                                                                                                                                                                              • added preview
                                                                                                                                                                                                                              • added preview
                                                                                                                                                                                                                              javax.net.ssl
                                                                                                                                                                                                                                ExtendedSSLSession
                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                  javax.security.auth
                                                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                                                    • + forRemoval
                                                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                                                    • + forRemoval
                                                                                                                                                                                                                                    java.compiler
                                                                                                                                                                                                                                      javax.lang.model.element
                                                                                                                                                                                                                                        RecordComponentElement
                                                                                                                                                                                                                                          TypeElement
                                                                                                                                                                                                                                            isUnnamed()
                                                                                                                                                                                                                                            VariableElement
                                                                                                                                                                                                                                              • - preview
                                                                                                                                                                                                                                              javax.lang.model.util
                                                                                                                                                                                                                                                ElementScanner6
                                                                                                                                                                                                                                                  Elements
                                                                                                                                                                                                                                                    Types
                                                                                                                                                                                                                                                      javax.lang.model
                                                                                                                                                                                                                                                        SourceVersion
                                                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                                                          javax.tools
                                                                                                                                                                                                                                                            SimpleJavaFileObject
                                                                                                                                                                                                                                                              java.desktop
                                                                                                                                                                                                                                                                java.applet
                                                                                                                                                                                                                                                                java.awt
                                                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                                                  KeyboardFocusManager
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                    Robot
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                      Window
                                                                                                                                                                                                                                                                        • + deprecated
                                                                                                                                                                                                                                                                        • + forRemoval
                                                                                                                                                                                                                                                                        • - throws SecurityException
                                                                                                                                                                                                                                                                        java.beans.beancontext
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                          java.beans
                                                                                                                                                                                                                                                                            Beans
                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                              instantiate(ClassLoader, String, BeanContext,...
                                                                                                                                                                                                                                                                              • - throws SecurityException
                                                                                                                                                                                                                                                                              • - throws SecurityException
                                                                                                                                                                                                                                                                              AppletInitializer
                                                                                                                                                                                                                                                                              javax.imageio.spi
                                                                                                                                                                                                                                                                                ServiceRegistry
                                                                                                                                                                                                                                                                                  finalize()
                                                                                                                                                                                                                                                                                  javax.imageio.stream
                                                                                                                                                                                                                                                                                    FileCacheImageInputStream
                                                                                                                                                                                                                                                                                      finalize()
                                                                                                                                                                                                                                                                                      FileImageInputStream
                                                                                                                                                                                                                                                                                        finalize()
                                                                                                                                                                                                                                                                                        FileImageOutputStream
                                                                                                                                                                                                                                                                                          finalize()
                                                                                                                                                                                                                                                                                          ImageInputStreamImpl
                                                                                                                                                                                                                                                                                            finalize()
                                                                                                                                                                                                                                                                                            MemoryCacheImageInputStream
                                                                                                                                                                                                                                                                                              finalize()
                                                                                                                                                                                                                                                                                              javax.print.attribute.standard
                                                                                                                                                                                                                                                                                                javax.sound.sampled
                                                                                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                                                                                  javax.swing.plaf.basic
                                                                                                                                                                                                                                                                                                    BasicSliderUI
                                                                                                                                                                                                                                                                                                      BasicSliderUI()
                                                                                                                                                                                                                                                                                                      BasicSplitPaneDivider
                                                                                                                                                                                                                                                                                                        javax.swing.plaf.synth
                                                                                                                                                                                                                                                                                                          SynthLookAndFeel
                                                                                                                                                                                                                                                                                                            load(URL)
                                                                                                                                                                                                                                                                                                            SynthPasswordFieldUI
                                                                                                                                                                                                                                                                                                              installKeyboardActions()
                                                                                                                                                                                                                                                                                                              SynthTreeUI
                                                                                                                                                                                                                                                                                                                javax.swing
                                                                                                                                                                                                                                                                                                                  FocusManager
                                                                                                                                                                                                                                                                                                                    • - throws SecurityException
                                                                                                                                                                                                                                                                                                                    JApplet.AccessibleJApplet
                                                                                                                                                                                                                                                                                                                    JApplet
                                                                                                                                                                                                                                                                                                                    JFileChooser
                                                                                                                                                                                                                                                                                                                      JInternalFrame
                                                                                                                                                                                                                                                                                                                        • + deprecated
                                                                                                                                                                                                                                                                                                                        • + forRemoval
                                                                                                                                                                                                                                                                                                                        JScrollBar
                                                                                                                                                                                                                                                                                                                          JSplitPane
                                                                                                                                                                                                                                                                                                                            RepaintManager
                                                                                                                                                                                                                                                                                                                              addDirtyRegion(Applet, int, int, int, int)
                                                                                                                                                                                                                                                                                                                              UIManager
                                                                                                                                                                                                                                                                                                                                • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                java.logging
                                                                                                                                                                                                                                                                                                                                  java.util.logging
                                                                                                                                                                                                                                                                                                                                    FileHandler
                                                                                                                                                                                                                                                                                                                                      • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                      • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                      • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                      • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                      • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                      • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                      Handler
                                                                                                                                                                                                                                                                                                                                        • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                        • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                        • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                        • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                        • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                        LogManager
                                                                                                                                                                                                                                                                                                                                          • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                          • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                          • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                          • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                          Logger
                                                                                                                                                                                                                                                                                                                                            • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                            • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                            • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                            • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                            • + forRemoval
                                                                                                                                                                                                                                                                                                                                            MemoryHandler
                                                                                                                                                                                                                                                                                                                                              • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                              • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                              SocketHandler
                                                                                                                                                                                                                                                                                                                                                • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                                StreamHandler
                                                                                                                                                                                                                                                                                                                                                  • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                                  • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                                  • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                                  java.management.rmi
                                                                                                                                                                                                                                                                                                                                                    javax.management.remote.rmi
                                                                                                                                                                                                                                                                                                                                                      RMIConnector
                                                                                                                                                                                                                                                                                                                                                        getMBeanServerConnection(Subject)
                                                                                                                                                                                                                                                                                                                                                        java.management
                                                                                                                                                                                                                                                                                                                                                          java.lang.management
                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                            • + forRemoval
                                                                                                                                                                                                                                                                                                                                                            MemoryMXBean
                                                                                                                                                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                                                                                                                                                              javax.management.loading
                                                                                                                                                                                                                                                                                                                                                                MLetContent
                                                                                                                                                                                                                                                                                                                                                                MLet
                                                                                                                                                                                                                                                                                                                                                                PrivateMLet
                                                                                                                                                                                                                                                                                                                                                                MLetMBean
                                                                                                                                                                                                                                                                                                                                                                javax.management.modelmbean
                                                                                                                                                                                                                                                                                                                                                                  DescriptorSupport
                                                                                                                                                                                                                                                                                                                                                                    DescriptorSupport(String)
                                                                                                                                                                                                                                                                                                                                                                    toXMLString()
                                                                                                                                                                                                                                                                                                                                                                    XMLParseException
                                                                                                                                                                                                                                                                                                                                                                    javax.management.remote
                                                                                                                                                                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                      JMXConnector
                                                                                                                                                                                                                                                                                                                                                                        • - abstract
                                                                                                                                                                                                                                                                                                                                                                        javax.management
                                                                                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                          java.naming
                                                                                                                                                                                                                                                                                                                                                                            javax.naming
                                                                                                                                                                                                                                                                                                                                                                              Context
                                                                                                                                                                                                                                                                                                                                                                                APPLET
                                                                                                                                                                                                                                                                                                                                                                                java.net.http
                                                                                                                                                                                                                                                                                                                                                                                  java.net.http
                                                                                                                                                                                                                                                                                                                                                                                    HttpRequest.BodyPublishers
                                                                                                                                                                                                                                                                                                                                                                                      HttpRequest
                                                                                                                                                                                                                                                                                                                                                                                        HttpResponse.BodyHandlers
                                                                                                                                                                                                                                                                                                                                                                                          HttpResponse.BodySubscribers
                                                                                                                                                                                                                                                                                                                                                                                            HttpClient.Version
                                                                                                                                                                                                                                                                                                                                                                                              HttpRequest.Builder
                                                                                                                                                                                                                                                                                                                                                                                                HttpResponse.PushPromiseHandler
                                                                                                                                                                                                                                                                                                                                                                                                  HttpResponse
                                                                                                                                                                                                                                                                                                                                                                                                    java.rmi
                                                                                                                                                                                                                                                                                                                                                                                                      java.rmi.server
                                                                                                                                                                                                                                                                                                                                                                                                        RMIClassLoader
                                                                                                                                                                                                                                                                                                                                                                                                          • - throws SecurityException
                                                                                                                                                                                                                                                                                                                                                                                                          java.security.jgss
                                                                                                                                                                                                                                                                                                                                                                                                            javax.security.auth.kerberos
                                                                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                              java.sql
                                                                                                                                                                                                                                                                                                                                                                                                                java.sql
                                                                                                                                                                                                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                  Types
                                                                                                                                                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                                                                                                                                                    JDBCType
                                                                                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                                                                                      • + implements AutoCloseable
                                                                                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                                                                                      • + implements AutoCloseable
                                                                                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                                                                                      • + implements AutoCloseable
                                                                                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                                                                                      Connection
                                                                                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                                                                                        • + implements AutoCloseable
                                                                                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                                                                                        java.xml.crypto
                                                                                                                                                                                                                                                                                                                                                                                                                          javax.xml.crypto.dsig
                                                                                                                                                                                                                                                                                                                                                                                                                            SignatureMethod
                                                                                                                                                                                                                                                                                                                                                                                                                              java.xml
                                                                                                                                                                                                                                                                                                                                                                                                                                javax.xml.catalog
                                                                                                                                                                                                                                                                                                                                                                                                                                  CatalogManager

                                                                                                                                                                                                                                                                                                                                                                                                                                    This report is based on simple comparison of all public and protected APIs of the Java SE packages of JDK builds 27-ea+1-3-open and 21.0.9+10-LTS-tem. 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.