Description
JDK 18 introduced a @snippet tag for JavaDoc's Standard Doclet, to simplify the inclusion of example source code in API documentation. See https://openjdk.java.net/jeps/413
The jdk.jfr module contains a lot of example source code, with compilation errors in the past. We should move example code into a snippet-files directory, so we can verify it compiles properly.
The jdk.jfr module contains a lot of example source code, with compilation errors in the past. We should move example code into a snippet-files directory, so we can verify it compiles properly.