Java Cup
Inside Java

News and views from members of the Java team at Oracle

Compiled & Tested Code in JavaDoc - Inside Java Newscast #20

Short code snippets in JavaDoc are a great way to document an API, but they're brittle. JDK 18 / JEP 413 solves that problem by allowing us to reference snippets from external files that are compiled and tested.

Show Notes

Additional Resources

The Inside Java Newscast is a monthly YouTube show - check out the YouTube playlist for all the episodes. Since 2026, we also publish it as a podcast. For more Java news, subscribe to our RSS feed and follow @Java on X.

Contact us.