8325001: Typo in the javadocs for the Arena::ofShared method

Reviewed-by: dfuchs
This commit is contained in:
Per Minborg 2024-02-01 11:53:02 +00:00
parent cd11059f10
commit 6b84f9bb3e

View file

@ -258,7 +258,7 @@ public interface Arena extends SegmentAllocator, AutoCloseable {
}
/**
* {@return a new shared arena} Segments allocated with the global arena can be
* {@return a new shared arena} Segments allocated with the shared arena can be
* {@linkplain MemorySegment#isAccessibleBy(Thread) accessed} by any thread.
* <p>
* Memory segments {@linkplain #allocate(long, long) allocated} by the returned arena