JDK-8133207 : [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 8u72,9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-08-07
  • Updated: 2017-05-19
  • Resolved: 2015-08-07
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 7 JDK 8 JDK 9
7u101Fixed 8u101Fixed 9 b78Fixed
Related Reports
Relates :  
Relates :  
Description
After the fix for JDK-8080115 went in, the test

java/nio/file/Files/probeContentType/ParallelProbes.java

was seen to fail on linux and solaris with an error like

`main' threw exception: java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.Files$FileTypeDetectors
`main' threw exception: java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.Files$FileTypeDetectors
Failed.`main' threw exception: java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.Files$FileTypeDetectors
Failed.`main' threw exception: java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.Files$FileTypeDetectors
`main' threw exception: java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.Files$FileTypeDetectors
`main' threw exception: java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
Comments
Review thread: http://mail.openjdk.java.net/pipermail/nio-dev/2015-August/003260.html
07-08-2015

Problem is due to running in othervm mode.
07-08-2015