Skip to content

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: dfuchs
  • Loading branch information
minborg committed Feb 1, 2024
1 parent cd11059 commit 6b84f9b
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
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

1 comment on commit 6b84f9b

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.