Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8280474

Garbage value passed to getLocaleInfoWrapper in HostLocaleProviderAdapter_md

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 19
    • 11, 17, 18, 19
    • core-libs
    • b07
    • windows
    • Verified

    Description

      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]

      Attachments

        Issue Links

          Activity

            People

              djelinski Daniel Jelinski
              djelinski Daniel Jelinski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: