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

Clean up JVMFlag getter/setter code

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 13
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b17

      Description

      In webrev email "Re: Revision2: Corrected: RFR 8059557 (XL): Validate JVM Command-Line Flag Arguments" Kim Barret commented:

      There is a large amount of code near-duplication among the various
      CommandLineFlagRange_<type> classes. I think this could be
      substantially reduced via some fairly straightforward usage of macros
      and templates. This can be dealt with in a follow-on cleanup - please
      file a CR.

      Probably similarly for the constraint classes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iklam Ioi Lam
              Reporter:
              gziemski Gerard Ziemski
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: