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 ------------- Commit messages: - 8325217: MethodSymbol.getModifiers() returns SEALED for restricted methods Changes: https://git.openjdk.org/jdk/pull/18543/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18543&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8325217 Stats: 10 lines in 2 files changed: 1 ins; 2 del; 7 mod Patch: https://git.openjdk.org/jdk/pull/18543.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18543/head:pull/18543 PR: https://git.openjdk.org/jdk/pull/18543