This discussion is archived
0 Replies Latest reply: Feb 16, 2010 5:25 AM by 843811 RSS

AccessControlException in signed Applet in jre1.6?

843811 Newbie
Currently Being Moderated
i am using a signed applet in my application . it works fine for jre1.4,1.5. but its not working in jre 1.6.0-b105 version. its giving accesscontrol exception as below access denied (java.lang.RuntimePermission getClassLoader)
     at Source)
     at Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)
     at com.application.MyApplet.getClassLoader(
     at com.application.MyApplet.init(
     at Source)
     at Source)

even for higher version of jre 1.6-b11 same code will work. any one having an idea what might be the reason. or is there any defect in this version of jre ? any pointer on this will be helpful for me