Re: [Openjnlp-devel] Lazy jars
Brought to you by:
kherr
From: Mario C. <mar...@po...> - 2002-05-09 17:02:21
|
Kevin, I noticed your modifications to handle lazy jars this morning. I must admit that was fast work. And it (mostly) works, too! : ) The only problem I saw was intermitent but I managed to pinpoint its source: non-class resources loaded from lazy jars. I think you need to make modifications to FileCacheClassLoader.findResource() to wait for lazy jars like you did in findClass(). In my application, the problem showed up in various different ways that can all be traced back to a missing non-class resource: icons missing, property files missing, JAXP meta-inf/services/javax.xml.parsers.SAXParserFactory file missing (that one threw me off because it resulted in a ClassNotFoundException on the fallback value, so I initially thought your implementation was broken)... All of these problems are intermitent, because they depend on how fast the background thread can load the required jars. I hope this helps, and thanks again for your great work... Mario |