-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b04
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8362023 | 25.0.1 | Aleksey Shipilev | P3 | Resolved | Fixed | master |
JDK-8360310 | 25 | Aleksey Shipilev | P3 | Resolved | Fixed | b29 |
JDK-8360368 | 21.0.9 | Aleksey Shipilev | P3 | Resolved | Fixed | master |
JDK-8360547 | 17.0.17 | Aleksey Shipilev | P3 | Resolved | Fixed | master |
JDK-8360875 | 11.0.29 | Aleksey Shipilev | P3 | Resolved | Fixed | master |
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_test_enableIf.obj:
test_enableIf.cpp
d:\a\jdk21u-dev\jdk21u-dev\test\hotspot\gtest\metaprogramming\test_enableIf.cpp(74): error C2244: 'TestEnableIfNested<T>::sub1': unable to match function definition to an existing declaration
d:\a\jdk21u-dev\jdk21u-dev\test\hotspot\gtest\metaprogramming\test_enableIf.cpp(74): note: see declaration of 'TestEnableIfNested<T>::sub1'
d:\a\jdk21u-dev\jdk21u-dev\test\hotspot\gtest\metaprogramming\test_enableIf.cpp(74): note: definition
d:\a\jdk21u-dev\jdk21u-dev\test\hotspot\gtest\metaprogramming\test_enableIf.cpp(74): note: 'U TestEnableIfNested<T>::sub1(U)'
d:\a\jdk21u-dev\jdk21u-dev\test\hotspot\gtest\metaprogramming\test_enableIf.cpp(74): note: existing declarations
d:\a\jdk21u-dev\jdk21u-dev\test\hotspot\gtest\metaprogramming\test_enableIf.cpp(69): note: 'U TestEnableIfNested<T>::sub1(U)'
Nothing explains this compilation error. I suspect this is a MSVC bug.
This matches with windows-2025 runner docs [1] that say they ship with MSVC 14.44, and MS docs [2] say "V143 - 14.43" support is "TBD", while "V143 - 14.xx" is claimed to be supported until "Jan 13, 2032 (Supported version)".
I suspect it would not be the final MSVC version, but given that we have to upgrade GHA workflows due to windows-2019 deprecation, and update releases need to dodge MSVC issues, and that 14.44 is documented to be available, we are forced to switch to it.
We would probably need to bump MSVC version again some time later.
[1] https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md
[2] https://learn.microsoft.com/en-us/lifecycle/faq/visual-c-faq
- backported by
-
JDK-8360310 GHA: Bump MSVC to 14.44
-
- Resolved
-
-
JDK-8360368 GHA: Bump MSVC to 14.44
-
- Resolved
-
-
JDK-8360547 GHA: Bump MSVC to 14.44
-
- Resolved
-
-
JDK-8360875 GHA: Bump MSVC to 14.44
-
- Resolved
-
-
JDK-8362023 GHA: Bump MSVC to 14.44
-
- Resolved
-
- relates to
-
JDK-8359216 Test test_enableIf.cpp fails to compile with error C2244
-
- Resolved
-
-
JDK-8358538 Update GHA Windows runner to 2025
-
- Resolved
-
- links to
-
Commit(jdk25) openjdk/jdk/7cc1f82b
-
Commit(master) openjdk/jdk11u-dev/0927ca70
-
Commit(master) openjdk/jdk17u-dev/cd08601f
-
Commit(master) openjdk/jdk21u-dev/10929bdf
-
Commit(master) openjdk/jdk/72679c94
-
Review(jdk25) openjdk/jdk/25939
-
Review(master) openjdk/jdk11u-dev/3052
-
Review(master) openjdk/jdk17u-dev/3617
-
Review(master) openjdk/jdk21u-dev/1853
-
Review(master) openjdk/jdk/25912