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 பதிலளிப்புகள்
  • 80 இந்த பிரச்னைகள் உள்ளது
  • 60 views
  • Last reply by maciek0

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)

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

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)

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