What steps will reproduce the problem?
1. Mixing FileResponseCache with other users of java.net.ResponseCache
2. The foreign UrlConnection class (that does not extend HttpUrlConnection)
opens a connection and then invokes responseCache.put(uri, this)
3. FileResponseCache#isCacheable throws a class cast exception
What is the expected output? What do you see instead?
The #put() method should return null if it doesn't want to cache non-http urls. There is an unchecked cast there.
What version of the product are you using? On what operating system?
Revision 132 of filecache.jar
Original issue reported on code.google.com by d.leon...@speedwell.com.au on 21 Mar 2011 at 12:07
Original issue reported on code.google.com by
d.leon...@speedwell.com.au
on 21 Mar 2011 at 12:07