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

New APIs in Java 18

Comparing Java 18 (18.0.2.1+1-tem) with Java 14 (14.0.2+12-adpt).

Element Modification
java.base
    java.io
      CharArrayReader
        • added
        Console
          FileInputStream
            • added
            • added
            InputStreamReader
              • added
              ObjectInputFilter.Config
                ObjectInputStream.GetField
                  • + throws ClassNotFoundException
                  PrintStream
                    WriteAbortedException
                      • + deprecated
                      ObjectInputFilter
                        java.lang.annotation
                          ElementType
                            • - preview
                            java.lang.constant
                              ConstantDescs
                                • + sealed
                                • + sealed
                                • + sealed
                                • + sealed
                                • + sealed
                                java.lang.invoke
                                  ConstantBootstraps
                                    ConstantBootstraps()
                                    MethodHandle
                                      • + final
                                      MethodHandles.Lookup
                                        MethodHandles
                                          VarHandle
                                            • - final
                                            • - final
                                            • - final
                                            java.lang.ref
                                              Reference
                                                • + deprecated
                                                java.lang.reflect
                                                  AccessibleObject
                                                    • + deprecated
                                                    • + sealed
                                                    Method
                                                      • - throws IllegalArgumentException
                                                      Modifier
                                                        Modifier()
                                                        • - preview
                                                        AnnotatedType
                                                          • added
                                                          • added
                                                          • added
                                                          InvocationHandler
                                                            java.lang.runtime
                                                              • - preview
                                                              java.lang
                                                                • + implements Constable
                                                                • + forRemoval
                                                                • + forRemoval
                                                                • + implements Constable
                                                                • + forRemoval
                                                                • + forRemoval
                                                                Character.UnicodeBlock
                                                                  • + implements Constable
                                                                  • + forRemoval
                                                                  Class
                                                                    • - preview
                                                                    • - preview
                                                                    Double
                                                                      • + forRemoval
                                                                      • + forRemoval
                                                                      Enum
                                                                        • + deprecated
                                                                        • + forRemoval
                                                                        Float
                                                                          • + forRemoval
                                                                          • + forRemoval
                                                                          • + forRemoval
                                                                          IndexOutOfBoundsException
                                                                            Integer
                                                                              • + forRemoval
                                                                              • + forRemoval
                                                                              Long
                                                                                • + forRemoval
                                                                                • + forRemoval
                                                                                Math
                                                                                  NullPointerException
                                                                                    • added
                                                                                    Object
                                                                                      • + forRemoval
                                                                                      Process
                                                                                        • - preview
                                                                                        Runtime
                                                                                          • + deprecated
                                                                                          • + deprecated
                                                                                          • + deprecated
                                                                                          • + deprecated
                                                                                          • + forRemoval
                                                                                          • + deprecated
                                                                                          • + forRemoval
                                                                                          • + forRemoval
                                                                                          • + implements Constable
                                                                                          • + forRemoval
                                                                                          • + forRemoval
                                                                                          StrictMath
                                                                                            String
                                                                                              • - preview
                                                                                              • - preview
                                                                                              • - preview
                                                                                              System
                                                                                                • + deprecated
                                                                                                • + forRemoval
                                                                                                • + deprecated
                                                                                                • + forRemoval
                                                                                                • + deprecated
                                                                                                • + forRemoval
                                                                                                ThreadGroup
                                                                                                  • + deprecated
                                                                                                  • + forRemoval
                                                                                                  • + deprecated
                                                                                                  • + forRemoval
                                                                                                  • + deprecated
                                                                                                  • + forRemoval
                                                                                                  • + deprecated
                                                                                                  • + forRemoval
                                                                                                  • + deprecated
                                                                                                  • + forRemoval
                                                                                                  • + forRemoval
                                                                                                  Thread
                                                                                                    • + deprecated
                                                                                                    • + forRemoval
                                                                                                    • + forRemoval
                                                                                                    Character.UnicodeScript
                                                                                                      CharSequence
                                                                                                        java.net.spi
                                                                                                          java.net
                                                                                                            DatagramSocket
                                                                                                              • + deprecated
                                                                                                              MulticastSocket
                                                                                                                supportedOptions()
                                                                                                                • removed
                                                                                                                ServerSocket
                                                                                                                  • + deprecated
                                                                                                                  Socket
                                                                                                                    • + deprecated
                                                                                                                    URLDecoder
                                                                                                                      URLDecoder()
                                                                                                                      StandardProtocolFamily
                                                                                                                        java.nio.channels.spi
                                                                                                                          SelectorProvider
                                                                                                                            java.nio.channels
                                                                                                                              ServerSocketChannel
                                                                                                                                SocketChannel
                                                                                                                                  java.nio.charset
                                                                                                                                    Charset
                                                                                                                                      java.nio
                                                                                                                                        ByteBuffer
                                                                                                                                          CharBuffer
                                                                                                                                            DoubleBuffer
                                                                                                                                              FloatBuffer
                                                                                                                                                IntBuffer
                                                                                                                                                  LongBuffer
                                                                                                                                                    MappedByteBuffer
                                                                                                                                                      ShortBuffer
                                                                                                                                                        java.security.cert
                                                                                                                                                          X509CRLSelector
                                                                                                                                                            • + deprecated
                                                                                                                                                            X509CRL
                                                                                                                                                              • + deprecated
                                                                                                                                                              X509CertSelector
                                                                                                                                                                • + deprecated
                                                                                                                                                                • + deprecated
                                                                                                                                                                • + deprecated
                                                                                                                                                                • + deprecated
                                                                                                                                                                X509Certificate
                                                                                                                                                                  • + deprecated
                                                                                                                                                                  • + deprecated
                                                                                                                                                                  java.security.interfaces
                                                                                                                                                                    java.security.spec
                                                                                                                                                                      MGF1ParameterSpec
                                                                                                                                                                        • added
                                                                                                                                                                        NamedParameterSpec
                                                                                                                                                                          java.security
                                                                                                                                                                            • + deprecated
                                                                                                                                                                            • + forRemoval
                                                                                                                                                                            • + deprecated
                                                                                                                                                                            • + forRemoval
                                                                                                                                                                            • + deprecated
                                                                                                                                                                            • + forRemoval
                                                                                                                                                                            KeyStoreSpi
                                                                                                                                                                              KeyStore
                                                                                                                                                                                • + deprecated
                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                • + deprecated
                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                • + deprecated
                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                • + deprecated
                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                java.text
                                                                                                                                                                                  DecimalFormatSymbols
                                                                                                                                                                                    java.time.format
                                                                                                                                                                                      DateTimeFormatterBuilder
                                                                                                                                                                                        java.time
                                                                                                                                                                                          • + implements InstantSource
                                                                                                                                                                                          Duration
                                                                                                                                                                                            java.util.concurrent
                                                                                                                                                                                              Executors
                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                                ForkJoinPool
                                                                                                                                                                                                  • added
                                                                                                                                                                                                  • added
                                                                                                                                                                                                  • added
                                                                                                                                                                                                  ThreadLocalRandom
                                                                                                                                                                                                    nextGaussian()
                                                                                                                                                                                                    ThreadPoolExecutor
                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                      java.util.stream
                                                                                                                                                                                                        DoubleStream
                                                                                                                                                                                                          IntStream
                                                                                                                                                                                                            LongStream
                                                                                                                                                                                                              Stream
                                                                                                                                                                                                                java.util
                                                                                                                                                                                                                  NoSuchElementException
                                                                                                                                                                                                                    Objects
                                                                                                                                                                                                                      • + implements RandomGenerator
                                                                                                                                                                                                                      • + implements RandomGenerator
                                                                                                                                                                                                                      • + implements RandomGenerator.SplittableGenerator
                                                                                                                                                                                                                      nextBoolean()
                                                                                                                                                                                                                      nextDouble()
                                                                                                                                                                                                                      nextDouble(double)
                                                                                                                                                                                                                      nextDouble(double, double)
                                                                                                                                                                                                                      nextInt(int)
                                                                                                                                                                                                                      nextInt(int, int)
                                                                                                                                                                                                                      nextLong(long)
                                                                                                                                                                                                                      nextLong(long, long)
                                                                                                                                                                                                                      TreeMap
                                                                                                                                                                                                                        Map.Entry
                                                                                                                                                                                                                          javax.net.ssl
                                                                                                                                                                                                                            SSLSession
                                                                                                                                                                                                                              • - abstract
                                                                                                                                                                                                                              javax.security.auth
                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                                                                Subject
                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                  java.compiler
                                                                                                                                                                                                                                    javax.annotation.processing
                                                                                                                                                                                                                                      Messager
                                                                                                                                                                                                                                        javax.lang.model.element
                                                                                                                                                                                                                                          ElementKind
                                                                                                                                                                                                                                            • - preview
                                                                                                                                                                                                                                            • - preview
                                                                                                                                                                                                                                            • - preview
                                                                                                                                                                                                                                            • - final
                                                                                                                                                                                                                                            ElementVisitor
                                                                                                                                                                                                                                              • - preview
                                                                                                                                                                                                                                              Element
                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                ExecutableElement
                                                                                                                                                                                                                                                  • - preview
                                                                                                                                                                                                                                                  TypeElement
                                                                                                                                                                                                                                                    • - preview
                                                                                                                                                                                                                                                    javax.lang.model.type
                                                                                                                                                                                                                                                      TypeMirror
                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                        javax.lang.model.util
                                                                                                                                                                                                                                                          • - preview
                                                                                                                                                                                                                                                          ElementFilter
                                                                                                                                                                                                                                                            • - preview
                                                                                                                                                                                                                                                            • - preview
                                                                                                                                                                                                                                                            • - preview
                                                                                                                                                                                                                                                            ElementKindVisitor6
                                                                                                                                                                                                                                                              • - preview
                                                                                                                                                                                                                                                              • - preview
                                                                                                                                                                                                                                                              • - preview
                                                                                                                                                                                                                                                              Elements
                                                                                                                                                                                                                                                                • - preview
                                                                                                                                                                                                                                                                javax.lang.model
                                                                                                                                                                                                                                                                  SourceVersion
                                                                                                                                                                                                                                                                    javax.tools
                                                                                                                                                                                                                                                                      ForwardingJavaFileManager
                                                                                                                                                                                                                                                                        ToolProvider
                                                                                                                                                                                                                                                                          ToolProvider()
                                                                                                                                                                                                                                                                          DocumentationTool.Location
                                                                                                                                                                                                                                                                            JavaFileManager
                                                                                                                                                                                                                                                                              java.datatransfer
                                                                                                                                                                                                                                                                                java.awt.datatransfer
                                                                                                                                                                                                                                                                                  DataFlavor
                                                                                                                                                                                                                                                                                    • + final
                                                                                                                                                                                                                                                                                    • + final
                                                                                                                                                                                                                                                                                    • + final
                                                                                                                                                                                                                                                                                    java.desktop
                                                                                                                                                                                                                                                                                      java.applet
                                                                                                                                                                                                                                                                                        • + forRemoval
                                                                                                                                                                                                                                                                                        • + forRemoval
                                                                                                                                                                                                                                                                                        • + forRemoval
                                                                                                                                                                                                                                                                                        • + forRemoval
                                                                                                                                                                                                                                                                                        java.awt.color
                                                                                                                                                                                                                                                                                          ICC_Profile
                                                                                                                                                                                                                                                                                            finalize()
                                                                                                                                                                                                                                                                                            java.awt.dnd
                                                                                                                                                                                                                                                                                              DragSourceAdapter
                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                DropTargetAdapter
                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                  java.awt.event
                                                                                                                                                                                                                                                                                                    ComponentAdapter
                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                      ContainerAdapter
                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                        FocusAdapter
                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                          HierarchyBoundsAdapter
                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                            KeyAdapter
                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                              MouseAdapter
                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                MouseMotionAdapter
                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                  WindowAdapter
                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                    java.awt.font
                                                                                                                                                                                                                                                                                                                      GlyphVector
                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                        LayoutPath
                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                          LineMetrics
                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                            java.awt.image
                                                                                                                                                                                                                                                                                                                              AbstractMultiResolutionImage
                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                BufferStrategy
                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                  ColorModel
                                                                                                                                                                                                                                                                                                                                    finalize()
                                                                                                                                                                                                                                                                                                                                    IndexColorModel
                                                                                                                                                                                                                                                                                                                                      finalize()
                                                                                                                                                                                                                                                                                                                                      RGBImageFilter
                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                        VolatileImage
                                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                                          java.awt
                                                                                                                                                                                                                                                                                                                                            FocusTraversalPolicy
                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                              Graphics
                                                                                                                                                                                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                                                                                                                                                                                Image
                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                  PrintJob
                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                    • + forRemoval
                                                                                                                                                                                                                                                                                                                                                    Toolkit
                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                      java.beans
                                                                                                                                                                                                                                                                                                                                                        Beans
                                                                                                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                                                                                                          PersistenceDelegate
                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                            • + forRemoval
                                                                                                                                                                                                                                                                                                                                                            javax.accessibility
                                                                                                                                                                                                                                                                                                                                                              AccessibleContext
                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                AccessibleHyperlink
                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                  javax.imageio.spi
                                                                                                                                                                                                                                                                                                                                                                    ServiceRegistry
                                                                                                                                                                                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                      javax.imageio.stream
                                                                                                                                                                                                                                                                                                                                                                        FileCacheImageInputStream
                                                                                                                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                          FileImageInputStream
                                                                                                                                                                                                                                                                                                                                                                            • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                            FileImageOutputStream
                                                                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                              ImageInputStreamImpl
                                                                                                                                                                                                                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                MemoryCacheImageInputStream
                                                                                                                                                                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                  javax.print.event
                                                                                                                                                                                                                                                                                                                                                                                    PrintJobAdapter
                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                      javax.print
                                                                                                                                                                                                                                                                                                                                                                                        PrintServiceLookup
                                                                                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                                                                                          ServiceUIFactory
                                                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                                                            StreamPrintServiceFactory
                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                              javax.sound.midi.spi
                                                                                                                                                                                                                                                                                                                                                                                                MidiDeviceProvider
                                                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                                                  MidiFileReader
                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                    MidiFileWriter
                                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                                      SoundbankReader
                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                        javax.sound.sampled.spi
                                                                                                                                                                                                                                                                                                                                                                                                          AudioFileReader
                                                                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                                                                            AudioFileWriter
                                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                                              FormatConversionProvider
                                                                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                MixerProvider
                                                                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                  javax.swing.border
                                                                                                                                                                                                                                                                                                                                                                                                                    AbstractBorder
                                                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                      javax.swing.colorchooser
                                                                                                                                                                                                                                                                                                                                                                                                                        AbstractColorChooserPanel
                                                                                                                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                          javax.swing.event
                                                                                                                                                                                                                                                                                                                                                                                                                            InternalFrameAdapter
                                                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                              MouseInputAdapter
                                                                                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                javax.swing.filechooser
                                                                                                                                                                                                                                                                                                                                                                                                                                  FileFilter
                                                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                    FileSystemView
                                                                                                                                                                                                                                                                                                                                                                                                                                      FileView
                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                        javax.swing.plaf.basic
                                                                                                                                                                                                                                                                                                                                                                                                                                          BasicDirectoryModel
                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                            BasicLookAndFeel
                                                                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                              BasicRadioButtonUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                installListeners(AbstractButton)
                                                                                                                                                                                                                                                                                                                                                                                                                                                • removed
                                                                                                                                                                                                                                                                                                                                                                                                                                                uninstallListeners(AbstractButton)
                                                                                                                                                                                                                                                                                                                                                                                                                                                • removed
                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                BasicSliderUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                  BasicToolBarUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                    javax.swing.plaf.metal
                                                                                                                                                                                                                                                                                                                                                                                                                                                      MetalTheme
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                        javax.swing.plaf.synth
                                                                                                                                                                                                                                                                                                                                                                                                                                                          SynthDesktopIconUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                            SynthPainter
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                              javax.swing.plaf
                                                                                                                                                                                                                                                                                                                                                                                                                                                                ButtonUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ColorChooserUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ComboBoxUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      DesktopIconUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DesktopPaneUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          FileChooserUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            InternalFrameUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              LabelUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ListUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  MenuBarUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    MenuItemUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      OptionPaneUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        PanelUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          PopupMenuUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ProgressBarUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RootPaneUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ScrollBarUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ScrollPaneUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    SeparatorUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      SliderUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        SpinnerUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SplitPaneUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            TabbedPaneUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              TableHeaderUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                TableUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  TextUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ToolBarUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ToolTipUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        TreeUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ViewportUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            javax.swing.table
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              AbstractTableModel
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                TableStringConverter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  javax.swing.text.html
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    HTMLDocument.Iterator
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      HTMLEditorKit.Parser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        javax.swing.text
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          DefaultTextUI
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DocumentFilter.FilterBypass
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GlyphView.GlyphPainter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                LayeredHighlighter.LayerPainter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  LayeredHighlighter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    NavigationFilter.FilterBypass
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      javax.swing.tree
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        AbstractLayoutCache.NodeDimensions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          AbstractLayoutCache
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            javax.swing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              AbstractButton
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                AbstractCellEditor
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  AbstractListModel
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    AbstractSpinnerModel
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      FocusManager
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        InputVerifier
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          InternalFrameFocusTraversalPolicy
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            JFormattedTextField.AbstractFormatterFactory
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              JFormattedTextField.AbstractFormatter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                JPasswordField
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + implements AccessibleAction
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + implements ChangeListener
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  LookAndFeel
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    RepaintManager
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      RowFilter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.logging
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          java.util.logging
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            LogManager
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              LogRecord
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.management.rmi
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  javax.management.remote.rmi
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    RMIConnectorServer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      CREDENTIAL_TYPES
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • removed
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.management
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.lang.management
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          MemoryMXBean
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            javax.management.relation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RoleStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.naming
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  javax.naming
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Context
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.net.http
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.net.http
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          HttpRequest.BodyPublishers
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            HttpRequest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              HttpRequest.Builder
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.rmi
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  java.rmi.activation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  java.rmi
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    java.xml.crypto
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      javax.xml.crypto.dsig.spec
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        javax.xml.crypto.dsig
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SignatureMethod
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.xml
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              javax.xml.xpath
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                XPathFactory

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  This report is based on simple comparison of all public and protected APIs of the Java SE packages of JDK builds 18.0.2.1+1-tem and 14.0.2+12-adpt. 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.