8133287: (fs) java/nio/file/Files/probeContentType/ParallelProbes.java should use othervm mode
authorbpb
Mon, 10 Aug 2015 17:26:55 -0700
changeset 32099 0a23ca63d4e8
parent 32098 b39f6c2da1a0
child 32105 2b80e6aed222
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
jdk/test/java/nio/file/Files/probeContentType/ParallelProbes.java
--- 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 {