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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 18
    • 18
    • core-libs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: