Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Java + Javascript bridge has stopped working on Mac OS X 10.5/6, Firefox 3.6.12, Java 1.6.0_22.

  • 3 replies
  • 80 have this problem
  • 60 views
  • Last reply by maciek0

more options

The security updates in 3.6.12 seem to have broken the javascript communication layer between Firefox and Java applets.

Also see:

Also see:

http://discussions.info.apple.com/message.jspa?messageID=12492633

http://discussions.info.apple.com/thread.jspa?threadID=2624721&tstart=105

The security updates in 3.6.12 seem to have broken the javascript communication layer between Firefox and Java applets. Also see: Also see: http://discussions.info.apple.com/message.jspa?messageID=12492633 http://discussions.info.apple.com/thread.jspa?threadID=2624721&tstart=105

All Replies (3)

more options

this problem was introduced in 3.6.10 or 3.6.11 since the java to javascript bridge worked in 3.6.9.

more options

What I am seeing is that Java is throwing a security error when file io is initiated by an external call from Javascript to a file on the server that java should have access to. Here is the error.

<<< ProxyClassLoader: defined LiveConnectProxy class. >>> <<< Here're the permissions you've got: >>> <<< java.security.Permissions@157402b (

(java.net.SocketPermission www.dhba.com connect,accept,resolve)

)

>>>

VirtualLab.loadProblemSpecification: properties file=assignments/Walkthough.xml http://www.dhba.com/wested/applet/assignments/Walkthough.xml not retrieved java.security.AccessControlException: access denied (java.io.FilePermission assignments/Walkthough.xml read)

My system: Mac OSX10.6.4 with Firefox3.6.12 (Java Plug-in 1.6.0_22 Using JRE version 1.6.0_22-b04-307-10M3261 Java HotSpot(TM) Client VM)

more options

As the title says, the JavaScript-to-Java bridge seems to be broken. The following basic line returns null, and a lot of applications in our company stopped working because of it:

import netscape.javascript.JSObject; JSObject win = JSObject.getWindow((java.applet.Applet)applet);

Is there any workaround or patch for this issue?, is there an official bug raised to track this issue?

Many thanks,

Matías