Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8279613

JFR: Snippify Javadoc

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 19
    • 19
    • hotspot
    • None
    • jfr
    • b09

      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.

            egahlin Erik Gahlin
            egahlin Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: