On Wed, 21 Dec 2022 12:22:33 GMT, Per Minborg <pminborg at openjdk.org> wrote: > It is possible to declare the field `capacity` in `java.nio.Buffer` `final` as the value never changes outside the constructors. Marked as reviewed by jpai (Reviewer). ------------- PR: https://git.openjdk.org/jdk/pull/11755