When using the Java plugin.jar to handle
Java-to-JavaScript callbacks,
the Java Console displays tons of output.
For example:
<<< ProxyClassLoader: defined LiveConnectProxy class. >>>
<<< Here're the permissions you've got: >>>
<<< java.security.Permissions@b614d0 (
(java.net.SocketPermission 127.0.0.1 connect,accept,resolve)
)
>>>
>>>
One of my coworkers discovered these messages
are coming from the MRJPlugin.jar from Firefox.
Within the netscape.oji.ProxyClassLoaderFactory class,
the following line...
System.out.println("<<< " + message + " >>>");
...appears to be the cause and cannot be turned off by a configuration setting.
Although recompiling the source with this line commented out appears to solve the problem, there is an issue with
how to safely deploy this library so it doesn't conflict
with Firefox updates.
It would be ideal if this library's logging level could be configurable to control whether to display them for debugging purposes or turn them off for production.
Also, if this change was incorporated into the next Firefox Update for Firefox (and for the Firefox 3 release), this would be a huge help.