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

All the InternalFrames will be maximized after maximizing only one of the InternalFrame with the special options "-client -Xmixed -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel".

    XMLWordPrintable

Details

    • b61
    • x86
    • windows

    Backports

      Description

        Testsuite name:JCK manual
        Test name:api/javax_swing/interactive/JInternalFrameTests.html#JInternalFrame
        Product tested: JDK 9 b53 32bit
        OS/architecture:Windows8.1-x86
         
        Error log file:http://aurora-ds3.us.oracle.com:9502/runs/00741/741430.ManualSubmit/741430.ManualSubmit-1/workDir/api/javax_swing/interactive/JInternalFrameTests_JInternalFrame.jtr
        Reproducible: Always
        Reproducible on machine: Evergreen-machine, spb23297.ru.oracle.com

        Is it a Regression:No
        [If Regression] Regression introduced in release/build:

        Test result on the last GAed release for this train:Fail(JDK8u45b10(32bit) on same platform fail with the options,but it's passed without the options )
        [if Fail] Test result on FCS:Fail(JDK1.8.0_b132 on same platform fail with the options, but it's passed without the options)

        Is it a platform specific issue:Yes
         1)same build fail on win7-sp1-x86 with the options,but it's passed without the option
         2)This options just support on windows.

        Is it a new (previously unsupported) OS/browser/mode testing:No
         [If new configuration testing] Issue specific to execution mode or OS/browser version:


        Steps to reproduce:
        1. Install test bundle jdk9b53 from http://jre.us.oracle.com/java/re/jdk/9/promoted/all/b53/bundles/windows-i586/jdk-9-ea-windows-i586.exe to C:\workspace\jck
        2. Download the JCK-runtime-9.jar from http://jre.us.oracle.com/java/re/jck/9/promoted/ea/b08/bundles/JCK-runtime-9.jar to C:\workspace\jck and use C:\Java\jdk1.9.0\bin\java -jar JCK-runtime-9.jar to unzip it
        3.Run the following command:
        C:/Java/jdk1.9.0/bin/java -showversion -client -Xmixed -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel -cp C:/workspace/jck/JCK-runtime-9/classes;C:/Java/jdk1.9.0/ -Djava.security.policy=C:/workspace/jck/JCK-runtime-9/lib/jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JInternalFrame.JInternalFrameTests -exclude JInternalFrameTest0007 -TestCaseID ALL -TestDirURL file:/C:/workspace/jck/JCK-runtime-9/tests/api/javax_swing/interactive/JInternalFrameTests.html#JInternalFrame

        Descriptions:[test JInternalFrameTest0005]
        This test verifies the behavior of JInternalFrame created by the constructor JInternalFrame(String, boolean, boolean, boolean.Please click the button shown below to display an internal frame.Please verify that the internal frame has a title of "Internal Frame", that it is resizable, closable, and maximizable, and that it is not iconifiable.

        Actual behavior:
        1.While opening some InternalFrames,refer to InternalFrame.jpg, We try to maximize only one InternalFrame and close it, then we can see the rest InternalFrames are maximized also,refer to InternalFrame1.jpg,This issue can be reproduced in JInternalFrameTest0006 also.
        2.There is no such issue without the special options "-client -Xmixed -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel",refer to InternalFrame2.jpg.

        Attachments

          1. InternalFrame.jpg
            InternalFrame.jpg
            241 kB
          2. InternalFrame1.jpg
            InternalFrame1.jpg
            95 kB
          3. InternalFrame2.jpg
            InternalFrame2.jpg
            258 kB

          Issue Links

            Activity

              People

                ssadetsky Semyon Sadetsky (Inactive)
                michaelw Michael Wang (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: