RFR: 8287118: Use monospace font for annotation default values

liach duke at openjdk.java.net
Sat May 21 00:16:10 UTC 2022


Now the default values of annotation interface methods are rendered in `<code>` tags like the values on the constant values page.

Compare `BeanProperties` from [JDK 18](https://docs.oracle.com/en/java/javase/18/docs/api/java.desktop/java/beans/BeanProperty.html) and [this patch](https://cr.openjdk.java.net/~liach/8287118/java.desktop/java/beans/BeanProperty.html).

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

Commit messages:
 - 8287118: Use monospace font for annotation default values

Changes: https://git.openjdk.java.net/jdk/pull/8822/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8822&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8287118
  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8822.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8822/head:pull/8822

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


More information about the javadoc-dev mailing list