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

Guoxiong Li github.com+13688759+lgxbslgx at openjdk.java.net
Thu Dec 31 16:50:22 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:

  Fix copyright. Adjust import statements.


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

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

  Stats: 7 lines in 1 file changed: 3 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