In our applet's startup, we tried to load an image and an associated annotation file from the users local disk. For some reason, the image would load fine, but the annotation file caused an com.ms.security.SecurityException, only in the MS JVM. Everything loaded fine under the Sun JVM.
I looked at the image-loading code and noticed that it was running in a separate thread. I moved the annotation loading to a separate thread and then everything worked great.
After some research, I found some documentation on this issue.
SecurityExceptionEx exception running a Java applet
-Alex
Comments