On Mon, 28 Feb 2022 14:43:19 GMT, Jan Lahoda <jlah...@openjdk.org> wrote:
> 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. This pull request has now been integrated. Changeset: b03d66c5 Author: Jan Lahoda <jlah...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/b03d66c5016f3821fbf0990e045b71b59ec9a759 Stats: 56 lines in 3 files changed: 55 ins; 0 del; 1 mod 8282452: Use of Preview API in preview methods should not trigger preview warning for the enclosing class Reviewed-by: jlaskey ------------- PR: https://git.openjdk.java.net/jdk/pull/7634