Skip to content

Commit 8259569

Browse files
committed
Clarify HotSpotResolvedJavaMethod#isScoped javadoc
1 parent 3c1792d commit 8259569

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethod.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public interface HotSpotResolvedJavaMethod extends ResolvedJavaMethod {
5959
boolean hasReservedStackAccess();
6060

6161
/**
62-
* Returns true if this method has a {@code Scoped} annotation.
62+
* Returns true if this method has a
63+
* {@code jdk.internal.misc.ScopedMemoryAccess.Scoped} annotation.
6364
*
6465
* @return true if Scoped annotation present, false otherwise
6566
*/

src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ public boolean hasReservedStackAccess() {
325325
}
326326

327327
/**
328-
* Returns true if this method has a {@code Scoped} annotation.
328+
* Returns true if this method has a
329+
* {@code jdk.internal.misc.ScopedMemoryAccess.Scoped} annotation.
329330
*
330331
* @return true if Scoped annotation present, false otherwise
331332
*/

0 commit comments

Comments
 (0)