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

(fs) test/java/nio/file/Files/Misc.java failing (sol)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • None
    • core-libs
    • b75
    • Verified

    Backports

      Description


        JPRT jobs that run the jdk_nio tests jprt-host-x64-2 have started seeing a new failure, easy to reproduce by running with java.io.tmpdir set to /opt/jprt/T/P1/alan. The issue appears to be something zfs related. Here's a sample failure:

        /java/re/jdk/8/latest/binaries/solaris-x64/bin/java -Djava.io.tmpdir=/opt/jprt/T/P1/alan Misc
        Exception in thread "main" java.nio.file.AccessDeniedException: /opt/jprt/T/P1/alan/name2707464578579648081/foo
                at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
                at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
                at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
                at sun.nio.fs.UnixPath.openForAttributeAccess(UnixPath.java:787)
                at sun.nio.fs.SolarisAclFileAttributeView.setAcl(SolarisAclFileAttributeView.java:346)
                at Misc.testAccessMethods(Misc.java:326)
                at Misc.main(Misc.java:46)


        Attachments

          Issue Links

            Activity

              People

                alanb Alan Bateman
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: