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

Clarify the docs for MemorySegment::reinterpret

XMLWordPrintable

      Here is what the docs look like (comments in parenthesis):

      However, The returned segment is backed by the same memory region as that of the original segment (note the capital T in The)
      Furthermore, if the provided scope is the scope of an automatic arena, the cleanup action must not prevent the scope from becoming unreachable. (we shouldn't say scope here - this method takes an arena!)

            pminborg Per-Ake Minborg
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: