8338014: Improve usage of @jvms tags in class file API

Reviewed-by: darcy, liach, asotona
This commit is contained in:
Sonia Zaldana Calles 2024-08-15 13:28:25 +00:00
parent 74fdd6868d
commit 56dec215b0
40 changed files with 76 additions and 76 deletions

View file

@ -365,7 +365,7 @@ public sealed interface ConstantPoolBuilder
* it is returned; otherwise, a new entry is added and the new entry is
* returned.
*
* @param refKind the reference kind of the method handle {@jvms 4.4.8}
* @param refKind the reference kind of the method handle (JVMS {@jvms 4.4.8})
* @param reference the constant pool entry describing the field or method
*/
MethodHandleEntry methodHandleEntry(int refKind, MemberRefEntry reference);

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -48,7 +48,7 @@ public sealed interface MethodHandleEntry
}
/**
* {@return the reference kind of this method handle {@jvms 4.4.8}}
* {@return the reference kind of this method handle (JVMS {@jvms 4.4.8})}
* @see java.lang.invoke.MethodHandleInfo
*/
int kind();