Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk17 Public archive

Commit e90ed6c

Browse files
committed
8271173: serviceability/jvmti/GetObjectSizeClass.java doesn't check exit code
Reviewed-by: dholmes
1 parent b4c6229 commit e90ed6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/hotspot/jtreg/serviceability/jvmti/GetObjectSizeClass.java

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public static void main(String[] args) throws Exception {
5454

5555
ProcessBuilder pt = ProcessTools.createTestJvm("-javaagent:agent.jar", "GetObjectSizeClassAgent");
5656
OutputAnalyzer output = new OutputAnalyzer(pt.start());
57+
output.shouldHaveExitValue(0);
5758

5859
output.stdoutShouldContain("GetObjectSizeClass passed");
5960
}

0 commit comments

Comments
 (0)