Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8278144

Javadoc for MemorySegment::set/MemorySegment::setAtIndex is missing throws tag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
      None
    • Resolved In Build:
      b27

      Description

      When calling MemorySegment::set/MemorySegment::setAtIndex on a read-only segment, an UnsupportedOperationException is thrown. This exception is not documented in the javadoc for these methods.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mcimadamore Maurizio Cimadamore
              Reporter:
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: