tn5250j/src/org/tn5250j/scripting JPythonInterpreterDriver.java,1.15,1.16
"Kenneth J. Pouncey" <[email protected]> Sat, 26 Jun 2004 10:53:26 +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-serv26095
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.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** JPythonInterpreterDriver.java 26 Jun 2004 10:37:44 -0000 1.15
--- JPythonInterpreterDriver.java 26 Jun 2004 10:53:24 -0000 1.16
***************
*** 24,38 ****
private static JPythonInterpreterDriver _instance;
! private static 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();
--- 24,31 ----
private static JPythonInterpreterDriver _instance;
! private PythonInterpreter _interpreter;
static {
!
// the inizialization is being done in the startup program
// Properties props = new Properties();
***************
*** 47,50 ****
--- 40,49 ----
}
+ JPythonInterpreterDriver () {
+
+ _interpreter = new PythonInterpreter();
+
+ }
+
public void executeScript(Session session, String script)
throws InterpreterDriver.InterpreterException {
-------------------------------------------------------
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