java.io.ObjectInputStream.enableResolveObject() Throws Security Exception
0 posts in topic
Flat View  Flat View

Posted By:   Kumar_Pandey
Posted On:   Monday, January 28, 2002 05:08 PM

Related to my earlier question, the crux of the problem is that I've subclassed ObjectInputStream and set enableResolveObject() to true as I need to resolve the object after its read. However even for a trusted applet

java.lang.SecurityException: Not trusted class
is thrown. Looks like inClassLoader() of SecurityManager is returning false. Is this a crorrect behavior or is it a Java plugin 1.1.8 bug?
If its a correct behavior can anyone suggest a workaround?

About | Sitemap | Contact