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
Down for 10.3.x LTS version upgrade on Nov 3, 09:30 PM - Nov 4, 01:30 AM PT (Nov 04, 05:30 AM - 09:30 AM GMT, Tuesday)
JDK
JDK-8302979
(fs) Files usage of SUPPORTED_CHARSETS could be simplified
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:
None
Subcomponent:
java.nio
Resolved In Build:
b11
Description
Code of Files.lines() could be slightly simplified:
- use Charsets instead of their names
- use Set.of() instead of HashSet
Attachments
Issue Links
links to
Commit
openjdk/jdk/25bfed3b
Review
openjdk/jdk/12688
Activity
People
Assignee:
Sergey Tsypanov
Reporter:
Sergey Tsypanov
Votes:
0
Vote for this issue
Watchers:
3
Start watching this issue
Dates
Created:
2023-02-21 03:18
Updated:
2023-02-27 10:35
Resolved:
2023-02-22 06:10