RFR: 8280193: summary javadoc for java.awt.GraphicsEnvironment#preferPropotionalFonts broken

Phil Race prr at openjdk.java.net
Thu Mar 24 02:51:56 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">

Marked as reviewed by prr (Reviewer).

I am fine with this but there's probably a javadoc way to escape this

Fix the PR spelling or it won't integrate

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

PR: https://git.openjdk.java.net/jdk/pull/7127



More information about the client-libs-dev mailing list