db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: [jira] Commented: (DERBY-214) Remove System.exit() calls from the DB2jServerImpl.java
Date Thu, 28 Apr 2005 14:12:29 GMT
David Van Couvering wrote:

> Well, that's enlightening, I wasn't aware that an exception thrown by
> main caused an exit status of 1.  That definitely sounds like the right
> approach.  If it's not a commonly accepted practice, it should be :)

Sounds good, the rule for the emebedded engine was always:

"remember pure Java, embedded, pure Java & embedded". :-)

Never make assumptions that your Java program is controlling the JVM and
has the right to call methods like System.exit, then multiple Java
"main" programs can hook up together without problems.


View raw message