8303480: Miscellaneous fixes to mostly invisible doc comments

Reviewed-by: mullan, prr, cjplummer, aivanov, jjg, lancea, rriggs, ihse
This commit is contained in:
Pavel Rappo 2023-03-07 15:31:42 +00:00
parent 43288bbd68
commit 45a616a891
39 changed files with 75 additions and 75 deletions

View file

@ -255,7 +255,7 @@ final class BootstrapMethodInvoker {
/**
* @return true iff the BSM method type exactly matches
* {@see java.lang.invoke.StringConcatFactory#makeConcatWithConstants(MethodHandles.Lookup,
* {@link java.lang.invoke.StringConcatFactory#makeConcatWithConstants(MethodHandles.Lookup,
* String,MethodType,String,Object...))}
*/
private static boolean isStringConcatFactoryBSM(MethodType bsmType) {
@ -264,7 +264,7 @@ final class BootstrapMethodInvoker {
/**
* @return true iff the BSM method type exactly matches
* {@see java.lang.invoke.LambdaMetafactory#metafactory(
* {@link java.lang.invoke.LambdaMetafactory#metafactory(
* MethodHandles.Lookup,String,Class,MethodType,MethodHandle,MethodType)}
*/
private static boolean isLambdaMetafactoryCondyBSM(MethodType bsmType) {
@ -273,7 +273,7 @@ final class BootstrapMethodInvoker {
/**
* @return true iff the BSM method type exactly matches
* {@see java.lang.invoke.LambdaMetafactory#metafactory(
* {@link java.lang.invoke.LambdaMetafactory#metafactory(
* MethodHandles.Lookup,String,MethodType,MethodType,MethodHandle,MethodType)}
*/
private static boolean isLambdaMetafactoryIndyBSM(MethodType bsmType) {
@ -282,7 +282,7 @@ final class BootstrapMethodInvoker {
/**
* @return true iff the BSM method type exactly matches
* {@see java.lang.invoke.LambdaMetafactory#altMetafactory(
* {@link java.lang.invoke.LambdaMetafactory#altMetafactory(
* MethodHandles.Lookup,String,MethodType,Object[])}
*/
private static boolean isLambdaMetafactoryAltMetafactoryBSM(MethodType bsmType) {

View file

@ -186,7 +186,7 @@ public final class AccessControlContext {
}
/**
* package private to allow calls from (@code ProtectionDomain} without
* package private to allow calls from {@code ProtectionDomain} without
* performing the security check for
* {@linkplain SecurityConstants#CREATE_ACC_PERMISSION} permission
*/

View file

@ -260,7 +260,7 @@ public abstract class BasicPermission extends Permission
/**
* {@code readObject} is called to restore the state of the
* (@code BasicPermission} from a stream.
* {@code BasicPermission} from a stream.
*
* @param s the {@code ObjectInputStream} from which data is read
* @throws IOException if an I/O error occurs
@ -323,8 +323,8 @@ final class BasicPermissionCollection
private transient ConcurrentHashMap<String, Permission> perms;
/**
* This is set to {@code true} if this (@code BasicPermissionCollection}
* contains a {code BasicPermission} with '*' as its permission name.
* This is set to {@code true} if this {@code BasicPermissionCollection}
* contains a {@code BasicPermission} with '*' as its permission name.
*
* @see #serialPersistentFields
*/

View file

@ -162,7 +162,7 @@ public class CallingSequence {
/**
* The size of the return buffer, if one is needed.
*
* {@see #needsReturnBuffer}
* @see #needsReturnBuffer
*
* @return the return buffer size
*/

View file

@ -66,7 +66,7 @@ public class VMSupport {
}
/**
* @returns a Properties object containing only the entries in {@code p}
* @return a Properties object containing only the entries in {@code p}
* whose key and value are both Strings
*/
private static Properties onlyStrings(Properties p) {

View file

@ -169,7 +169,7 @@ public class LocaleNameProviderImpl extends LocaleNameProvider implements Availa
}
/**
* @inheritDoc
* {@inheritDoc}
*/
@Override
public String getDisplayUnicodeExtensionKey(String key, Locale locale) {
@ -180,7 +180,7 @@ public class LocaleNameProviderImpl extends LocaleNameProvider implements Availa
}
/**
* @inheritDoc
* {@inheritDoc}
*/
@Override
public String getDisplayUnicodeExtensionType(String extType, String key, Locale locale) {