|
Quick Lists
|
|
Bug ID:
|
6698636
|
|
Votes
|
0
|
|
Synopsis
|
Java Plugin in Firefox hangs since 6u4 when remote policy file is present in java.security
|
|
Category
|
java_plugin:plugin
|
|
Reported Against
|
b12
|
|
Release Fixed
|
6u10(b26),
6u7-rev(b07) (Bug ID:2164171)
|
|
State
|
11-Closed,
Verified,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
|
|
Submit Date
|
07-MAY-2008
|
|
Description
|
When a remote policy file is being used in java.security then firefox will
hang as soon as any applet is being accessed. This worked for 6u3 and earlier.
The bug was introduced in 6u4 and is still there in the latest 6u10beta of May1st.
This is reproducible always on Windows Steps to reproduce:
Install 6 u4|5|6|10beta
Make sure that the plugin is configured for both
IE and Firefox.
Then modify jre\lib\security\java.security like this:
policy.url.1=file:${java.home}/lib/security/java.policy
#policy.url.2=file:${user.home}/.java.policy <<<< comment out
policy.url.2=http://aubing.germany/ourpolicy.policy <<<< insert
The remote policy file normally contains some grant statements.
For testing, just an empty remote policy file will do.
The link above to aubing.germany points to the empty file
ourpolicy.policy.
Start IE and access load any demo applet such as
http://java.sun.com/applets/jdk/1.4/demo/applets/Clock/example1.html
This will work as expected.
Then do the same with firefox. Watch the hang. A thread dump is
attached
Posted Date : 2008-05-07 10:41:40.0
|
|
Work Around
|
Use IE
|
|
Evaluation
|
This is caused by a fix in 6u4 to reorder when to create Java plugin viewer.
The url connection in java.security is happening early then Java plugin viewer has been created, therefore it won't be able to find correct Mozilla proxy info and causing hanging (which is a bug in our code and it has never be exposed).
Posted Date : 2008-05-27 19:33:39.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |