[jdk8u-dev] RFR: 8315135: Memory leak in the native implementation of Pack200.Unpacker.unpack()
Andrew John Hughes
andrew at openjdk.org
Thu Aug 31 22:33:47 UTC 2023
On Wed, 30 Aug 2023 16:14:51 GMT, Volker Simonis <simonis at openjdk.org> wrote:
> Hi all,
>
> This pull request contains a backport of commit [b77c161e](https://github.com/openjdk/jdk11u-dev/commit/b77c161e7509aa3b09ebf3e6b2b1490c0667bbdc) from the [openjdk/jdk11u-dev](https://git.openjdk.org/jdk11u-dev) repository.
>
> The commit being backported was authored by Volker Simonis on 30 Aug 2023 and was reviewed by Christoph Langer and Thomas Stuefe.
>
> The backport applies cleanly except for the usual 11/8 directory shuffling and the following cosmetic context change in `jni.cpp`:
>
>> --- a/jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
>> +++ b/jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp
> 58c58
> < CHECK_EXCEPTION_RETURN_VALUE(uPtr, 0);
> ---
>> CHECK_EXCEPTION_RETURN_VALUE(uPtr, NULL);
>
> Thanks!
Backport looks ok (though not clean due to the context difference)
-------------
Marked as reviewed by andrew (Reviewer).
PR Review: https://git.openjdk.org/jdk8u-dev/pull/361#pullrequestreview-1605858580
More information about the jdk8u-dev
mailing list