tn5250j/src/org/tn5250j/scripting JPythonInterpreterDriver.java,1.16,1.17
"Kenneth J. Pouncey" <[email protected]> Sat, 26 Jun 2004 10:59:39 +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-serv26874
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.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** JPythonInterpreterDriver.java 26 Jun 2004 10:53:24 -0000 1.16
--- JPythonInterpreterDriver.java 26 Jun 2004 10:59:37 -0000 1.17
***************
*** 36,46 ****
System.getProperty("user.home") + File.separator + ".tn5250j" +
File.separator);
! _instance = new JPythonInterpreterDriver();
InterpreterDriverManager.registerDriver(_instance);
}
JPythonInterpreterDriver () {
!
! _interpreter = new PythonInterpreter();
}
--- 36,58 ----
System.getProperty("user.home") + File.separator + ".tn5250j" +
File.separator);
!
! // try {
! _instance = new JPythonInterpreterDriver();
! // }
! // catch (Exception ex) {
!
!
! // }
InterpreterDriverManager.registerDriver(_instance);
}
JPythonInterpreterDriver () {
!
! try {
! _interpreter = new PythonInterpreter();
! }
! catch (Exception ex) {
!
! }
}
-------------------------------------------------------
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