RFR: 6536943: Bogus -Xcheck:jni warning for SIG_INT action for SIGINT in JVM started from non-interactive shell
yumin.qi at oracle.com
Wed Mar 12 23:55:05 UTC 2014
Forget to mention tests:
manually testing on Java2Demo, for both shell and non-interactive shell.
This is only disabling checking signal handlers under non-interactive
shell, so no need to test more.
On 3/12/2014 2:52 PM, Yumin Qi wrote:
> Hi, Can I have your codereview for this simple change:
> Summary: Under non-interactive shell, -Xcheck:jni output warning for
> SIGINT, since non-interactive shells set SIGINT to SIG_IGN as part of
> the job control features. The fix is that don't check signal handlers
> if java run in a non-interactive shell. This applies to all platforms
> except for Windows.
More information about the hotspot-runtime-dev