8289079: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed with "RuntimeException: Test failed"
Reviewed-by: dholmes, mcimadamore
This commit is contained in:
parent
9c92da5249
commit
7e13cdb799
@ -63,8 +63,6 @@ public class AttachTest {
|
||||
.executeTestJava(opts)
|
||||
.outputTo(System.out)
|
||||
.errorTo(System.out);
|
||||
int exitValue = outputAnalyzer.getExitValue();
|
||||
if (exitValue != 0)
|
||||
throw new RuntimeException("Test failed");
|
||||
outputAnalyzer.shouldHaveExitValue(0);
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ public class ImplicitAttach {
|
||||
.findStatic(ImplicitAttach.class, "callback", MethodType.methodType(void.class));
|
||||
MemorySegment upcallStub = abi.upcallStub(callback,
|
||||
FunctionDescriptor.ofVoid(),
|
||||
MemorySession.openImplicit());
|
||||
MemorySession.global());
|
||||
|
||||
// void start_threads(int count, void *(*f)(void *))
|
||||
SymbolLookup symbolLookup = SymbolLookup.loaderLookup();
|
||||
|
Loading…
Reference in New Issue
Block a user