8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option
Reviewed-by: michaelm
--- 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.*;