Skip to content

Commit 41f479c

Browse files
committed
8133287: (fs) java/nio/file/Files/probeContentType/ParallelProbes.java should use othervm mode
Add @build tag containing ParallelProbes and SimpleFileTypeDetector and reinstate othervm mode. Backport-of: eb790603374262134543bb03171a6ead1b13fc4b
1 parent 7e1ea51 commit 41f479c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jdk/test/java/nio/file/Files/probeContentType/ParallelProbes.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
/* @test
3030
* @summary Test probing content type simultaneously from multiple threads.
3131
* @requires (os.family == "linux") | (os.family == "solaris")
32-
* @run main ParallelProbes 10
32+
* @build ParallelProbes SimpleFileTypeDetector
33+
* @run main/othervm ParallelProbes 10
3334
*/
3435
public class ParallelProbes {
3536

0 commit comments

Comments
 (0)