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

New APIs in Java 18

Comparing Java 18 (18-ea+8-350-open) with Java 15 (15.0.2+7-adpt).

Element Modification
java.base
    java.io
      CharArrayReader
        • added
        Console
          • added
          FileInputStream
            • added
            • added
            InputStreamReader
              • added
              ObjectInputFilter.Config
                • added
                • added
                WriteAbortedException
                  • + deprecated
                  ObjectInputFilter
                    • added
                    • added
                    • added
                    • added
                    java.lang.constant
                      • + permitted subclass PrimitiveClassDescImpl
                      • + permitted subclass ReferenceClassDescImpl
                      • + permitted subclass ClassDesc
                      • + permitted subclass Double
                      • + permitted subclass DynamicConstantDesc
                      • + permitted subclass Float
                      • + permitted subclass Integer
                      • + permitted subclass Long
                      • + permitted subclass MethodHandleDesc
                      • + permitted subclass MethodTypeDesc
                      • + permitted subclass String
                      • + permitted subclass DirectMethodHandleDescImpl
                      • + permitted subclass AsTypeMethodHandleDesc
                      • + permitted subclass DirectMethodHandleDesc
                      • + permitted subclass MethodTypeDescImpl
                      java.lang.invoke
                        MethodHandles.Lookup
                          • added
                          • added
                          MethodHandles
                            • added
                            • added
                            • added
                            • added
                            VarHandle
                              • added
                              • added
                              • added
                              java.lang.ref
                                Reference
                                  • + deprecated
                                  • added
                                  java.lang.reflect
                                    AccessibleObject
                                      • + deprecated
                                      • + permitted subclass Constructor
                                      • + permitted subclass Method
                                      InvocationHandler
                                        • added
                                        java.lang.runtime
                                          • added
                                          java.lang
                                            Boolean
                                              • + forRemoval
                                              • + forRemoval
                                              Byte
                                                • + forRemoval
                                                • + forRemoval
                                                Character
                                                  • + forRemoval
                                                  Class
                                                    • added
                                                    permittedSubclasses()
                                                    • removed
                                                    Double
                                                      • + forRemoval
                                                      • + forRemoval
                                                      Float
                                                        • + forRemoval
                                                        • + forRemoval
                                                        • + forRemoval
                                                        IndexOutOfBoundsException
                                                          • added
                                                          Integer
                                                            • + forRemoval
                                                            • + forRemoval
                                                            Long
                                                              • + forRemoval
                                                              • + forRemoval
                                                              Math
                                                                • added
                                                                • added
                                                                • added
                                                                Process
                                                                  • added
                                                                  • added
                                                                  • added
                                                                  • added
                                                                  • added
                                                                  • added
                                                                  • + deprecated
                                                                  • + forRemoval
                                                                  • + forRemoval
                                                                  Short
                                                                    • + forRemoval
                                                                    • + forRemoval
                                                                    StrictMath
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      System
                                                                        • + deprecated
                                                                        • + forRemoval
                                                                        • + deprecated
                                                                        • + forRemoval
                                                                        ThreadGroup
                                                                          • + deprecated
                                                                          • + forRemoval
                                                                          • + deprecated
                                                                          • + forRemoval
                                                                          • + deprecated
                                                                          • + forRemoval
                                                                          • + deprecated
                                                                          • + forRemoval
                                                                          • + deprecated
                                                                          • + forRemoval
                                                                          • + forRemoval
                                                                          Thread
                                                                            • + deprecated
                                                                            • + forRemoval
                                                                            java.net
                                                                              DatagramSocket
                                                                                • added
                                                                                • added
                                                                                • + deprecated
                                                                                ServerSocket
                                                                                  • + deprecated
                                                                                  Socket
                                                                                    • + deprecated
                                                                                    URLDecoder
                                                                                      URLDecoder()
                                                                                      • removed
                                                                                      • added
                                                                                      StandardProtocolFamily
                                                                                        • added
                                                                                        java.nio
                                                                                          ByteBuffer
                                                                                            • added
                                                                                            CharBuffer
                                                                                              • added
                                                                                              DoubleBuffer
                                                                                                • added
                                                                                                FloatBuffer
                                                                                                  • added
                                                                                                  IntBuffer
                                                                                                    • added
                                                                                                    LongBuffer
                                                                                                      • added
                                                                                                      MappedByteBuffer
                                                                                                        • added
                                                                                                        • added
                                                                                                        • added
                                                                                                        • added
                                                                                                        ShortBuffer
                                                                                                          • added
                                                                                                          java.security.cert
                                                                                                            X509CRLSelector
                                                                                                              • + deprecated
                                                                                                              X509CRL
                                                                                                                • + deprecated
                                                                                                                X509CertSelector
                                                                                                                  • + deprecated
                                                                                                                  • + deprecated
                                                                                                                  • + deprecated
                                                                                                                  • + deprecated
                                                                                                                  X509Certificate
                                                                                                                    • + deprecated
                                                                                                                    • + deprecated
                                                                                                                    java.security.spec
                                                                                                                      MGF1ParameterSpec
                                                                                                                        • added
                                                                                                                        • added
                                                                                                                        • added
                                                                                                                        • added
                                                                                                                        • added
                                                                                                                        java.security
                                                                                                                          • + deprecated
                                                                                                                          • + forRemoval
                                                                                                                          • + deprecated
                                                                                                                          • + forRemoval
                                                                                                                          • + deprecated
                                                                                                                          • + forRemoval
                                                                                                                          • + deprecated
                                                                                                                          • + forRemoval
                                                                                                                          • + deprecated
                                                                                                                          • + forRemoval
                                                                                                                          • + deprecated
                                                                                                                          • + forRemoval
                                                                                                                          • + deprecated
                                                                                                                          • + forRemoval
                                                                                                                          java.time.format
                                                                                                                            DateTimeFormatterBuilder
                                                                                                                              • added
                                                                                                                              java.time
                                                                                                                                • + implements InstantSource
                                                                                                                                Duration
                                                                                                                                  • added
                                                                                                                                  • added
                                                                                                                                  java.util.concurrent
                                                                                                                                    Executors
                                                                                                                                      • + deprecated
                                                                                                                                      • + forRemoval
                                                                                                                                      • + deprecated
                                                                                                                                      • + forRemoval
                                                                                                                                      • + deprecated
                                                                                                                                      • + forRemoval
                                                                                                                                      ForkJoinPool
                                                                                                                                        • added
                                                                                                                                        • added
                                                                                                                                        • added
                                                                                                                                        ThreadLocalRandom
                                                                                                                                          • added
                                                                                                                                          • added
                                                                                                                                          nextGaussian()
                                                                                                                                          • removed
                                                                                                                                          • added
                                                                                                                                          java.util.stream
                                                                                                                                            • added
                                                                                                                                            DoubleStream
                                                                                                                                              • added
                                                                                                                                              • added
                                                                                                                                              IntStream
                                                                                                                                                • added
                                                                                                                                                • added
                                                                                                                                                LongStream
                                                                                                                                                  • added
                                                                                                                                                  Stream
                                                                                                                                                    • added
                                                                                                                                                    • added
                                                                                                                                                    • added
                                                                                                                                                    • added
                                                                                                                                                    • added
                                                                                                                                                    java.util
                                                                                                                                                      • added
                                                                                                                                                      Objects
                                                                                                                                                        • added
                                                                                                                                                        • added
                                                                                                                                                        • added
                                                                                                                                                        • + implements RandomGenerator
                                                                                                                                                        • + implements RandomGenerator
                                                                                                                                                        • + implements RandomGenerator.SplittableGenerator
                                                                                                                                                        nextBoolean()
                                                                                                                                                        • removed
                                                                                                                                                        nextDouble()
                                                                                                                                                        • removed
                                                                                                                                                        nextDouble(double)
                                                                                                                                                        • removed
                                                                                                                                                        nextDouble(double, double)
                                                                                                                                                        • removed
                                                                                                                                                        nextInt(int)
                                                                                                                                                        • removed
                                                                                                                                                        nextInt(int, int)
                                                                                                                                                        • removed
                                                                                                                                                        nextLong(long)
                                                                                                                                                        • removed
                                                                                                                                                        nextLong(long, long)
                                                                                                                                                        • removed
                                                                                                                                                        • added
                                                                                                                                                        • added
                                                                                                                                                        • added
                                                                                                                                                        • added
                                                                                                                                                        • added
                                                                                                                                                        Map.Entry
                                                                                                                                                          • added
                                                                                                                                                          javax.security.auth
                                                                                                                                                            • + deprecated
                                                                                                                                                            • + forRemoval
                                                                                                                                                            Subject
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              java.compiler
                                                                                                                                                                javax.lang.model.util
                                                                                                                                                                  Elements
                                                                                                                                                                    • added
                                                                                                                                                                    javax.lang.model
                                                                                                                                                                      SourceVersion
                                                                                                                                                                        • added
                                                                                                                                                                        • added
                                                                                                                                                                        • added
                                                                                                                                                                        javax.tools
                                                                                                                                                                          ToolProvider
                                                                                                                                                                            ToolProvider()
                                                                                                                                                                            • removed
                                                                                                                                                                            java.datatransfer
                                                                                                                                                                              java.awt.datatransfer
                                                                                                                                                                                DataFlavor
                                                                                                                                                                                  • + final
                                                                                                                                                                                  • + final
                                                                                                                                                                                  • + final
                                                                                                                                                                                  java.desktop
                                                                                                                                                                                    java.applet
                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                      java.awt.color
                                                                                                                                                                                        ICC_Profile
                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                          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
                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                  IndexColorModel
                                                                                                                                                                                                                                    • + forRemoval
                                                                                                                                                                                                                                    RGBImageFilter
                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                      VolatileImage
                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                        java.awt.peer
                                                                                                                                                                                                                                          RobotPeer
                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                            java.awt
                                                                                                                                                                                                                                              FocusTraversalPolicy
                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                Image
                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                  PrintJob
                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                    Toolkit
                                                                                                                                                                                                                                                      • - public
                                                                                                                                                                                                                                                      • + protected
                                                                                                                                                                                                                                                      java.beans
                                                                                                                                                                                                                                                        Beans
                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                          PersistenceDelegate
                                                                                                                                                                                                                                                            • - public
                                                                                                                                                                                                                                                            • + protected
                                                                                                                                                                                                                                                            • + forRemoval
                                                                                                                                                                                                                                                            javax.accessibility
                                                                                                                                                                                                                                                              AccessibleContext
                                                                                                                                                                                                                                                                • - public
                                                                                                                                                                                                                                                                • + protected
                                                                                                                                                                                                                                                                AccessibleHyperlink
                                                                                                                                                                                                                                                                  • - public
                                                                                                                                                                                                                                                                  • + protected
                                                                                                                                                                                                                                                                  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
                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                      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
                                                                                                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                                                                                                  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
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  LookAndFeel
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    RepaintManager
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      RowFilter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + protected
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.logging
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          java.util.logging
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            LogManager
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              LogRecord
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.management
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  javax.management.relation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    RoleStatus
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.naming
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        javax.naming
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Context
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.net.http
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              java.net.http
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                HttpRequest.BodyPublishers
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  HttpRequest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    java.rmi
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.rmi.activation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • removed
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.rmi
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.xml.crypto
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          javax.xml.crypto.dsig.spec
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            javax.xml.crypto.dsig
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              SignatureMethod
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Data Source

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 18-ea+8-350-open and 15.0.2+7-adpt. It does not make statements about compatibility.

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