Integrated: 8285850 : [AIX] unreachable code in basic_tools.m4 -> BASIC_CHECK_TAR

Deepa Kumari duke at openjdk.org
Fri Jan 27 15:31:27 UTC 2023


On Mon, 23 Jan 2023 16:47:47 GMT, Deepa Kumari <duke at openjdk.org> wrote:

> basic_tools.m4 contains the line 'elif test "x$TAR_TYPE" = "aix";...' The comparison "x$TAR_TYPE" = "aix" can never be true. Adding an 'x' to both sides of the comparison prevents an erroneous match when the variable is the empty string.
> 
> Verified the test after successful build and reflecting changes 'elif test "x$TAR_TYPE" = "xaix";...' on generated-configure.sh file.
> 
> Reported Issue : [JDK-8285850](https://bugs.openjdk.org/browse/JDK-8285850)

This pull request has now been integrated.

Changeset: dff41316
Author:    Deepa Kumari <dpakri181 at gmail.com>
Committer: Tyler Steele <tsteele at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/dff41316a2c07ef05b9f9421093ee78d6a80d92e
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8285850: [AIX] unreachable code in basic_tools.m4 -> BASIC_CHECK_TAR

Reviewed-by: erikj, tsteele

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

PR: https://git.openjdk.org/jdk/pull/12146



More information about the build-dev mailing list