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

javax.swing.DefaultPopupFactory.* inner classes should be package-private

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs



      Name: krT82822 Date: 02/06/2000


      java 1.3rc1

      javax.swing.DefaultPopupFactory is a package-private class
      It has three protected inner classes.

      Since the containing class is package private, it cannot be subclassed
      by anything outside of the package. Therefore, making the inner classes
      protected doesn't buy you anything.

      Since there is no reason to make them protected, it would be better (IMHO) to
      leave them package private.
      (Review ID: 100793)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: