Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8250856

Address reliance on default constructors in the AWT APIs

    XMLWordPrintable

Details

    • b12

    Description

      Several hundred classes in the java.desktop module reply on default constructors as part of their public API.

      This for the AWT APIs.

      Default ctor on java.awt.ContainerOrderFocusTraversalPolicy
      Default ctor on java.awt.DefaultFocusTraversalPolicy
      Default ctor on java.awt.DefaultKeyboardFocusManager
      Default ctor on java.awt.FocusTraversalPolicy
      Default ctor on java.awt.Toolkit
      Default ctor on java.awt.dnd.DragSourceAdapter
      Default ctor on java.awt.dnd.DropTargetAdapter
      Default ctor on java.awt.event.ComponentAdapter
      Default ctor on java.awt.event.ContainerAdapter
      Default ctor on java.awt.event.FocusAdapter
      Default ctor on java.awt.event.HierarchyBoundsAdapter
      Default ctor on java.awt.event.KeyAdapter
      Default ctor on java.awt.event.MouseAdapter
      Default ctor on java.awt.event.MouseMotionAdapter
      Default ctor on java.awt.event.WindowAdapter

      Attachments

        Issue Links

          Activity

            People

              serb Sergey Bylokhov
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: