[9] RFR of 8133287: (fs) java/nio/file/Files/probeContentType/ParallelProbes.java should use othervm mode
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Aug 10 20:41:53 UTC 2015
Please review at your convenience.
Issue: https://bugs.openjdk.java.net/browse/JDK-8133287
Diff:
--- a/test/java/nio/file/Files/probeContentType/ParallelProbes.java
+++ b/test/java/nio/file/Files/probeContentType/ParallelProbes.java
@@ -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 {
Summary:
Add @build tag containing ParallelProbes and SimpleFileTypeDetector and reinstate othervm mode.
Thanks,
Brian
More information about the nio-dev
mailing list