Newly added Classfile API is based on pattern matching preview feature. Unfortunately standard tier1 - 3 tests execution does not involve javadoc generation and so it didn't discover missing preview option.
Please review this patch enabling preview for javadoc generation, until pattern matching is finalized. Thank you, Adam ------------- Commit messages: - 8303915: javadoc build failure after JDK-8294959 Changes: https://git.openjdk.org/jdk/pull/12957/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12957&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8303915 Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/12957.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12957/head:pull/12957 PR: https://git.openjdk.org/jdk/pull/12957