grant {
permission java.security.AllPermission;
};
then gives this error:
PIPE: appletviewer wrote: status Applet loaded.
Reading applet config...
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback: setting status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
PIPE: plugin read: status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback return
PIPE: appletviewer wrote: status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:637)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:196)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:145)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
at com.ibm.cbt.thinclient.netbank.LogonView.callScript(LogonView.java:196)
at com.ibm.cbt.thinclient.netbank.LogonView.onLoad(LogonView.java:876)
at com.ibm.cbt.thinclient.netbank.LogonView.initialize(LogonView.java:634)
at com.ibm.cbt.thinclient.netbank.LogonView.<init>(LogonView.java:91)
at com.ibm.cbt.thinclient.netbank.LogonApplet.initAddOn(LogonApplet.java:368)
at com.ibm.cbt.thinclient.netbank.LogonApplet.init(LogonApplet.java:306)
at sun.applet.AppletPanel.run(AppletPanel.java:436)
at java.lang.Thread.run(Thread.java:636)
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback: setting status Start: applet not initialized.
PIPE: plugin read: status Start: applet not initialized.
Actually adding ~.java.policy with
grant { AllPermission;
permission java.security.
};
then gives this error:
PIPE: appletviewer wrote: status Applet loaded. in_pipe_ callback in_pipe_ callback: setting status error: java.lang. ClassFormatErro r: Incompatible magic value 1013478509 in class file netscape/ javascript/ JSObject. ClassFormatErro r: Incompatible magic value 1013478509 in class file netscape/ javascript/ JSObject. in_pipe_ callback return ClassFormatErro r: Incompatible magic value 1013478509 in class file netscape/ javascript/ JSObject. ClassFormatErro r: Incompatible magic value 1013478509 in class file netscape/ javascript/ JSObject ClassLoader. defineClass1( Native Method) ClassLoader. defineClass( ClassLoader. java:637) SecureClassLoad er.defineClass( SecureClassLoad er.java: 142) AppletClassLoad er.findClass( AppletClassLoad er.java: 196) ClassLoader. loadClass( ClassLoader. java:323) AppletClassLoad er.loadClass( AppletClassLoad er.java: 145) ClassLoader. loadClass( ClassLoader. java:268) ClassLoader. loadClassIntern al(ClassLoader. java:336) cbt.thinclient. netbank. LogonView. callScript( LogonView. java:196) cbt.thinclient. netbank. LogonView. onLoad( LogonView. java:876) cbt.thinclient. netbank. LogonView. initialize( LogonView. java:634) cbt.thinclient. netbank. LogonView. <init>( LogonView. java:91) cbt.thinclient. netbank. LogonApplet. initAddOn( LogonApplet. java:368) cbt.thinclient. netbank. LogonApplet. init(LogonApple t.java: 306) AppletPanel. run(AppletPanel .java:436) Thread. run(Thread. java:636) in_pipe_ callback in_pipe_ callback: setting status Start: applet not initialized.
Reading applet config...
GCJ PLUGIN: thread 0x622930: plugin_
GCJ PLUGIN: thread 0x622930: plugin_
PIPE: plugin read: status error: java.lang.
GCJ PLUGIN: thread 0x622930: plugin_
PIPE: appletviewer wrote: status error: java.lang.
java.lang.
at java.lang.
at java.lang.
at java.security.
at sun.applet.
at java.lang.
at sun.applet.
at java.lang.
at java.lang.
at com.ibm.
at com.ibm.
at com.ibm.
at com.ibm.
at com.ibm.
at com.ibm.
at sun.applet.
at java.lang.
GCJ PLUGIN: thread 0x622930: plugin_
GCJ PLUGIN: thread 0x622930: plugin_
PIPE: plugin read: status Start: applet not initialized.
Which is a duplicate of bug 239533.