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

Regression-test javax/swing/JInternalFrame/4244536/bug4244536.java fails

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description



        Name: iaR10016 Date: 03/23/2004


        Filed By : J2SE-SQA [###@###.###
        JDK : JDK1.5.0-b42, JDK1.4.2-b28, JDK1.2.2
        Testbase : Regression-test
        Platform[s] : all
        switch/Mode : default
        Falling test[s]: javax/swing/JInternalFrame/4244536/bug4244536.java

        Regression manual test javax/swing/JInternalFrame/4244536/bug4244536.java fails using JDK1.5.0-b42
        on all platforms. Please, run the script from "How to reproduce" section and do the steps described
        in the test Instruction to reproduce the failure:
        ...
        Minimize the internal frame using the minimize button. Then double-click on it to restore its size.
        Then press the maximize button. If the frame gets maximized, test passes. If its size don't change, test fails.
        ...

        I have found two problems during the test execution:

        1. When I restore JInternalFrame after its minimizing, tested applet does not redraw its connent correctly -
        there is an unexpected black rectangle in the left bottom corner of the applet.

        2. When I try to maximize JInternalFrame (after its minimizing and restoring), it does not get maximized,
        although "maximize" button changes its state.

        Test source location:
        =====================
        /java/re/jdk/1.5.0/promoted/beta2/b42/ws/j2se/test/javax/swing/JInternalFrame/4244536/bug4244536.java

        jtr file location:
        ==================
        /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b42/regtest/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/test-manual/javax/swing/JInternalFrame/4244536/bug4244536.jtr

        How to reproduce:
        =================
        Run the following script (you may need to change its variables)
        --- script start ---
        #!/bin/sh

        #Paths in Java Software:
        TESTJAVA="/java/re/jdk/1.5.0/promoted/all/b42/binaries/linux-i586"
        TESTBASE="/java/re/jdk/1.5.0/promoted/all/b42/ws/j2se/test"

        #Alternative paths outside Java Software
        #TESTJAVA="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b42/binaries/linux-i586"
        #TESTBASE="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b42/ws/j2se/test"

        #Alternative paths for the NSK site:
        #TESTJAVA="/net/linux-15/export/home/java/jdk1.5.0/linux"
        #TESTBASE="/net/linux-15/export/home/java/regtest.tiger/test"

        cp $TESTBASE/javax/swing/JInternalFrame/4244536/* ./
        $TESTJAVA/bin/javac bug4244536.java
        $TESTJAVA/bin/appletviewer -Xnosecurity bug4244536.html
        --- script end ---

        Specific machine info:
        ======================
        Hostname: linux-8
        OS: Solaris 10 (sparc) (GNOME)

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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbronsonsunw Mike Bronson (Inactive)
                  Reporter:
                  irasunw Ira Ira (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: