On Fri, 29 Mar 2024 01:17:42 GMT, Vicente Romero <vrom...@openjdk.org> wrote:
> Please review this simple fix, basically javadoc is showing the `sealed` > modifier for methods annotated with the `jdk.internal.javac.Restricted` > annotation. This is because the `SEALED` and `RESTRICTED` flags share the > same bit. The proposed solution is to drop the `RESTRICTED` flag at > MethodSymbol::getModifiers before converting the flags to modifiers, > > TIA, > Vicente This pull request has now been integrated. Changeset: 8dc43aa0 Author: Vicente Romero <vrom...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/8dc43aa0fe8cdba2a2953258de02c6afa072987a Stats: 10 lines in 2 files changed: 1 ins; 2 del; 7 mod 8325217: MethodSymbol.getModifiers() returns SEALED for restricted methods Reviewed-by: jlahoda ------------- PR: https://git.openjdk.org/jdk/pull/18543