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

Frame#getIconImage returns null after setIconImage(not null image) for frames inside SWT Shell container

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 9
    • 8, 9
    • client-libs
    • 8u40b11(32bit)/sles11-x86

    • x86
    • linux_suse_sles_11

      Testsuite name:AWT function
      Test name(s):AWT_SWT/Manual/FrameMethods
      Product(s) tested:JDK8u40b11(32bit)
      OS/architecture:SLES11-x86
      Error log file (if present): http://aurora.ru.oracle.com/slot-gw/617629.ManualSubmit-1/ResultDir/FrameMethods/FrameMethods.log

      Reproducible: Always
      Reproducible on machine:Evergreen-machine
      [If Sometimes] Also reproducible on machine:

      Is it a Regression:NO
      [If Regression] Regression introduced in release/build:
      Test result on the last GAed release for this train:Fail(JDK8u25b18/SLES11-x86:Fail the same issue).
      [if Fail] Test result on FCS:Fail(JDK1.8.80_b132/SLES11-x86:Fail).

      Is it a platform specific issue: NO(8u40b11/oel6.4-x86:fail)
      [If platform specific issue] 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 stable jdk7u45b18(32bit)(download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/linux-i586/jdk-7u45-linux-i586.tar.gz) locate at /root/workspace/awt/jdk1.7.0_45
       2.Install base jdk8u40b10(32bit)(download from http://jre.us.oracle.com//java/re/jdk/8u40/promoted/ea/b10/bundles/linux-i586/jdk-8u40-ea-linux-i586.tar.gz) locate at /root/workspace/awt/jdk1.8.0_40_b10
       3.Install test jdk8u40b11(32bit)(download from http://jre.us.oracle.com/java/re/jdk/8u40/promoted/ea/b11/bundles/linux-i586/jdk-8u40-ea-linux-i586.tar.gz) locate at /root/workspace/awt/jdk1.8.0_40_b11
      4.Clone the awt functional workspace
        4a.hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/8 /root/workspace/awt
        4b.cd 8
        4c.hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/8/awt /awt
       
      5.Install ute from attachment to /root/workspace/awt
      6.Add attachment testlist.fail to /root/workspace/awt
      7.Create results at /root/workspace/awt
      8.Modify the test_awt.sh as:
      /root/workspace/awt/ute/ute run -harness tonga -env TONGA_JAR=/root/workspace/awt/ute/tool/tonga/tonga4.0.jar -env BASEBUILD=/root/workspace/awt/jdk1.8.0_40_b10 -env KEYWORDS=manual -env STABLE_JAVA_HOME="/root/workspace/awt/jdk1.7.0_45" -component awt -jdk "/root/workspace/awt/jdk1.8.0_40_b11" -testbase /root/workspace/awt/8/awt -testlist "/root/workspace/awt/testlist.fail" -results /root/workspace/awt/results
      9. Go to /root/workspace/awt and run the command : bash test_awt.sh
       
      Case Instruction:
      Step1:Note : Incase of Assertion failure user can enter any remarks by pressing 'Assertion Fail Remarks'.
      Click the button labeled 'setMenuBar'. Now minimize the frame and restore it. The frame should appear exactly the same way how it looked before clicking the button. If its not so, press assertion failed and enter appropriate remarks
      Step2:Note : Incase of Assertion failure user can enter any remarks by pressing 'Assertion Fail Remarks'.
      Click the button labeled 'setIconImage'. Now minimize the frame and restore it. The frame should appear exactly the same way how it looked before clicking the button. If its not so, press assertion failed and enter appropriate remarks
      Step3:Note : Incase of Assertion failure user can enter any remarks by pressing 'Assertion Fail Remarks'.
      Click the button labeled 'getIconImage'. Now minimize the frame and restore it. The frame should appear exactly the same way how it looked before clicking the button. If its not so, press assertion failed and enter appropriate remarks.

       Actual behavior:
      At the Step3,the behavior of the case is right,but after clicking the 'getIconImage' button,there is a fail message shown in the message window of the instruction dialog,refer to message.jpg.

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

              Created:
              Updated:
              Resolved: