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

JCK6.0: api/java_io/File/index.html#FilePermissions fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      6
    • CPU:
      generic
    • OS:
      generic

      Description

      JCK : JCK6.0 b10
      J2SE : FAIL - mustang b56
      Platform[s] : FAIL - solaris, linux
      switch/Mode : FAIL - default
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests : api/java_io/File/index.html#FilePermissions

      Test source location:
      =====================
      /net/cady/export/dtf/unified/knight-ws/suites/jck/jck6.0/JCK-runtime-60/tests/api/java_io/File/FilePermissionsTests.java

      jtr file location:
      ==================
      attached

      How to reproduce:
      ==============================================
      -----------------script starts ----------------
      #!/bin/sh
      JDK=/export/jdk/b56/linux-i586/jdk1.6.0
      JCK=/net/cady/export/dtf/unified/knight-ws/suites/jck/jck6.0/JCK-runtime-60

      LD_LIBRARY_PATH="$JCK/lib/:$JCK/lib/Linux.i386/jmx"
      export LD_LIBRARY_PATH
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      POLICY="-Djava.security.policy=$JCK/lib/jck.policy"

      testURL="file://$JCK/tests/api/java_io/File/index.html#FilePermissions"
      testWorkDirURL="file:///net/cady/export6/results/mustang/try"
      TEST="javasoft.sqe.tests.api.java.io.File.FilePermissionsTests -TestCaseID ALL -TestURL $testURL -TestWorkDirURL $testWorkDirURL"

      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
      $JDK/bin/java -showversion -cp $CLASSPATH $POLICY $TEST
      -----------------script ends ----------------

      Test output:
      =============
      writable0001: Failed. canWrite() does not correspond to setWritable()
      writable0003: Failed. canWrite() does not correspond to setWritable()
      STATUS:Failed.test cases: 18; passed: 16; failed: 2;

      Specific Machine Info:
      ==============================
      $ uname -a
      SunOS parislv 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-60

        Attachments

          Activity

            People

            • Assignee:
              sherman Xueming Shen
              Reporter:
              jsongsunw Joo Song (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: