8133287: (fs) java/nio/file/Files/probeContentType/ParallelProbes.java should use othervm mode

Add @build tag containing ParallelProbes and SimpleFileTypeDetector and reinstate othervm mode.

Reviewed-by: darcy
This commit is contained in:
Brian Burkhalter 2015-08-10 17:26:55 -07:00
parent c32cc2b967
commit eb79060337

View File

@ -29,7 +29,8 @@ import java.util.ArrayList;
/* @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 {