8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option

Reviewed-by: michaelm
This commit is contained in:
Alan Bateman 2014-02-03 14:18:45 +00:00
parent 24b84458a1
commit 0abb2b14ed

View File

@ -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.*;