changeset 32099:0a23ca63d4e8

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
author bpb
date Mon, 10 Aug 2015 17:26:55 -0700
parents b39f6c2da1a0
children 2b80e6aed222
files jdk/test/java/nio/file/Files/probeContentType/ParallelProbes.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 {