Skip to content

Commit 7c13bd8

Browse files
committed
8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option
Reviewed-by: aph, andrew Backport-of: 0abb2b14edd9f7b4de461efa47fe31b4cbfb92c1
1 parent 7d36fed commit 7c13bd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jdk/test/java/nio/file/Files/probeContentType/ForceLoad.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
* @bug 4313887
2626
* @summary Test library dependencies by invoking Files.probeContentType
2727
* before other methods that would cause nio.dll to be loaded.
28+
* @build ForceLoad SimpleFileTypeDetector
29+
* @run main/othervm ForceLoad
2830
*/
2931

3032
import java.nio.file.*;

0 commit comments

Comments
 (0)