[jdk8u-dev] Integrated: 8315135: Memory leak in the native implementation of Pack200.Unpacker.unpack()

Volker Simonis simonis at openjdk.org
Fri Sep 1 14:45:50 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!

This pull request has now been integrated.

Changeset: 6632d0a7
Author:    Volker Simonis <simonis at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/6632d0a78758d11744906fdef6c3268d7091070e
Stats:     65 lines in 4 files changed: 63 ins; 0 del; 2 mod

8315135: Memory leak in the native implementation of Pack200.Unpacker.unpack()

Reviewed-by: andrew
Backport-of: b77c161e7509aa3b09ebf3e6b2b1490c0667bbdc

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

PR: https://git.openjdk.org/jdk8u-dev/pull/361


More information about the jdk8u-dev mailing list