RFR: 8255757: Javac emits duplicate pool entries on array::clone [v3]

Guoxiong Li github.com+13688759+lgxbslgx at openjdk.java.net
Thu Dec 31 16:03:15 UTC 2020

> Hi all,
> Currently, javac would emit duplicate pool entries when compiling array::clone.
> This patch fixes it by using a cached field `Map<Type, Symbol> qualifiedSymbolCache;` and adds a corresponding test case.
> Thank you for taking the time to review.
> Best Regards.

Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:

  Use Map::clear


  - all: https://git.openjdk.java.net/jdk/pull/1912/files
  - new: https://git.openjdk.java.net/jdk/pull/1912/files/1ab79ce1..d59ed82f

 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1912&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1912&range=01-02

  Stats: 4 lines in 1 file changed: 0 ins; 3 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1912.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1912/head:pull/1912

PR: https://git.openjdk.java.net/jdk/pull/1912

More information about the compiler-dev mailing list