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

The File Chooser Dialog hung after changing the LAF to windows.

XMLWordPrintable

    • b01
    • x86
    • windows_7

      Testsuite name:Swing funcation
      Test name:Swing_JFileChooser/Manual/FileChooserManual
      Product tested: JDK 8 u11 b05 64bit
      OS/architecture: Win7-sp1-x64

      Error log file (if present):http://scaaa008.us.oracle.com:9502/runs%2F471340.ManualSubmit-1/ResultDir/FileChooserManual/FileChooserManual.log

      Reproducible: Always
      Reproducible on machine: Evergreen-machine

      REGRESSION: YES. (FAILS on >= 8u11bb01 ; PASS on <= 8u5b13 )
      [If Regression]Regression introduced in release/build:JDK 8u11b01 Fail

      Test result on the last GAed release for this train:Pass(jdk8u05b07/Windows 7 SP1 x64,jdk8u05b07/Solaris 10 sparc)
      [if Fail]Test result on FCS:

      Is it a platform specific issue:
      JDK 8u11b04-64bit/win7-sp1-x64 Fail


      Steps to reproduce:
      1.Clone the swing functional workspace
      1a. hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/8 C:/swing-fun/8
      1b. cd C:/swing-fun/8/
      1c. hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/8/swing
      2.Install stable bundle JDK7u45b18 from http://jre.us.oracle.com/java/re/jdk/7_45/promoted/all/b18/bundles/windows-x64/jdk-7u45-windows-x64.exe to C:/jck/Java/jdk1.7.0_45
      3.Install base bundle JDK8u11b04 from http://jre.us.oracle.com/java/re/jdk/8u11/promoted/all/b04/bundles/windows-x64/jdk-8u11-ea-windows-x64.exe to C:/Java/jdk1.8.0_11_b04
      4. Install test bundle JDK8u11b05 from http://jre.us.oracle.com/java/re/jdk/8u11/promoted/all/b05/bundles/windows-x64/jdk-8u11-ea-windows-x64.exe to C:/Java/jdk1.8.0_11
      5.Download the demo from http://jre.us.oracle.com/java/re/jdk/8u11/promoted/all/b05/bundles/windows-x64/jdk-8u11-ea-windows-amd64-demos.zip and unzip it to C:/Java/jdk1.8.0_11
      6. Install ute from attachment locate at C:/swing-fun
      7. Create result_dir at C:/swing-fun/results
      8.Create the testlist in the C:/swing-fun/8/swing/testlist/testlist.Swing_All_Manual as:
      Swing_JFileChooser/Manual/FileChooserManual compile_and_execute "manual,Windows"
      9. Modify the test_swing.sh as:
      C:/swing-fun/ute/ute run -harness tonga -env TONGA_JAR=C:/swing-fun/ute/tool/tonga/tonga4.0.jar -env KEYWORDS=manual -env BASEBUILD=C:/Java/jdk1.8.0_11_b04 -env STABLE_JAVA_HOME="C:/jck/Java/jdk1.7.0_45" -component swing -jdk "C:/Java/jdk1.8.0_11" -testlist C:/swing-fun/8/swing/testlist/testlist.Swing_All_Manual -testbase C:/swing-fun/8/swing/ -results C:/swing-fun/results
      10. Go to C:/swing-fun, and run the command : bash test_swing.sh
      11.Run the test Swing_JFileChooser/Manual/FileChooserManual

      Instruction(step21:):
      Windows Specific --- if system is not windows put PASS
      Using the Demo application change look and feel to windows
      Open a JFileChooser and Click on the new Folder button

      Actual behavior:
      The File Chooser Dialog hung after changing the LAF to windows, please refer to JFileChooser.jpg. The other LAF has no such issue.

        1. JFileChooser.jpg
          JFileChooser.jpg
          352 kB
        2. ute.zip
          4.35 MB

            alexsch Alexandr Scherbatiy
            tolli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: