JDK-8340368 : windows-x64-slowdebug build fails after JDK-8319873
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 24
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2024-09-18
  • Updated: 2024-09-23
  • Resolved: 2024-09-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b16Fixed
Related Reports
Duplicate :  
Relates :  
Description
The build fails with:

 * For target hotspot_variant-server_libjvm_objs_static_memMapPrinter_windows.obj:
 memMapPrinter_windows.cpp
 src\hotspot\os\windows\memMapPrinter_windows.cpp(126): error C2504: 'os::win32': base class undefined
 src\hotspot\os\windows\memMapPrinter_windows.cpp(130): error C2027: use of undefined type 'os::win32'
 src\hotspot\share\runtime/os.hpp(1015): note: see declaration of 'os::win32'
 src\hotspot\os\windows\memMapPrinter_windows.cpp(130): error C3861: 'print_windows_version': identifier not found
 src\hotspot\os\windows\memMapPrinter_windows.cpp(131): error C2027: use of undefined type 'os::win32'
 src\hotspot\share\runtime/os.hpp(1015): note: see declaration of 'os::win32'
 src\hotspot\os\windows\memMapPrinter_windows.cpp(131): error C3861: 'print_uptime_info': identifier not found
 src\hotspot\os\windows\memMapPrinter_windows.cpp(132): error C2653: 'VM_Version': is not a class or namespace name
 src\hotspot\os\windows\memMapPrinter_windows.cpp(132): error C3861: 'print_platform_virtualization_info': identifier not found
Comments
The fix for this bug is integrated in jdk-24+16-1778.
18-09-2024

I added the ‘regression’ labels for tracking purposes even though it's not a regression strictly speaking.
18-09-2024

Changeset: 471a51a5 Branch: master Author: Stefan Karlsson <stefank@openjdk.org> Date: 2024-09-18 13:46:19 +0000 URL: https://git.openjdk.org/jdk/commit/471a51a5a4395f0bc6818c3c1d30455ce75500d6
18-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21063 Date: 2024-09-18 13:32:14 +0000
18-09-2024

This happens when precompiled headers are disabled.
18-09-2024

I'm running a fix through our CI where this was found.
18-09-2024

I closed the other one, so I'm reopening this :)
18-09-2024

Closing this as a duplicate of https://bugs.openjdk.org/browse/JDK-8340369. The fix will be tracked against that issue.
18-09-2024