[jdk8u-dev] RFR: 8266187: Memory leak in appendBootClassPath()

Zhengyu Gu zgu at openjdk.java.net
Tue Apr 19 14:43:54 UTC 2022


ackport this patch for parity with Oracle 8u331. It fixes a memory leak 
and risk is low,

Bug: https://bugs.openjdk.java.net/browse/JDK-8266187
Patch: https://github.com/openjdk/jdk/commit/aa90df6f51940a73f9aa078a32768855c8568034

The original patch does not apply cleanly. The conflict is copyright year line. Resolved manually.

The original code review thread: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-December/014484.html

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

Commit messages:
 - 8266187: Memory leak in appendBootClassPath()

Changes: https://git.openjdk.java.net/jdk8u-dev/pull/42/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk8u-dev&pr=42&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266187
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk8u-dev/pull/42.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk8u-dev pull/42/head:pull/42

PR: https://git.openjdk.java.net/jdk8u-dev/pull/42


More information about the jdk8u-dev mailing list