Message2989
The SyspathJavaLoader classloader does not implement findResource methods, this patch is an attempt to add such behavior. I have also attempted to define the package appropriately when a class is loaded (as per the GNU Java ClassLoader implementation). I believe there are some additional problems with the current implementation of the classloader (e.g. loadClass should be findClass), however I have not changed this here. Also, the Thread's contextClassLoader should probably at some point get set to this ClassLoader.
The implementation I am providing solved the problem for me of loading a Spring application context (ClassPathXmlApplicationContext) from the Jython shell.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:18:55 | admin | link | issue1896215 messages |
2008-02-20 17:18:55 | admin | create | |
|