8133287: (fs) java/nio/file/Files/probeContentType/ParallelProbes.java should use othervm mode
Summary: Add @build tag containing ParallelProbes and SimpleFileTypeDetector and reinstate othervm mode.
Reviewed-by: darcy
--- a/jdk/test/java/nio/file/Files/probeContentType/ParallelProbes.java Mon Aug 10 16:28:31 2015 -0700
+++ b/jdk/test/java/nio/file/Files/probeContentType/ParallelProbes.java Mon Aug 10 17:26:55 2015 -0700
@@ -29,7 +29,8 @@
/* @test
* @summary Test probing content type simultaneously from multiple threads.
* @requires (os.family == "linux") | (os.family == "solaris")
- * @run main ParallelProbes 10
+ * @build ParallelProbes SimpleFileTypeDetector
+ * @run main/othervm ParallelProbes 10
*/
public class ParallelProbes {