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

Change byte_size to return size_t

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • hotspot
    • b19

      All callers of `byte_size` expect `size_t`. Change its implementation to use pointer_delta, which has built-in checks for to >= from.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: