Another enhancement I have been wanting to do is to make the RMIClassLoaderSPI string include the PREFERRED.LIST content. The encoding would be a bit tricky, depending on how much compatibility you want to maintain. I currently have a static method (with a permission check) in ClassLoading, called neverPrefer(String) which I use to set the "platform" that I am want to assert for my application. Anything that is "never preferred" will never force downloading of the codebase. It works, but is really a back door into the logic which could be driven with real data from the services preferences.

Gregg Wonderly

Reply via email to