Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
/ jdk22u Public archive

Commit

Permalink
8325001: Typo in the javadocs for the Arena::ofShared method
Browse files Browse the repository at this point in the history
Reviewed-by: mcimadamore
Backport-of: 6b84f9bb3ee4362bf9daa4fb3905b168f9035336
  • Loading branch information
minborg committed Feb 8, 2024
1 parent 9cc260d commit 6d9a50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/lang/foreign/Arena.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ static Arena ofConfined() {
}

/**
* {@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
Expand Down

0 comments on commit 6d9a50e

Please sign in to comment.