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

REGRESSION,JCK1.4: api/java_awt/interactive/LWComponentTests.html fails

    XMLWordPrintable

Details

    • 2d
    • rc
    • x86
    • windows_98, windows_nt, windows_xp
    • Verified

    Description



      Name: icR10030 Date: 05/30/2002


      The jck1.4 test api/java_awt/interactive/LWComponentTests.html#LWComponentTests fails in Windows.
      After the "Hide lightweight component" button pressed,
      the lightweight component is not redrawn properly.
      The bug is not reproducible in merlin and hopper-b11.

      Filed By : J2SE-SQA [###@###.###
      JDK : jdk1.4.1-b13, jre1.4.1-b13, jdk1.4.1-b12, jre1.4.1-b12
      JCK : JCK1.4-b17
      Platform[s] : Windows ME, Windows NT 4.0, Windows XP
      switch/Mode : -client -Xmixed, plugin for Netscape and Internet Explorer
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_awt/interactive/LWComponentTests.html#LWComponentTests

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_awt/interactive/LWComponentTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b13/jck14/win32/winnt4.0plugin_ie5.5_linux-20/workDir/api-interactive/java_awt/interactive/LWComponentTests_LWComponentTests.jtr

      How to reproduce:
      =================
      --------Script START---------------------
      #!/bin/sh

      JCK="d:/jck1.4/JCK-runtime-14"
      CLASSPATH="${JCK}/classes;${JCK}/javatest.jar"
      JDK=e:/jdk1.4.1
      PATH=${JCK}/lib

      $JDK/bin/java -showversion -Xfuture -cp $CLASSPATH -Djava.security.policy=$JCK/lib/jck.policy -Djava.security.auth.policy=$JCK/lib/java.auth.policy -Djava.security.auth.login.config=$JCK/lib/java.login.config javasoft.sqe.tests.api.java.awt.interactive.LWComponent.LWComponentTests -TestCaseID ALL
      --------Script END----------------------

      Test output:
      ============
      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b13)
      Java HotSpot(TM) Client VM (build 1.4.1-beta-b13, mixed mode)

      LWComponentTest0001: Failed. A lightweight component cannot be resized, moved, hidden or shown.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: LWComponentTest0001

      Specific Machine Info:
      ======================
      Hostname: linux-21
      Os: Windows XP


      ======================================================================

      I attached another, simpler test case that does not involve lw/hw issues
      called GdiLockTest. This test runs in a loop, drawing a string into the
      Component with and without a user clip set. The effect of this should be
      to make the text blink on and off every half second (off when the clip is
      enabled because the drawString() operation is outside the clip boundaries).
      When the bug is present, the text never blinks.
      ###@###.### 2002-06-04

      Attachments

        Issue Links

          Activity

            People

              chaasesunw Chet Haase (Inactive)
              ichesunw Iche Iche (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: