RFR: JDK-8312013: avoid UnixConstants.java.template warning: '__linux__' is not defined on AIX [v2]
Matthias Baesken
mbaesken at openjdk.org
Thu Jul 13 14:06:13 UTC 2023
On Thu, 13 Jul 2023 13:55:23 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> We run into this build warning on AIX :
>> /jdk/src/java.base/unix/classes/sun/nio/fs/UnixConstants.java.template:127:7: warning: '__linux__' is not defined, evaluates to 0 [-Wundef]
>> #elif __linux__
>> 1 warning generated.
>>
>> Looks like the preprocessor check should be adjusted, because the macro is not present on non-Linux systems.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> adjust COPYRIGHT headers
Hi Alan and Vyom, thanks for the reviews .
I adjusted the COPYRIGHT header.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14864#issuecomment-1634302195
More information about the nio-dev
mailing list