#95 Stylesheet.main() calls System.exit(0)

v6.5.2
closed
Michael Kay
5
4 days ago
2002-09-12
No

At the end of the main() method (well, the doMain()
method to be precise), System.exit(0) is called. This
aborts the JVM, which is needless when running from
the commandline, and a nuisance when running from
an integrated environment without forking, e.g. using
the <java> task in ant.

Discussion

  • Michael Kay
    Michael Kay
    2002-11-12

    Logged In: YES
    user_id=251681

    Source code changed (in 7.x branch) so System.exit() is no
    longer called on successful completion. It is still called
    after a failure.

     
  • Michael Kay
    Michael Kay
    2002-11-18

    Logged In: YES
    user_id=251681

    Fixed in 7.3

     
  • Michael Kay
    Michael Kay
    2003-08-07

    Logged In: YES
    user_id=251681

    Same fix applied to 6.5.3. Regression tested only.