8321889: JavaDoc method references with wrong (nested) type

Reviewed-by: alanb
This commit is contained in:
Hannes Wallnöfer 2023-12-12 11:27:31 +00:00
parent 7d903964fb
commit c51685267c
3 changed files with 5 additions and 7 deletions

View file

@ -1841,7 +1841,7 @@ public class MethodHandles {
* <a href="MethodHandles.Lookup.html#secmgr">refuses access</a> * <a href="MethodHandles.Lookup.html#secmgr">refuses access</a>
* @throws NullPointerException if {@code bytes} is {@code null} * @throws NullPointerException if {@code bytes} is {@code null}
* @since 9 * @since 9
* @see Lookup#privateLookupIn * @see MethodHandles#privateLookupIn
* @see Lookup#dropLookupMode * @see Lookup#dropLookupMode
* @see ClassLoader#defineClass(String,byte[],int,int,ProtectionDomain) * @see ClassLoader#defineClass(String,byte[],int,int,ProtectionDomain)
*/ */

View file

@ -75,7 +75,7 @@
* javax.lang.model.util.Elements.Origin#SYNTHETIC synthetic} * javax.lang.model.util.Elements.Origin#SYNTHETIC synthetic}
* constructs in a class file, such as accessor methods used in * constructs in a class file, such as accessor methods used in
* implementing nested classes and {@linkplain * implementing nested classes and {@linkplain
* javax.lang.model.util.Elements.Origin#isBridge(ExecutableElement) * javax.lang.model.util.Elements#isBridge(ExecutableElement)
* bridge methods} used in implementing covariant returns, are * bridge methods} used in implementing covariant returns, are
* translation artifacts strictly outside of this model. However, when * translation artifacts strictly outside of this model. However, when
* operating on class files, it is helpful be able to operate on such * operating on class files, it is helpful be able to operate on such

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2006, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -205,14 +205,12 @@ public abstract class CardTerminals {
CARD_ABSENT, CARD_ABSENT,
/** /**
* CardTerminals for which a card insertion was detected during the * CardTerminals for which a card insertion was detected during the
* latest call to {@linkplain State#waitForChange waitForChange()} * latest call to {@linkplain CardTerminals#waitForChange() waitForChange()}.
* call.
*/ */
CARD_INSERTION, CARD_INSERTION,
/** /**
* CardTerminals for which a card removal was detected during the * CardTerminals for which a card removal was detected during the
* latest call to {@linkplain State#waitForChange waitForChange()} * latest call to {@linkplain CardTerminals#waitForChange() waitForChange()}.
* call.
*/ */
CARD_REMOVAL, CARD_REMOVAL,
} }