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

JCK1.4, interactive: setFileHidingEnabled() does not work on NT4.0(+IE5.5)

XMLWordPrintable

    • b12
    • x86
    • windows_nt
    • Verified



      Name: asR10013 Date: 07/10/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : jdk1.4.1, jdk1.4.0
      JCK : jck1.4-b17
      Platform[s] : Windows NT 4.0(+IE5.5)
      switch/Mode : -client -Xmixed -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/javax_swing/interactive/JFileChooserTests.html#JFileChooser [JFileChooserTest0009]
       
      File hiding does not work on NT4.0 at least with IE5.5.

      The cause of the problem is that IShellFolder::GetAttributesOf is used to retrieve information about file hiding,
      bug this approach does not work on our NT test platforms (NT4.0+IE5.5).

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_swing/interactive/JFileChooserTests.java
       
      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b16/jck14/win32/winnt4.0plugin_ns4.77_linux-20/workDir/api-interactive/javax_swing/interactive/JFileChooserTests_JFileChooser.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change JCK and JDK variables)

      --- script start ---
      #!/bin/sh
      # change variables as needed
       
      JCK="h:/java/jck1.4/JCK-runtime-14"
      JDK="h:/java/jdk1.4.1/win32"
      switches="-client -Xmixed -Xfuture -showversion"
      CLASSPATH="${JCK}/classes;${JCK}/javatest.jar"
       
      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.swing.interactive.JFileChooser.JFileChooserTests -TestCaseID JFileChooserTest0009

      --- script end ---

      Test output:
      ============
      JFileChooserTest0009: Failed. setFileHidingEnabled() methods does not behave as expected.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: JFileChooserTest0009

      Specific Machine Info:
      ======================
      Hostname: linux-20
      OS: Windows NT 4.0

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: