mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8260304: (se) EPollSelectorImpl wakeup mechanism broken on Linux 32-bit
Reviewed-by: bpb, alanb
This commit is contained in:
parent
53fecba709
commit
5aca934c98
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ Java_sun_nio_ch_EventFD_eventfd0(JNIEnv *env, jclass klazz)
|
|||
JNIEXPORT jint JNICALL
|
||||
Java_sun_nio_ch_EventFD_set0(JNIEnv *env, jclass klazz, jint efd)
|
||||
{
|
||||
long one = 1L;
|
||||
return convertReturnVal(env, write(efd, (void*)&one, sizeof(long)),
|
||||
uint64_t one = 1ULL;
|
||||
return convertReturnVal(env, write(efd, (void*)&one, sizeof(uint64_t)),
|
||||
JNI_FALSE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue