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

JCK13a-interactive: api/javax_swing/interactive/JFileChooserTests.html fails

XMLWordPrintable

    • beta2
    • x86
    • windows_98
    • Verified



      Name: icR10030 Date: 05/15/2001


      JCK13a interactive test api/javax_swing/interactive/JFileChooserTests.html#JFileChooser
      fails in Windows ME.

      JDK : jdk1.4.0-b64
      JCK : JCK1.3a
      Platform[s] : Windows ME
      switch/Mode : -client -Xmixed
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test : api/javax_swing/interactive/JFileChooserTests.html#JFileChooser

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/interactive/JFileChooserTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail16/results/merlin/b64/jck13a/win32/winme_client_noclassgc_batch_verify_linux-18/workDir/api/javax_swing/interactive/JFileChooserTests_JFileChooser.jtr

      How to reproduce:
      =================
      Run following script.
      In the JFileChooser Open dialog select "My Computer", then press "Open" button.
      The list of drives will appear.
      Select drive "C:", then press "Open" button.
      The list of files and folders of the "c:/" folder must appear but it does not.

      --------Script START---------------------
      #!/bin/sh

      JCK=x:/jck1.3a/JCK-runtime-13a
      export JCK
      CLASSPATH="${JCK}/classes;${JCK}/javatest.jar"
      export CLASSPATH
      JAVA_HOME=x:/jdk1.4.0/
      export JAVA_HOME

      $JAVA_HOME/bin/java -version
      $JAVA_HOME/bin/java -Xmixed -Xfuture javasoft.sqe.tests.api.javax.swing.interactive.JFileChooser.JFileChooserTests -TestCaseID JFileChooserTest0001
      --------Script END----------------------

      Test output:
      ============
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b64)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b64, mixed mode)
      java.lang.InternalError: Could not parse file path
      at sun.awt.shell.Win32ShellFolder.initFile(Native Method)
      at sun.awt.shell.Win32ShellFolder.<init>(Win32ShellFolder.java:175)
      at sun.awt.shell.Win32ShellFolder.<init>(Win32ShellFolder.java:182)
      at sun.awt.shell.Win32ShellFolder.listFiles(Win32ShellFolder.java:448)
      at javax.swing.filechooser.FileSystemView.getFiles(FileSystemView.java:385)
      at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicDirectoryModel.java:193)
      JFileChooserTest0001: Failed. JFileChooser Open dialog does not behave as expected.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: JFileChooserTest0001


      Specific Machine Info:
      ======================
      Hostname: linux-18
      Os: Windows ME


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

            leifs Leif Samuelsson (Inactive)
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: