Specification for MemorySegment::get/setString could use some clarification

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • 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.

            Assignee:
            Per-Ake Minborg
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: