RFR: 8027765 Make exit codes and stdout/stderr printing from jmap/jinfo/jstack/jps consistent

Staffan Larsen staffan.larsen at oracle.com
Thu Nov 14 04:44:05 PST 2013


On 14 Nov 2013, at 13:37, Andrew Haley <aph at redhat.com> wrote:

> On 11/14/2013 12:12 PM, Staffan Larsen wrote:
>>> int exit = arg1.equals("-help") || arg1.equals("-h") ? 0 : 1;
> 
> Please do not call a variable "exit".  exit() is a standard function.

Not in Java, unless you "import static java.lang.System.exit;".

/Staffan




More information about the serviceability-dev mailing list