get an exception when using GCJ webplugin

Yongqiang Yang xiaoqiangnk at gmail.com
Mon Dec 20 02:09:55 PST 2010


Hi everyone,

Could anyone tell me that the differences between GCJ_webplugin and
icedteaplugin?

When I run code 'System.getProperty(awt.xembedserver)' in an applet's
init function using GCJ webplugin under mips, I get an exception
listed at the end of email.  However, it runs normally using
icedteaplugin.so under x86.

Thanks,
Yonqgiang.

  1 GCJ PLUGIN: thread 0x431bf0: plugin_in_pipe_callback: setting
status exception  java.security.AccessControlExce    ption: access
denied (java.util.PropertyPermission sun.awt.xembedserver read)
  2   PIPE: plugin read: status exception
java.security.AccessControlException: access denied
(java.util.PropertyP    ermission sun.awt.xembedserver read)
  3 GCJ PLUGIN: thread 0x431bf0: plugin_in_pipe_callback return
  4   PIPE: appletviewer wrote: status exception
java.security.AccessControlException: access denied (java.util.Pr
opertyPermission sun.awt.xembedserver read)
  5 java.security.AccessControlException: access denied
(java.util.PropertyPermission sun.awt.xembedserver read)
  6   at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
  7   at java.security.AccessController.checkPermission(AccessController.java:553)
  8   at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
  9   at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:267)
 10   at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
 11   at java.lang.System.getProperty(System.java:669)
 12   at OOoBeanViewer.init(OOoBeanViewer.java:63)
 13   at sun.applet.AppletPanel.run(AppletPanel.java:436)
 14   at java.lang.Thread.run(Thread.java:636)


-- 
Best Wishes
Yongqiang Yang



More information about the distro-pkg-dev mailing list