RFR: 8280193: summary javadoc for java.awt.GraphicsEnvironment#preferPropotionalFonts broken
James Nord
duke at openjdk.java.net
Wed Mar 23 10:03:33 UTC 2022
On Tue, 18 Jan 2022 14:05:55 GMT, James Nord <duke at openjdk.java.net> wrote:
> https://bugs.openjdk.java.net/browse/JDK-8280193
>
>
> Javadoc broke the first sentence at the full stop space (newline) so it rendered with `Indicates a preference for proportional over non-proportional (e.g.`
>
> This is an incorrect sentence, and so this change fixes it by replacing the `e.g.` to `for example`
>
> https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/java/awt/GraphicsEnvironment.html
>
> <img width="706" alt="image" src="https://user-images.githubusercontent.com/494726/149952315-651a4231-d641-4b73-8fea-93c83e1aa257.png">
src/java.desktop/share/classes/java/awt/GraphicsEnvironment.java line 360:
> 358:
> 359: /**
> 360: * Indicates a preference for proportional over non-proportional (for
This does not use the newer `@summary` tag to allow for simple backporting to JDK8 which has the same issue.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7127
More information about the client-libs-dev
mailing list