On 16 June 2011 12:16, Francis GALIEGUE <f...@one2team.com> wrote: > On Thu, Jun 16, 2011 at 13:04, sebb <seb...@gmail.com> wrote: > [...] >> >> And it may cause problems on some OSes which don't use unix-style exit codes. >> For example, OpenVMS uses the low order 3 bits of a process exit code >> as a severity indicator, and odd is success, even is failure. >> [IThe JVM automatically converts exit 0 to exit 1 to compensate, but >> cannot deal with all exit codes]. >> > > It's up to main() to call System.exit(), so how is that a problem?
If the exit code is not passed to the OS, but is merely a method return code, then of course it's not a problem. But I understood the term "exit code" to mean the code returned to the OS through System.exit(). > -- > Francis Galiegue > ONE2TEAM > Ingénieur système > Mob : +33 (0) 683 877 875 > Tel : +33 (0) 178 945 552 > f...@one2team.com > 40 avenue Raymond Poincaré > 75116 Paris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org