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

Assert that ABS input and output are legal

XMLWordPrintable

    • b21

      As suggested by [~dlong] here [1], we should assert that it has legal input (not MIN_INT) and output (non-negative value) in debug builds.

      [1] https://github.com/openjdk/jdk/pull/18397/files#r1532629022

            shade Aleksey Shipilev
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: