8314743: Use of uninitialized local in SR_initialize after JDK-8314114
Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
571c435e1a
commit
2be469f89e
@ -1733,8 +1733,8 @@ int SR_initialize() {
|
||||
sig < NSIG) { // Must be legal signal and fit into sigflags[].
|
||||
PosixSignals::SR_signum = sig;
|
||||
} else {
|
||||
warning("You set _JAVA_SR_SIGNUM=%d. It must be in range [%d, %d]. Using %d instead.",
|
||||
sig, MAX2(SIGSEGV, SIGBUS)+1, NSIG-1, PosixSignals::SR_signum);
|
||||
warning("You set _JAVA_SR_SIGNUM=%s. It must be a number in range [%d, %d]. Using %d instead.",
|
||||
s, MAX2(SIGSEGV, SIGBUS)+1, NSIG-1, PosixSignals::SR_signum);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user