Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Help
Jira Core help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Watched Subcomponents
JDK
JDK-8299193
(bf) Buffer.capacity should be declared final
Log In
Resolved
Export
null
XML
Word
Printable
Details
Type:
Enhancement
Resolution:
Fixed
Priority:
P5
Fix Version/s:
21
Affects Version/s:
None
Component/s:
core-libs
Labels:
noreg-trivial
Subcomponent:
java.nio
Resolved In Build:
b04
Description
It is possible to declare the field `capacity` in `java.nio.Buffer` `final` as the value never changes outside the constructors.
Attachments
Issue Links
links to
Commit
openjdk/jdk/8a10eef4
Review
openjdk/jdk/11755
Activity
People
Assignee:
Per-Ake Minborg
Reporter:
Per-Ake Minborg
Votes:
0
Vote for this issue
Watchers:
6
Start watching this issue
Dates
Created:
2022-12-21 02:16
Updated:
2023-01-05 03:03
Resolved:
2023-01-02 05:26