-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 11, 17, 18, 19
-
Component/s: core-libs
-
b07
-
windows
-
Verified
Reported by clang-tidy:
https://github.com/openjdk/jdk/blame/739769c8fc4b496f08a92225a12d07414537b6c0/src/java.base/windows/native/libjava/HostLocaleProviderAdapter_md.c#L838
isGenitive is only assigned when style contains CALENDAR_STYLE_STANDALONE_MASK
otherwise it contains garbage.
FYI [~naoto]
https://github.com/openjdk/jdk/blame/739769c8fc4b496f08a92225a12d07414537b6c0/src/java.base/windows/native/libjava/HostLocaleProviderAdapter_md.c#L838
isGenitive is only assigned when style contains CALENDAR_STYLE_STANDALONE_MASK
otherwise it contains garbage.
FYI [~naoto]