RFR: 8296789: <TAB>-completion in jshell fails to expose synthetic bridge methods
Jan Lahoda
jlahoda at openjdk.org
Wed Jan 11 09:02:11 UTC 2023
On Mon, 2 Jan 2023 16:57:54 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> Jshell does not propose completion for members declared in inaccessible parent classes (for example AbstractStringBuilder).
>
> This patch fixes the completion in SourceCodeAnalysisImpl using MethodSymbols and VarSymbols clones with altered enclosing elements. For documentation purpose (print of the enclosing classes) the original enclosing element is restored.
>
> The patch also includes new CompletionSuggestionTest::testPerentMembers
>
> Please review.
>
> Thanks,
> Adam
Ok.
-------------
Marked as reviewed by jlahoda (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11814
More information about the kulla-dev
mailing list