From: <otm...@us...> - 2009-03-31 23:30:59
|
Revision: 6141 http://jython.svn.sourceforge.net/jython/?rev=6141&view=rev Author: otmarhumbel Date: 2009-03-31 23:30:57 +0000 (Tue, 31 Mar 2009) Log Message: ----------- gracefully fall back into the old interactive console if jline classes are not on the classpath Modified Paths: -------------- trunk/jython/src/org/python/util/jython.java Modified: trunk/jython/src/org/python/util/jython.java =================================================================== --- trunk/jython/src/org/python/util/jython.java 2009-03-31 19:41:07 UTC (rev 6140) +++ trunk/jython/src/org/python/util/jython.java 2009-03-31 23:30:57 UTC (rev 6141) @@ -312,7 +312,7 @@ String interpClass = PySystemState.registry.getProperty("python.console", "org.python.util.InteractiveConsole"); return (InteractiveConsole)Class.forName(interpClass).newInstance(); - } catch (Exception e) { + } catch (Throwable t) { return new InteractiveConsole(); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |