Integrated: 8314662: jshell shows duplicated signatures of javap

Jan Lahoda jlahoda at openjdk.org
Mon Sep 4 08:39:47 UTC 2023


On Wed, 30 Aug 2023 10:53:15 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> The Scope may contain duplicated entries (e.g. for duplicated static imports, as in this case), which may then show as duplicate signatures in JShell.
> 
> The proposal here is to avoid using the duplicates, by using `LinkedHashSet`.

This pull request has now been integrated.

Changeset: 3094fd1a
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3094fd1ac5153289434515d9b718bc5d6885b7dc
Stats:     16 lines in 2 files changed: 13 ins; 0 del; 3 mod

8314662: jshell shows duplicated signatures of javap

Reviewed-by: asotona, cstein

-------------

PR: https://git.openjdk.org/jdk/pull/15489


More information about the kulla-dev mailing list