RFR: 8339852: Fix typos in java.compiler documentation

Chen Liang liach at openjdk.org
Tue Sep 10 20:24:04 UTC 2024


On Tue, 10 Sep 2024 18:09:10 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> "Type" is appropriate here and in some other locations in the `AnnotatedConstruct` javadoc. I paid attention to the difference between "contain-ing annotation interface" and "contain-er annotation".
>> 
>> @dansmithcode, please correct me if I'm wrong.
>
> For convenience, here's the rendered documentation in question for JDK 23: https://download.java.net/java/early_access/jdk23/docs/api/java.compiler/javax/lang/model/AnnotatedConstruct.html#:~:text=containing

The "type" terminology is outdated and is already migrated to "class or interface" or the applicable subtype elsewhere: https://bugs.openjdk.org/browse/JDK-8257636 and commit 952dc704

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20937#discussion_r1752674984


More information about the compiler-dev mailing list