RFR: 8282452: Use of Preview API in preview methods should not trigger preview warning for the enclosing class

Jan Lahoda jlahoda at openjdk.java.net
Mon Feb 28 14:50:21 UTC 2022


When a member of a class refers to a preview API, the whole class is marked with a preview warning. This (presumably) should be disabled when the member referring to the preview API is marked as preview.

-------------

Commit messages:
 - 8282452: Use of Preview API in preview methods should not trigger preview warning for the enclosing class

Changes: https://git.openjdk.java.net/jdk/pull/7634/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7634&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282452
  Stats: 56 lines in 3 files changed: 55 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7634.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7634/head:pull/7634

PR: https://git.openjdk.java.net/jdk/pull/7634


More information about the javadoc-dev mailing list