[armedbear-cvs] r13145 - trunk/abcl/src/org/armedbear/lisp/java/swing

Erik Huelsmann ehuelsmann at common-lisp.net
Thu Jan 13 23:20:20 UTC 2011


Author: ehuelsmann
Date: Thu Jan 13 18:20:19 2011
New Revision: 13145

Log:
Comment why System.exit() is alright in the REPLConsole.java case.

Modified:
   trunk/abcl/src/org/armedbear/lisp/java/swing/REPLConsole.java

Modified: trunk/abcl/src/org/armedbear/lisp/java/swing/REPLConsole.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/java/swing/REPLConsole.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/java/swing/REPLConsole.java	Thu Jan 13 18:20:19 2011
@@ -302,7 +302,7 @@
       repl = Interpreter.createInstance().eval("#'top-level::top-level-loop");
     } catch (Throwable e) {
       e.printStackTrace();
-      System.exit(1);
+      System.exit(1);  // Ok. We haven't done anything useful yet.
     }
     final REPLConsole d = new REPLConsole(repl);
     final JTextComponent txt = new JTextArea(d);




More information about the armedbear-cvs mailing list