Skip to content

Commit

Permalink
8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing …
Browse files Browse the repository at this point in the history
…with ServiceConfigurationError without jtreg -agentvm option

Reviewed-by: aph, andrew
Backport-of: 0abb2b14edd9f7b4de461efa47fe31b4cbfb92c1
  • Loading branch information
mrserb committed Aug 28, 2024
1 parent 7d36fed commit 7c13bd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jdk/test/java/nio/file/Files/probeContentType/ForceLoad.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
* @bug 4313887
* @summary Test library dependencies by invoking Files.probeContentType
* before other methods that would cause nio.dll to be loaded.
* @build ForceLoad SimpleFileTypeDetector
* @run main/othervm ForceLoad
*/

import java.nio.file.*;
Expand Down

1 comment on commit 7c13bd8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.