- 
    Bug 
- 
    Resolution: Cannot Reproduce
- 
     P4 P4
- 
    None
- 
    None
- 
        generic
- 
        os_x
                    java/nio/file/Files/CopyAndMove.java failed with an assertion:
#section:main
----------messages:(4/152)----------
command: main CopyAndMove
reason: User specified action: run main/othervm CopyAndMove
Mode: othervm [/othervm specified]
elapsed time (seconds): 0.821
----------configuration:(0/0)----------
----------System.out:(1/47)----------
Seed from RandomFactory = 1472854907144459095L
----------System.err:(17/1004)----------
java.lang.RuntimeException: Assertion failed
at CopyAndMove.assertTrue(CopyAndMove.java:1113)
at CopyAndMove.checkPosixAttributes(CopyAndMove.java:120)
at CopyAndMove.copyAndVerify(CopyAndMove.java:661)
at CopyAndMove.testCopyFileToFile(CopyAndMove.java:776)
at CopyAndMove.main(CopyAndMove.java:69)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:832)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Assertion failed
JavaTest Message: shutting down test
Looking at the code around the backtrace, it copied a file with COPY_ATTRIBUTES and unexpectedly found the permissions to be different.
This failure happened on a Mac. This was a couple of days afterJDK-8204576 was pushed.
            
#section:main
----------messages:(4/152)----------
command: main CopyAndMove
reason: User specified action: run main/othervm CopyAndMove
Mode: othervm [/othervm specified]
elapsed time (seconds): 0.821
----------configuration:(0/0)----------
----------System.out:(1/47)----------
Seed from RandomFactory = 1472854907144459095L
----------System.err:(17/1004)----------
java.lang.RuntimeException: Assertion failed
at CopyAndMove.assertTrue(CopyAndMove.java:1113)
at CopyAndMove.checkPosixAttributes(CopyAndMove.java:120)
at CopyAndMove.copyAndVerify(CopyAndMove.java:661)
at CopyAndMove.testCopyFileToFile(CopyAndMove.java:776)
at CopyAndMove.main(CopyAndMove.java:69)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:832)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Assertion failed
JavaTest Message: shutting down test
Looking at the code around the backtrace, it copied a file with COPY_ATTRIBUTES and unexpectedly found the permissions to be different.
This failure happened on a Mac. This was a couple of days after
- relates to
- 
                    JDK-8203803 Sub-tests of java/nio/file/Files/CopyAndMove.java fail when test.dir specifies a different device -           
- Closed
 
-         
- 
                    JDK-8204576 (fs) java/nio/file/Files/CopyAndMove.java does not set isUnix = true on macOS -           
- Resolved
 
-