Skip to content

Commit c516852

Browse files
committedDec 12, 2023
8321889: JavaDoc method references with wrong (nested) type
Reviewed-by: alanb
1 parent 7d90396 commit c516852

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed
 

‎src/java.base/share/classes/java/lang/invoke/MethodHandles.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1841,7 +1841,7 @@ public Lookup dropLookupMode(int modeToDrop) {
18411841
* <a href="MethodHandles.Lookup.html#secmgr">refuses access</a>
18421842
* @throws NullPointerException if {@code bytes} is {@code null}
18431843
* @since 9
1844-
* @see Lookup#privateLookupIn
1844+
* @see MethodHandles#privateLookupIn
18451845
* @see Lookup#dropLookupMode
18461846
* @see ClassLoader#defineClass(String,byte[],int,int,ProtectionDomain)
18471847
*/

‎src/java.compiler/share/classes/javax/lang/model/element/package-info.java

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

‎src/java.smartcardio/share/classes/javax/smartcardio/CardTerminals.java

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2006, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -205,14 +205,12 @@ public static enum State {
205205
CARD_ABSENT,
206206
/**
207207
* CardTerminals for which a card insertion was detected during the
208-
* latest call to {@linkplain State#waitForChange waitForChange()}
209-
* call.
208+
* latest call to {@linkplain CardTerminals#waitForChange() waitForChange()}.
210209
*/
211210
CARD_INSERTION,
212211
/**
213212
* CardTerminals for which a card removal was detected during the
214-
* latest call to {@linkplain State#waitForChange waitForChange()}
215-
* call.
213+
* latest call to {@linkplain CardTerminals#waitForChange() waitForChange()}.
216214
*/
217215
CARD_REMOVAL,
218216
}

0 commit comments

Comments
 (0)
Please sign in to comment.