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

AWT broken on Solaris with twm window manager (and perhaps others)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.1.5
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      1.1.5
    • CPU:
      sparc
    • OS:
      solaris_2.5.1
    • Verification:
      Not verified

      Backports

        Description

        This morning I built a workspace containing everything that was putback to the
        JDK 1.2 master workspace last night, so this corresponds to what will be the
        "U" build when it's promoted tomorrow.

        The AWT is very broken on Solaris, using the twm window manager instead of the
        more common olwm window manager. I haven't checked any others.

        HotJava comes up with a window that contains the menu bar but is otherwise
        black. If I resize it I can sometimes get a partial image, but it's surrounded
        by black borders on the sides and bottom.

        The Animator demo throws the following exception:

          java.lang.ExceptionInInitializerError
        at
        at sun.awt.image.OffScreenImage.initBackground(OffScreenImage.java:86)
        at sun.awt.image.OffScreenImage.<init>(OffScreenImage.java:74)
        at sun.awt.motif.MComponentPeer.createImage(MComponentPeer.java:197)
        at java.awt.Component.createImage(Component.java:1627)
        at Animator.run(Animator.java:882)
        at java.lang.Thread.run(Thread.java:472)

        The GraphLayout demo just hangs.

        The SwingSet demo comes up with a black window, then tries to resize itself to
        be larger than my screen; sometimes it just hangs. If I resize it a few times
        it tries to paint a partial image.

        This is a showstopper for 1.2beta2.

        -- mr@eng 11/12/1997

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pyoung Paul Young
                Reporter:
                mr Mark Reinhold
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: