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

Unsupported 16-bit depth error when executed from remote X server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0, 1.2.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6, solaris_7

      Description



      Name: vi73552 Date: 03/11/99


      My X window server of linux box uses 16 bit color depth.
      When i connect to a solaris from my linux box and
      execute any of java applet/swing program
      an error occurs like following

       Exception occurred during event dispatching:
      java.lang.InternalError: Unsupported 16-bit depth

              at sun.awt.motif.X11Graphics.X11LockViewResources(Native Method)
              at sun.awt.motif.X11Graphics.lock(Compiled Code)
              at sun.java2d.loops.LockableRaster.<init>(Compiled Code)
              at sun.java2d.loops.RasterOutputManager.drawString(Compiled Code)
              at sun.java2d.SunGraphics2D.drawString(Compiled Code)
              at Clock2.paint(Compiled Code)
              at Clock2.update(Compiled Code)
              at sun.awt.motif.MComponentPeer.handleEvent(Compiled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.EventQueue.dispatchEvent(Compiled Code)
              at java.awt.EventDispatchThread.run(Compiled Code)

      I couldn't execute any of the demo program installed with jdk1.2.
      java 1.1.3 awt used to work without this problem.
      it works fine when I use 32 bit depth.
      the jdk I use is java 1.2 solaris product release.
      (Review ID: 55417)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xdengsunw Xianfa Deng (Inactive)
              Reporter:
              vasya Vassili Igouchkine (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: