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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.1.5
    • 1.2.0
    • client-libs
    • None
    • 1.1.5
    • sparc
    • solaris_2.5.1
    • Not verified

        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

              pyoung Paul Young (Inactive)
              mr Mark Reinhold
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: