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

There is no icon on the top left corner of the title bar with the special options " -esa -ea -Xcheck:jni -Dswing.defaultlaf=com.sun.java.swing.plaf.motif.MotifLookAndFeel".

XMLWordPrintable

    • x86
    • linux

      Testsuite name:JCK manual
      Test name:api/javax_swing/interactive/JInternalFrameTests.html#JInternalFrame
      Product tested:JDK 8 u40 b10 32bit
      OS/architecture:oel6.4-uek-x86
        
      Error log file (if present):http://aurora.ru.oracle.com/slot-gw/611043.ManualSubmit-1/workDir/api/javax_swing/interactive/JInternalFrameTests_JInternalFrame.jtr

      Reproducible: Always
      Reproducible on machine: Evergreen-machine

      Is it a Regression:NO
      ([If Regression]) Regression introduced in release/build:

      Test result on the last GAed release for this train:Fail(JDK 8 u25 b18(32bit)/oel6.4-uek-x86)
      ([if Fail] Test result on FCS:Fail(jdk1.8.0b132-32bit/oel6.4-uek-x86)

      Is it a platform specific issue:NO(JDK8u40b10(32bit)/win7-sp1-x86 Fail)
      Is it a new (previously unsupported) OS/browser/mode testing:
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Steps to reproduce:
      1. Install test bundle jdk8u40b10 from http://jre.us.oracle.com/java/re/jdk/8u40/promoted/all/b10/bundles/linux-i586/jdk-8u40-ea-linux-i586.tar.gz to /root/workspace/jck/jdk1.8.0_40
      2. Download the JCK-runtime-8_b42.jar from http://jre.us.oracle.com/java/re/jck/8/promoted/fcs/b42/bundles/ to /root/workspace/jck and use /root/workspace/jck/jdk1.8.0_40/bin/java -jar JCK-runtime-8_b42.jar to unzip it
      3. /root/workspace/jck/jdk1.8.0_40/bin/java -showversion -esa -ea -Xcheck:jni -Dswing.defaultlaf=com.sun.java.swing.plaf.motif.MotifLookAndFeel -cp /root/workspace/jck/JCK-runtime-8/classes:/root/workspace/jck/jdk1.8.0_40/lib/tools.jar -Djava.security.policy=/root/workspace/jck/JCK-runtime-8\lib\jck.policy javasoft.sqe.tests.api.javax.swing.interactive.JInternalFrame.JInternalFrameTests -TestCaseID ALL -TestDirURL file:/root/workspace/jck/JCK-runtime-8/tests/api/javax_swing/interactive/JInternalFrameTests.html#JInternalFrame
        
      Descriptions:
      This test verifies the behavior of JInternalFrame setFrameIcon(Icon i) and setDesktopIcon(Icon i).Please use the combobox to select a custom frame icon and click the button to display an internal frame.Please verify that the new internal frame will the custom icon on the top left corner of the title bar.Upon iconify the internal frame it will also display the selected icon.

      Actual behavior:
      1.There is no icon on the top left corner of the title bar,refer to JInternalFrame.jpg.
      2.There is no this issue without the special options “-esa -ea -Xcheck:jni -Dswing.defaultlaf=com.sun.java.swing.plaf.motif.MotifLookAndFeel”,refer to JInternalFrame-1.jpg.

        1. JInternalFrame-1.jpg
          88 kB
          Michael Wang
        2. JInternalFrame.jpg
          96 kB
          Michael Wang

            vaibhav Vaibhav Choudhary (Inactive)
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: