Skip to content

Commit

Permalink
Updated test to fix nativepath problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
dholmes-ora committed Dec 17, 2020
1 parent d2417af commit 8786d58
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import java.util.Arrays;
import jdk.test.lib.process.ProcessTools;
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.Utils;
import jtreg.SkippedException;

public class TestCheckedReleaseArrayElements {
Expand All @@ -45,6 +46,7 @@ public static void main(String[] args) throws Throwable {
} else {
OutputAnalyzer output =
ProcessTools.executeTestJvm("-Xcheck:jni",
"-Djava.library.path=" + Utils.TEST_NATIVE_PATH,
"TestCheckedReleaseArrayElements");
output.shouldHaveExitValue(0);
output.stderrShouldBeEmpty();
Expand Down

0 comments on commit 8786d58

Please sign in to comment.