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

Selecting from Choice menu, abnomal termination or hung occurs on Solaris/Linux

XMLWordPrintable

    • beta3
    • x86, sparc
    • solaris, solaris_8
    • Verified

      Tested with merlin-beta-refresh b74 on Solaris sparc/x86 2.6, 7, 8, 9 and RedHat Linux 6.2J Update.

      Selecting from Choice menu, abnormal termination or hung occurs on Solaris/Linux.
      This problem occurs in most execution of this test, but not every time.
      And the way to reproduce can not be specified.
      However, I confirmed that selecting from Choice menu for several times, abnomal termination or hung occurs.

      This problem is not seen on merlin-beta_refresh b73.
      Therefore, this is regression.

      Step to reproduce;
      1. Compile attached file and launch
         % javac CharViewMultiLine.java FontView.java
         % java CharViewMultiLine
      2. Select "Choice" from the choice menu on which "TextArea" is selected by
         default. (Items are TextArea, Choice and List)
      3. Click the choice on which "0000" is selected by default.
      4. Select one of the item.
      5. Then, this problem sometimes occurs in this point.
         If not, repeat 3-4 steps for several times
                   or change the font size for several times.

      Then, you will see the problem.


      <There are 3 error patterns>
      1. Abnomal termination;

         Current Java thread:
         at sun.awt.motif.MToolkit.run(Native Method)
         at java.lang.Thread.run(Thread.java:576)
         
       * Please see attached file(sparc9-server-abort1.log) for more detail.

      2. Abnomal termination;

         Current Java thread:
         at sun.awt.SunToolkit.getPrivateKey(Native Method)
         at sun.awt.SunToolkit.targetToAppContext(SunToolkit.java:248)
         at sun.awt.GlobalCursorManager$NativeUpdater.postIfNotPending(GlobalCursorManager.java:49)
         at sun.awt.GlobalCursorManager.updateCursorLater(GlobalCursorManager.java:109)
         at sun.awt.motif.MGlobalCursorManager.nativeUpdateCursor(MGlobalCursorManager.java:47)
         at sun.awt.motif.MToolkit.run(Native Method)
         at java.lang.Thread.run(Thread.java:576)

        * Please see attached file(sparc9-server-abort2.log) for more detail.

      3. hung;

         Exception in thread "AWT-Motif" java.lang.NoSuchMethodError: postEvent
         at sun.awt.motif.MToolkit.run(Native Method)
         at java.lang.Thread.run(Thread.java:576)






        

            mbronsonsunw Mike Bronson (Inactive)
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: