JDK-8133287 : (fs) java/nio/file/Files/probeContentType/ParallelProbes.java should use othervm mode
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 8,9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,solaris
  • CPU: generic
  • Submitted: 2015-08-10
  • Updated: 2024-10-29
  • Resolved: 2015-08-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9 Other
8u391Fixed 9 b78Fixed openjdk8u442Fixed
Related Reports
Relates :  
Description
In the provisional fix for JDK-8133207 othervm mode was removed as its presence was causing the test to fail in certain test environments. The use of othervm mode should be reinstated.
Comments
Fix request (8u) Clean backport. Fix for the testbug. Review 8u-dev: https://git.openjdk.org/jdk8u-dev/pull/570
29-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk8u-dev/pull/570 Date: 2024-08-28 23:54:02 +0000
29-08-2024

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/bd4b9aa129bc User: lana Date: 2015-08-19 22:04:45 +0000
19-08-2015

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/bd4b9aa129bc User: bpb Date: 2015-08-11 00:27:26 +0000
11-08-2015

Review thread: http://mail.openjdk.java.net/pipermail/nio-dev/2015-August/003270.html
10-08-2015

ParallelProbes should have a @build tag which directs to build itself and the SimpleFileTypeDetector in the same directory. The META-INF/services/java.nio.file.spi.FileTypeDetector file in the same directory points the service loader to SimpleFileTypeDetector so if this latter class is not built it causes a failure to load java.nio.file.Files.FileTypeDetectors as SimpleFileTypeDetector cannot be found.
10-08-2015