tn5250j/src/org/tn5250j/scripting JPythonInterpreterDriver.java,1.13,1.14
"Kenneth J. Pouncey" <[email protected]> Sat, 26 Jun 2004 10:28:06 +0000
| Newsgroups | gmane.comp.java.tn5250j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/scripting
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22737
Modified Files:
JPythonInterpreterDriver.java
Log Message:
Catch errors in class loader - this was a test for jdk 1.5
Index: JPythonInterpreterDriver.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/scripting/JPythonInterpreterDriver.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** JPythonInterpreterDriver.java 15 Jul 2003 08:22:11 -0000 1.13
--- JPythonInterpreterDriver.java 26 Jun 2004 10:28:04 -0000 1.14
***************
*** 24,30 ****
private static JPythonInterpreterDriver _instance;
! private PythonInterpreter _interpreter = new PythonInterpreter();
static {
// the inizialization is being done in the startup program
// Properties props = new Properties();
--- 24,38 ----
private static JPythonInterpreterDriver _instance;
! private PythonInterpreter _interpreter;
static {
+
+ try {
+ _interpreter = new PythonInterpreter()
+ }
+ catch (Exception ex ) {
+
+ System.out.println(ex.getMessage())
+ }
// the inizialization is being done in the startup program
// Properties props = new Properties();
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com