CommandLineFlagConstraint::AtParse is not useful and not what we need

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Withdrawn
    • Priority: P2
    • 10
    • Affects Version/s: 9
    • Component/s: hotspot
    • None

      JDK-8130459 added CommandLineFlagConstraint::AtParse, but it's not quite what we need.

      AtParse denotes that a flag be checked for range/constraint ONLY at parse time, ie. only when the user sets the flag explicitly on command line. It was added to port over the existing runtime flag, but they need to be defined as AfterErgo type, so they get checked during the VM init process.

      Therefore we can safely get rid of AtParse and with some small tweaks get the correct behavior.

            Assignee:
            Gerard Ziemski (Inactive)
            Reporter:
            Gerard Ziemski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: