[jdk15u-dev] Integrated: 8283059: Uninitialized warning in check_code.c with GCC 11.2

Roman Marchenko duke at openjdk.org
Mon Oct 3 09:13:04 UTC 2022


On Fri, 30 Sep 2022 13:30:49 GMT, Roman Marchenko <duke at openjdk.org> wrote:

> Backport JDK-8283059
> 
> This is a fix for GCC11's 'maybe-uninitialized' warning.
> 
> There was a merge conflict at line 3824, because the backport restores the original code "`buffer = malloc(length + 1)`" removed previously by an intermediate change in upstream. The jdk15 repository still contain this line unchanged, so this is why the merge conflict occurs here. There is no need to apply any changes to this line in the backport.
> 
> No tier1 regression.

This pull request has now been integrated.

Changeset: ca5adc33
Author:    Roman Marchenko <rmarchenko at azul.com>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.org/jdk15u-dev/commit/ca5adc3333d564c49898efb50e05acda856d6718
Stats:     29 lines in 1 file changed: 9 ins; 0 del; 20 mod

8283059: Uninitialized warning in check_code.c with GCC 11.2

Reviewed-by: yan
Backport-of: d8893fad23d1ee6841336b96c34599643edb81ce

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

PR: https://git.openjdk.org/jdk15u-dev/pull/285


More information about the jdk-updates-dev mailing list