Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris

      Description

      The java.awt.Desktop.isDesktopSupported method hangs when ssh to "lapwai.sfbay" with DISPLAY set to "lapwai:0.0". lapwai may not support Desktop API (please check).

      Regardless if the system supports Desktop API or not, the isDesktopSupported() should return true/false gracefully instead of hanging.

      If DISPLAY is set to a valid system with desktop supported or an invalid value, it works fine.

      Attached is the jstack -F -m output and here are the top few frames:

      0xff2c12c0 __pollsys + 0x4
      0xff262044 pselect + 0x1c8
      0xff2623bc select + 0xa0
      0xd6b9d1ec _XWaitForReadable + 0xdc
      0xd6b9d01c _XRead + 0xec
      0xd6b9a598 XOpenDisplay + 0x534
      0xfbeb604c awt_init_Display + 0x290
      0xfbeb63dc Java_sun_awt_X11GraphicsEnvironment_initDisplay + 0x2c
      0xfc00e1e8 * sun.awt.X11GraphicsEnvironment.initDisplay(boolean)
      bci:940023280 (Interpreted frame)
      0xfc00e194 * sun.awt.X11GraphicsEnvironment.initDisplay(boolean) bci:0
      (Interpreted frame)
      0xfc005a30 * sun.awt.X11GraphicsEnvironment.access$100(boolean) bci:1
      line:52 (Interpreted frame)
      0xfc005a30 * sun.awt.X11GraphicsEnvironment$1.run() bci:72 line:155
      (Interpreted frame)
      0xfc00021c <StubRoutines>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                son Oleg Sukhodolsky (Inactive)
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: