United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6687876 Bootstrapping of new plug-in broken with startup changes
JDK-6687876 : Bootstrapping of new plug-in broken with startup changes

Details
Type:
Bug
Submit Date:
2008-04-12
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-05-15
Component:
deploy
OS:
windows
Sub-Component:
plugin
CPU:
generic
Priority:
P1
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b23)

Related Reports
Relates:

Sub Tasks

Description
Recent changes in 6678929 for startup time optimization have introduced an intermittent failure to bootstrap the new plug-in. The conditions under which it fails are currently unclear. The failure is intermittent but the root cause is clear; an initialization cycle was introduced that needs to be broken. The stack trace is below:

java.lang.UnsatisfiedLinkError: com.sun.deploy.config.WinConfig.getPlatformMaxCommandLineLength()I
   at com.sun.deploy.config.WinConfig.getPlatformMaxCommandLineLength(Native Method)
   at com.sun.deploy.config.Config.<clinit>(Config.java:721)
   at sun.plugin2.util.NativeLibLoader.tryLoadingFromJRE(NativeLibLoader.java:86)
   at sun.plugin2.util.NativeLibLoader.load(NativeLibLoader.java:65)
   at sun.plugin2.main.client.PluginMain.<clinit>(PluginMain.java:55)

The NativeLibLoader may not touch the Config class.

                                    

Comments
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/deployment_data/6u10/6687876.0
                                     
2008-04-13
EVALUATION

Broke an initialization cycle during startup of the new plug-in
introduced with 6678929 that were causing intermittent failures to
start the new plug-in on Windows, at least with development builds.
                                     
2008-04-13



Hardware and Software, Engineered to Work Together