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

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

      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?

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

              Created:
              Updated:
              Resolved: