Some JFR annotations, such as Threshold and Description, use "not null", but an annotation can't return null (unless somebody implements the interface, which they shouldn't). The documentation should be consistent. Label and Period don't mention "not null."
- csr for
-
JDK-8358969 JFR: Annotations in jdk.jfr package should not use "not null" in specification
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/25b22c9b
-
Review(master) openjdk/jdk/25723