Snailclimb / Snailclimb/JavaGuide

关于String类的实现的补充:Java 9 之后,String 类的实现改用 byte 数组存储字符串

Open
#675 11 comments 18 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discuss enhancement perfect
Dominant language
JavaScript
Stars
159k
Forks
46.1k
Avg merge
14h 36m
Merged PRs (30d)
6

Description

在 Java 9 之后,String 类的实现改用 byte 数组存储字符串

private final byte[] value;

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Find the Java String implementation section covered by this issue and compare its description with Java 9 and later behavior. Update the documentation to mention that String stores its contents in a byte array, including the shown value field; the section is done when this implementation detail is accurately reflected.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.