changeset 9224:79745e1148c0

8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option Reviewed-by: michaelm
author alanb
date Mon, 03 Feb 2014 14:18:45 +0000
parents 01b83dcdcc36
children 15286183e29b
files test/java/nio/file/Files/probeContentType/ForceLoad.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/nio/file/Files/probeContentType/ForceLoad.java	Mon Feb 03 14:00:43 2014 +0000
+++ b/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.*;