Skip to content

Commit

Permalink
8133287: (fs) java/nio/file/Files/probeContentType/ParallelProbes.jav…
Browse files Browse the repository at this point in the history
…a should use othervm mode

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

Backport-of: eb790603374262134543bb03171a6ead1b13fc4b
  • Loading branch information
mrserb committed Oct 29, 2024
1 parent 7e1ea51 commit 41f479c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 41f479c

Please sign in to comment.