Fix -Wzero-as-null-pointer-constant warnings in JVMTypedFlagLimit ctors

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b07

      The template class JVMTypedFlagLimit<T> has some data members of type T, which are initialized in the constructors to an explicit value of 0. This triggers -Wzero-as-null-pointer-constant warnings when that's enabled and T is a pointer type.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: