Issue1008
Created on 2008-03-15.10:24:06 by redl0tus, last changed 2008-12-30.08:23:22 by cgroves.
msg3085 (view) |
Author: dion (redl0tus) |
Date: 2008-03-15.10:24:04 |
|
When starting an embedded Jython interpreter in Java 1.5, it was
possible (with hacks) to load the core modules and custom classes and
modules. For Java 1.6 this no longer works. The interpreter cannot
find anything except for the Java classes in the same jar the
interpreter started in.
|
msg3086 (view) |
Author: dion (redl0tus) |
Date: 2008-03-15.10:25:31 |
|
Clearly the Jython interpreter does not use ...getResource() methods for
loading the core modules, as these would work in all versions of Java
Web start.
|
msg3087 (view) |
Author: Charlie Groves (cgroves) |
Date: 2008-03-15.14:19:03 |
|
I'm not sure what you mean by core modules. What things are you
importing that fail? What exception do you get when they fail?
|
msg3936 (view) |
Author: Dave Baggett (dmbaggett) |
Date: 2008-12-16.18:39:40 |
|
This is essentially what I was addressing with the patch mentioned in
Issue #1181.
|
msg3994 (view) |
Author: Charlie Groves (cgroves) |
Date: 2008-12-30.08:23:22 |
|
As of r5816, modules on the classpath are imported using
getResourceAsStream if they're not found using other methods. I'm
thinking this will fix your issue.
|
|
Date |
User |
Action |
Args |
2008-12-30 08:23:22 | cgroves | set | messages:
+ msg3994 |
2008-12-30 08:23:15 | cgroves | set | messages:
- msg3991 |
2008-12-30 08:17:53 | cgroves | set | status: open -> closed resolution: fixed messages:
+ msg3991 |
2008-12-16 18:39:40 | dmbaggett | set | nosy:
+ dmbaggett messages:
+ msg3936 |
2008-03-15 18:58:40 | fwierzbicki | set | nosy:
+ fwierzbicki |
2008-03-15 14:19:04 | cgroves | set | nosy:
+ cgroves messages:
+ msg3087 |
2008-03-15 10:25:31 | redl0tus | set | messages:
+ msg3086 |
2008-03-15 10:24:06 | redl0tus | create | |
|