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

(bf) Buffer.capacity should be declared final

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 21
    • None
    • core-libs
    • b04

      It is possible to declare the field `capacity` in `java.nio.Buffer` `final` as the value never changes outside the constructors.

            pminborg Per-Ake Minborg
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: