-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b44
-
x86
-
windows_xp
-
Not verified
% cat -n jdk/src/windows/bin/java_md.c
[...]
44 #define CRT_DLL "msvcr71.dll"
[...]
210 if (GetJREPath(crtpath, MAXPATHLEN)) {
211 (void)JLI_StrCat(crtpath, "\\bin\\" CRT_DLL); /* Add crt dll */
212 JLI_TraceLauncher("CRT path is %s\n", crtpath);
213 if (_access(crtpath, 0) == 0) {
214 if (LoadLibrary(crtpath) == 0) {
215 ReportErrorMessage(DLL_ERROR4, crtpath);
216 return JNI_FALSE;
217 }
218 }
219 }
This needs to be modified to look for the correct msvcr??.dll based on
the version of Visual Studio doing the product build.
VS2003=msvcr71.dll
VS2005=msvcr80.dll
VS2008=msvcr90.dll
Reference: jdk/make/common/Defs-windows.gmk
Attempts to load a mismatched msvcr??.dll will fail and result in a 'R6034'
pop-up window (see attached screen grab wrong_RTL_popup.jpg).
[...]
44 #define CRT_DLL "msvcr71.dll"
[...]
210 if (GetJREPath(crtpath, MAXPATHLEN)) {
211 (void)JLI_StrCat(crtpath, "\\bin\\" CRT_DLL); /* Add crt dll */
212 JLI_TraceLauncher("CRT path is %s\n", crtpath);
213 if (_access(crtpath, 0) == 0) {
214 if (LoadLibrary(crtpath) == 0) {
215 ReportErrorMessage(DLL_ERROR4, crtpath);
216 return JNI_FALSE;
217 }
218 }
219 }
This needs to be modified to look for the correct msvcr??.dll based on
the version of Visual Studio doing the product build.
VS2003=msvcr71.dll
VS2005=msvcr80.dll
VS2008=msvcr90.dll
Reference: jdk/make/common/Defs-windows.gmk
Attempts to load a mismatched msvcr??.dll will fail and result in a 'R6034'
pop-up window (see attached screen grab wrong_RTL_popup.jpg).
- relates to
-
JDK-6282039 java.exe/javaw.exe need to work with vc7
- Resolved
-
JDK-6523947 Specific manifest required for bin/*.exe files if build was performed using VS2005/VS2008
- Closed