United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6644857 New Plug-In does not call preJVMStart()
JDK-6644857 : New Plug-In does not call preJVMStart()

Details
Type:
Bug
Submit Date:
2007-12-21
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-01-31
Component:
deploy
OS:
windows_xp,windows
Sub-Component:
plugin
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b11)

Related Reports
Duplicate:
Relates:

Sub Tasks

Description
The new plug-in is not calling preJVMStart() in kernel.dll prior to JVM start, which means that the kernel will not complete itself when lauched from the new plug-in.

See the old plug-in's preJVMStart() call for an example.

                                    

Comments
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/deployment_data/6u10/6644857.0
                                     
2008-01-03
EVALUATION

Added call to preJVMStart() using essentially the same code as the old
Java Plug-In.

Tested manually to ensure function is being called correctly.

Also expanded buffers from MAX_PATH (a very small value) to MAX_BUFFER
(1024), specified in src/common/windows/native/common.h, and fixed a
typo in the call to FixupJVMPath.
                                     
2008-01-03
EVALUATION

This fix introduced a regression in the initialization of the Firefox port of the plug-in which is described and fixed in 6647070.
                                     
2008-01-04



Hardware and Software, Engineered to Work Together