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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: