Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

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
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

3 comments on commit 6d9a50e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@JesperIRL
Copy link
Member

Choose a reason for hiding this comment

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

/tag jdk-22+35

@openjdk
Copy link

@openjdk openjdk bot commented on 6d9a50e Feb 8, 2024

Choose a reason for hiding this comment

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

@JesperIRL The tag jdk-22+35 was successfully created.

Please sign in to comment.