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

Java1.4.1_01 redraw problem with multiple JVM instances

    XMLWordPrintable

Details

    • 2d
    • sparc
    • solaris_8

    Description

      Hereby a use case, source code, binaries and screen-shots of the Sun Solaris
      8/Sparc Java RE-DRAW problem.

      This bug leads to "wiped-out" windows if multiple Java instances are run at one
      X-Server - even if direct graphics access is disabled.
      Below one will find a trivial application, which will reveal the re-draw error
      after some resizing and moving around of application windows.
      Several instances of this application have to be started.

      Some patience may be needed to observe this bug.
      More complex applications will reveal this bug much easier.

      ISSUE: SOLARIS REDRAW PROBLEM WITH MULTIPLE JAVA INSTANCES


      RELEASE:
      Java SDK release 1.4.0_01 - build 1.4.0_01-b03, Solaris/Sparc 8 w/ recommended
      J2SE patchset cluster Aug 23.


      COMPILE : <JDK140_01-HOME>/bin/javac WindowRedrawTest.java
      JAR w/src: <JDK140_01-HOME>/bin/jar cf redrawtest.jar Window*.*
      EXECUTE : <JDK140_01-HOME>/bin/java -cp redrawtest.jar WindowRedrawTest


      USE CASE:

      Start several instances of WindowRedrawTest. Each application consists of two
      window. Resize the windows and drag them around.
      A re-draw error will persist if the scrambled window is dragged around then. A
      screenshot can be taken easily - see below.

      Window content may be restored if some overlap is forced by another window.

      The error is re-produced easier if three instances are used.
      If a re-draw error has been achived once - further ones may be observered with
      less effort. Also one application instance may be closed then.
      It seems that this bug has some persistence then.


      COMMENT:

      More complex multi-windowed applications seem to reveal this error much easier!


      ATTACHED FILES:

      redrawtest.jar, jar archive containing sourcec and classes.
      redraw-error.ras,sun raster image from window containing re-daraw error
      redraw-error.jpg,jpeg image from window containing re-draw error-

      (See attached file: redrawtest.jar)
      (See attached file: redraw-error.ras)
      (See attached file: redraw-error.jpg)

      #----------------------------------------------------------------------------------------------------------------------------------------
      Screenshots, taken with /usr/openwin/bin/snapshot
      #----------------------------------------------------------------------------------------------------------------------------------------
      Example window with redraw error. These errors persist when the window is
      dragged around.

      (Embedded image moved to file: pic10488.jpg)


      <EOT>

      Attachments

        Issue Links

          Activity

            People

              pcashman Pat Cashman
              pmaier Peter Maier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: