src/java.base/share/native/libjli/java.c
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
jdk Cdiff src/java.base/share/native/libjli/java.c
src/java.base/share/native/libjli/java.c
Print this page
rev 11654 : imported patch libjli
*** 728,738 ****
/* copied from HotSpot function "atomll()" */
static int
parse_size(const char *s, jlong *result) {
jlong n = 0;
! int args_read = sscanf(s, jlong_format_specifier(), &n);
if (args_read != 1) {
return 0;
}
while (*s != '\0' && *s >= '0' && *s <= '9') {
s++;
--- 728,738 ----
/* copied from HotSpot function "atomll()" */
static int
parse_size(const char *s, jlong *result) {
jlong n = 0;
! int args_read = sscanf(s, JLONG_FORMAT_SPECIFIER, &n);
if (args_read != 1) {
return 0;
}
while (*s != '\0' && *s >= '0' && *s <= '9') {
s++;
*** 796,806 ****
/*
* Make sure the thread stack size is big enough that we won't get a stack
* overflow before the JVM startup code can check to make sure the stack
* is big enough.
*/
! if (threadStackSize < STACK_SIZE_MINIMUM) {
threadStackSize = STACK_SIZE_MINIMUM;
}
}
}
--- 796,806 ----
/*
* Make sure the thread stack size is big enough that we won't get a stack
* overflow before the JVM startup code can check to make sure the stack
* is big enough.
*/
! if (threadStackSize < (jlong)STACK_SIZE_MINIMUM) {
threadStackSize = STACK_SIZE_MINIMUM;
}
}
}
src/java.base/share/native/libjli/java.c
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File