# HG changeset patch # User alanb # Date 1391437125 0 # Node ID 4953e3d7f07ea93312ec267081aa5fe8f0d3bca3 # Parent ac85b05a53f49df5d09e2996bc3abafadba65da4 8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option Reviewed-by: michaelm diff -r ac85b05a53f4 -r 4953e3d7f07e jdk/test/java/nio/file/Files/probeContentType/ForceLoad.java --- a/jdk/test/java/nio/file/Files/probeContentType/ForceLoad.java Mon Feb 03 14:00:43 2014 +0000 +++ b/jdk/test/java/nio/file/Files/probeContentType/ForceLoad.java Mon Feb 03 14:18:45 2014 +0000 @@ -25,6 +25,8 @@ * @bug 4313887 * @summary Test library dependencies by invoking Files.probeContentType * before other methods that would cause nio.dll to be loaded. + * @build ForceLoad SimpleFileTypeDetector + * @run main/othervm ForceLoad */ import java.nio.file.*;