On Tue, 14 May 2024 14:19:44 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Per Minborg has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Remove text in public class that references an internal class > > src/java.base/share/classes/java/lang/reflect/AccessibleObject.java line 195: > >> 193: * <li>final fields of a type that implements >> 194: * {@linkplain jdk.internal.lang.stable.TrustedFieldType} >> 195: * (e.g {@linkplain StableValue StableValue})</li> > > The API docs for a standard method can't reference a JDK internal annotation. > It would be possible for the API docs to admit to an implementation specific > way to do this but I think we should try to avoid this for now. I will remove it. Once some of the classes are public, we could add back a message of this type. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18794#discussion_r1600179776