#295: Workaround for JDK 11 bug in ServerSocket.accept()

This commit is contained in:
Andrey Pangin
2020-01-27 01:28:47 +03:00
parent 11b0f4598e
commit 869058b56b
6 changed files with 51 additions and 0 deletions
+8
View File
@@ -31,6 +31,10 @@ uintptr_t& StackFrame::fp() {
return (uintptr_t&)_ucontext->uc_mcontext.arm_fp;
}
uintptr_t StackFrame::retval() {
return (uintptr_t)_ucontext->uc_mcontext.arm_r0;
}
uintptr_t StackFrame::arg0() {
return (uintptr_t)_ucontext->uc_mcontext.arm_r0;
}
@@ -55,6 +59,10 @@ bool StackFrame::pop(bool trust_frame_pointer) {
return false;
}
void StackFrame::restartSyscall() {
// Not implemented on this arch
}
int StackFrame::callerLookupSlots() {
return 0;
}