-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 23, 24
-
Component/s: core-libs
As of Java 22, MemorySegment::get/setString allows a charset to be provided.
The charset must be one of the charset in StandardCharsets.
However, this important piece of information is only provided in the "@throws" section of the javadoc. Ideally, we should make this more visible, either in the main javadoc, or in the `@param` section.
The charset must be one of the charset in StandardCharsets.
However, this important piece of information is only provided in the "@throws" section of the javadoc. Ideally, we should make this more visible, either in the main javadoc, or in the `@param` section.
- links to
-
Commit(master)
openjdk/jdk/619b4d59
-
Review(master)
openjdk/jdk/21927