8294758: JFR: Docs build fails after changes to RecordedObject and Timespan

Reviewed-by: mgronlun, alanb
This commit is contained in:
Erik Gahlin 2022-10-04 13:14:27 +00:00
parent 2dbedf0e93
commit b850f052d8
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ import java.lang.annotation.Target;
/**
* Event field annotation, specifies that the value is a duration.
* <p>
* If the annotated value equals {@code Long.MAX_VALUE), it represents forever.
* If the annotated value equals {@code Long.MAX_VALUE}, it represents forever.
*
* @since 9
*/

View File

@ -758,7 +758,7 @@ public sealed class RecordedObject
* <p>
* If the committed event value was {@code Long.MAX_VALUE},
* regardless of the unit set by {@code @Timespan}, this method returns
* {@link ChronoUnit.FOREVER.getDuration()}.
* {@link ChronoUnit#FOREVER}.
* <p>
* It's possible to index into a nested object using {@code "."} (for example,
* {@code "aaa.bbb"}).