Hello,

 http://lopica.sourceforge.net/faq.html#nosandbox

http://forum.java.sun.com/thread.jspa?threadID=562374&messageID=2767680

http://sinex.hut.mediapoli.com/cgi-bin/viewcvs.cgi/xsmiles/bin/xsmiles.policy?rev=1.5 please search for accessDeclaredMembers

 

These two sites touch on this topic and could be helpful.

Good day.

 

Yemi Bedu

 


From: beanshell-developers-admin@lists.sourceforge.net [mailto:beanshell-developers-admin@lists.sourceforge.net] On Behalf Of Darren Govoni
Sent: Wednesday, January 05, 2005 2:28 PM
To: beanshell-developers@lists.sourceforge.net
Subject: [Beanshell-dev] Wierd Security Exception from JNLP app w/bsh

 

Hi,
  I have an app with some jars fed over Java Web Start. All the requisite JNLP files have "all-permissions" turned on. In the downloaded app, I get this exception when I try to evaluate a script string. Anyone know how to correct this? Need help badly.

Darren

bsh.InterpreterError: unable to get instance initializer: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
at bsh.ClassGeneratorUtil.getConstructorArgs(Unknown Source)
at FCSDefaultService.<init>(BeanShell Generated via ASM (www.objectweb.org))
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at bsh.Reflect.constructObject(Unknown Source)
at bsh.BSHAllocationExpression.constructObject(Unknown Source)
at bsh.BSHAllocationExpression.objectAllocation(Unknown Source)
at bsh.BSHAllocationExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)