• Post Reply Bookmark Topic Watch Topic
  • New Topic

Customized URLClassLoader issue with Java 6  RSS feed

 
prashant monteiro
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a web application which runs on Tomcat 6. I am using JDK 1.6 update 14.

I have a customized class loader which extends the URLClassLoader. It mostly delegates to the URLClassLoader's methods except for the findResource() which I have customized. Before I moved to JDK 6, the classloader worked perfectly and was able to load classes as well as Resource Bundles from jar files. Since I have moved to JDK 6, none of my ResourceBundles are being loaded. I get a "Resource Bundle Not found" exception. This same class works with JDK 5, 4 etc.

I have searched for documentation regarding class loading changes in JDK 6 but have not been able to get any information.

Does anybody have any pointers related to the class loading changes made in JDK 6? Or any clues about what changes I need to make to get this working with Java 6?

Thanks in advance.

- Prashant
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!