RFR: 8325217: MethodSymbol.getModifiers() returns SEALED for restricted methods
Jan Lahoda
jlahoda at openjdk.org
Wed Apr 3 15:25:09 UTC 2024
On Fri, 29 Mar 2024 01:17:42 GMT, Vicente Romero <vromero at 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
Looks good to me.
-------------
Marked as reviewed by jlahoda (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18543#pullrequestreview-1977176838
More information about the javadoc-dev
mailing list