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

MenuSelectionManager constructor is no longer public

XMLWordPrintable

    • beta3
    • x86, sparc
    • generic, linux, solaris_2.6, windows_2000
    • Verified



      Name: acR10002 Date: 09/24/2001



      The following code has been added to the MenuSelectionManager.java, delta
      1.27 :
      ---------------
      ...
          MenuSelectionManager() {
              addChangeListener(menuChangeListener);
          }
      ...
      --------------

      As a result, no-arg constructor for javax.swing.MenuSelectionManager
      became package private since jdk1.4.0-b80, causing a compilation failures
      for the programs that create MenuSelectionManager instances. In
      particular, the JCK tests for MenuSelectionManager are failing to compile
      (api/javax_swing/MenuSelectionManager/index.html).

      This change hasn't been approved by CCC, so please either add public
      modifier to constructor or submit the CCC request.

      ======================================================================

            svioletsunw Scott Violet (Inactive)
            aycsunw Ayc Ayc (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: