On Tue, 22 Feb 2022 18:10:28 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> Ichiroh Takiguchi has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Use expectedLibpath
>
> For my curiosity, how is AIX different from other Linux in that the 
> test.nativepath is not/should not be in LIBPATH?

@RogerRiggs 
Many thanks. that's good point.
Only 1st part has `test.nativepath` because of following code.

if (AIX.is()) {
    pb.environment().put("LIBPATH", libpath);
}

On current condition, parent (main) process have `test.nativepath` setting into 
LIBPATH environment, but child process does not require `test.nativepath` 
setting.
So just `libpath` value should not have `test.nativepath` related entry.
And above code does not require on current condition and this test said "Pass 
Empty environment to child".
So it should be removed.

#7581 is exactly same issue.
Please choose the appropriate one.

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

PR: https://git.openjdk.java.net/jdk/pull/7574

Reply via email to