Message2989

Author jflatow
Recipients
Date 2008-02-18.15:43:34
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.

History
Date User Action Args
2008-02-20 17:18:55adminlinkissue1896215 messages
2008-02-20 17:18:55admincreate