jdk/internal/jrtfs/remote/RemoteRuntimeImageTest.java failed on all platforms since JDK-8147460. The test is trying to use jrtfs with JDK 8.
I tried this test by setting jtreg option -e:JDK8_HOME=PATH_TO_JDK8U
It throws UnsupportedOperationException when trying to close the file system loaded by JDK 8u with URLClassLoader.
According Javadoc below, UnsupportedOperationException should be thrown in case of default file system. But I don't think JRTFS loaded by URLClassloader is a "default" file system.
"Closing a file system will close all open channels, directory-streams, watch-service, and other closeable objects associated with this file system. The default file system cannot be closed.
Specified by: close() in Closeable
Throws:IOException - If an I/O error occurs
UnsupportedOperationException - Thrown in the case of the default file system"
I tried this test by setting jtreg option -e:JDK8_HOME=PATH_TO_JDK8U
It throws UnsupportedOperationException when trying to close the file system loaded by JDK 8u with URLClassLoader.
According Javadoc below, UnsupportedOperationException should be thrown in case of default file system. But I don't think JRTFS loaded by URLClassloader is a "default" file system.
"Closing a file system will close all open channels, directory-streams, watch-service, and other closeable objects associated with this file system. The default file system cannot be closed.
Specified by: close() in Closeable
Throws:IOException - If an I/O error occurs
UnsupportedOperationException - Thrown in the case of the default file system"