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

don't prefix developer and notproduct flag variables with CONST_ in product builds

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b96

      When working on JDK-8024545 I added code that prefixes developer and notproduct flags with CONST_. I think I did this to be able to access the address of these variables for the flag table. But this is not necessary because these flag cannot be written anyway.

      I am proposing to remove the CONST_ prefix and define the variables as const.

            twisti Christian Thalinger (Inactive)
            twisti Christian Thalinger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: