|
Quick Lists
|
|
Bug ID:
|
4685738
|
|
Votes
|
0
|
|
Synopsis
|
possible problem in CJavaJNI.cpp
|
|
Category
|
java_plugin:iexplorer
|
|
Reported Against
|
1.3.1
|
|
Release Fixed
|
1.3.1_07,
1.4.0_04(Bug ID:2054673)
, 1.4.1_02(Bug ID:2054674)
, 1.4.2(mantis) (Bug ID:2054675)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
|
|
Submit Date
|
15-MAY-2002
|
|
Description
|
From talking with my friends at xxxxx and from poking around in the code
I believe I have found a problem in CJavaJNI.cpp.
The routine:
jint CJavaJNI::JNI_GetCreatedJavaVMs(JavaVM **vmp, jsize bufLen ,jsize *nVMS) {
JVM_GETCREATED proc;
proc =(JVM_GETCREATED) GetProcAddress(m_hMod, "JNI_GetCreatedJavaVMs");
return proc != 0 ? (*proc)(vmp, bufLen, nVMS) : -1;
}
uses the variable `m_hMod', which is not set (it is an auto variable).
So, my idea is to set `m_hMod' in `LoadJavaVM'.
If you start the JVM from jpishare.dll you will not see this
problem. This might explain why we have gone so far without running
into this yet.
|
|
Work Around
|
N/A
|
|
Evaluation
|
If the jvm.dll is not loaded by java plug-in, one of the member variable will not be set. Even if we fix this problem, in such scenarios, plug-in specific run time parameters and other initialization will not be done and hence there is no guarantee that the applet works.
xxxxx@xxxxx 2002-05-16
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |