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

There are 99 uses of FLAG_SET_ERGO, should they check the return value?

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P3
    • 22
    • 9
    • hotspot

    Description

      There are 99 uses of FLAG_SET_ERGO in 12 files, should they check the return value like FLAG_SET_CMDLINE?

      The initial assumption was that FLAG_SET_ERGO users know what they are doing, but there are bugs. Should we check the return value and assert if range/constraint is invalidated?

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              gziemski Gerard Ziemski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: