-
Bug
-
Resolution: Fixed
-
P4
-
7, 7u75, 8
-
b03
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8339202 | openjdk8u432 | Sergey Bylokhov | P4 | Resolved | Fixed | b04 |
JDK-8307675 | 8u391 | kiran kumar J | P4 | Resolved | Fixed | b01 |
Testsuite name: Regression
Test names: java/nio/file/Files/probeContentType/ForceLoad.java
JDK tested: 8u5 b01, 8b120, 7u55b01, 7u45 b18
OS tested: MacOSX, Windows 7
Tests fails against all JDk 8 builds and JDK 7 builds.
LOG:
#section:main
----------messages:(3/117)----------
command: main ForceLoad
reason: Assumed action based on file name: run main ForceLoad
elapsed time (seconds): 0.209
----------System.out:(0/0)----------
----------System.err:(24/1635)----------
java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at java.nio.file.Files$FileTypeDetectors$2.run(Files.java:1555)
at java.nio.file.Files$FileTypeDetectors$2.run(Files.java:1550)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.file.Files$FileTypeDetectors.loadInstalledDetectors(Files.java:1550)
at java.nio.file.Files$FileTypeDetectors.<clinit>(Files.java:1536)
at java.nio.file.Files.probeContentType(Files.java:1614)
at ForceLoad.main(ForceLoad.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
----------rerun:(20/1483)*----------
HOME=/Users/gtee \\
JTREG_COF=false \\
JTREG_HOME=/export/local/aurora/CommonData/jtreg_dir \\
LANG=C \\
PATH=/bin:/usr/bin \\
CLASSPATH=/export/local/aurora/CommonData/jtreg_dir/lib/javatest.jar:/export/local/aurora/CommonData/jtreg_dir/lib/jtreg.jar:/export/local/aurora/sandbox/results/workDir/classes/1/java/nio/file/Files/probeContentType:/export/local/aurora/CommonData/jdk_test/test/java/nio/file/Files/probeContentType:/export/local/aurora/CommonData/jdk/lib/tools.jar \\
/export/local/aurora/CommonData/jdk/bin/java \\
-Dtest.vm.opts=-d64 \\
-Dcompile.jdk=/export/local/aurora/CommonData/jdk \\
-Dtest.src.path=/export/local/aurora/CommonData/jdk_test/test/java/nio/file/Files/probeContentType \\
-Dtest.src=/export/local/aurora/CommonData/jdk_test/test/java/nio/file/Files/probeContentType \\
-Dtest.tool.vm.opts=-J-d64 \\
-Dtest.class.path=/export/local/aurora/sandbox/results/workDir/classes/1/java/nio/file/Files/probeContentType \\
-Dtest.timeout.factor=3.0 \\
-Dtest.classes=/export/local/aurora/sandbox/results/workDir/classes/1/java/nio/file/Files/probeContentType \\
-Dtest.jdk=/export/local/aurora/CommonData/jdk \\
-Dtest.java.opts='-Xmixed -server -d64' \\
-Dtest.compiler.opts= \\
-d64 -Xmixed -server -d64 \\
com.sun.javatest.regtest.MainWrapper /export/local/aurora/sandbox/results/workDir/classes/1/java/nio/file/Files/probeContentType/ForceLoad.jta
result: Failed. Execution failed: `main' threw exception: java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
test result: Failed. Execution failed: `main' threw exception: java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
Test names: java/nio/file/Files/probeContentType/ForceLoad.java
JDK tested: 8u5 b01, 8b120, 7u55b01, 7u45 b18
OS tested: MacOSX, Windows 7
Tests fails against all JDk 8 builds and JDK 7 builds.
LOG:
#section:main
----------messages:(3/117)----------
command: main ForceLoad
reason: Assumed action based on file name: run main ForceLoad
elapsed time (seconds): 0.209
----------System.out:(0/0)----------
----------System.err:(24/1635)----------
java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at java.nio.file.Files$FileTypeDetectors$2.run(Files.java:1555)
at java.nio.file.Files$FileTypeDetectors$2.run(Files.java:1550)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.file.Files$FileTypeDetectors.loadInstalledDetectors(Files.java:1550)
at java.nio.file.Files$FileTypeDetectors.<clinit>(Files.java:1536)
at java.nio.file.Files.probeContentType(Files.java:1614)
at ForceLoad.main(ForceLoad.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
----------rerun:(20/1483)*----------
HOME=/Users/gtee \\
JTREG_COF=false \\
JTREG_HOME=/export/local/aurora/CommonData/jtreg_dir \\
LANG=C \\
PATH=/bin:/usr/bin \\
CLASSPATH=/export/local/aurora/CommonData/jtreg_dir/lib/javatest.jar:/export/local/aurora/CommonData/jtreg_dir/lib/jtreg.jar:/export/local/aurora/sandbox/results/workDir/classes/1/java/nio/file/Files/probeContentType:/export/local/aurora/CommonData/jdk_test/test/java/nio/file/Files/probeContentType:/export/local/aurora/CommonData/jdk/lib/tools.jar \\
/export/local/aurora/CommonData/jdk/bin/java \\
-Dtest.vm.opts=-d64 \\
-Dcompile.jdk=/export/local/aurora/CommonData/jdk \\
-Dtest.src.path=/export/local/aurora/CommonData/jdk_test/test/java/nio/file/Files/probeContentType \\
-Dtest.src=/export/local/aurora/CommonData/jdk_test/test/java/nio/file/Files/probeContentType \\
-Dtest.tool.vm.opts=-J-d64 \\
-Dtest.class.path=/export/local/aurora/sandbox/results/workDir/classes/1/java/nio/file/Files/probeContentType \\
-Dtest.timeout.factor=3.0 \\
-Dtest.classes=/export/local/aurora/sandbox/results/workDir/classes/1/java/nio/file/Files/probeContentType \\
-Dtest.jdk=/export/local/aurora/CommonData/jdk \\
-Dtest.java.opts='-Xmixed -server -d64' \\
-Dtest.compiler.opts= \\
-d64 -Xmixed -server -d64 \\
com.sun.javatest.regtest.MainWrapper /export/local/aurora/sandbox/results/workDir/classes/1/java/nio/file/Files/probeContentType/ForceLoad.jta
result: Failed. Execution failed: `main' threw exception: java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
test result: Failed. Execution failed: `main' threw exception: java.util.ServiceConfigurationError: java.nio.file.spi.FileTypeDetector: Provider SimpleFileTypeDetector not found
- backported by
-
JDK-8307675 java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option
- Resolved
-
JDK-8339202 java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option
- Resolved
- links to
-
Commit(master) openjdk/jdk8u-dev/7c13bd84
-
Review(master) openjdk/jdk8u-dev/533