[foreign] RFR 8229122: 4 panama foreign tests fail on Mac OS Mojave
sundararajan.athijegannathan at oracle.com
sundararajan.athijegannathan at oracle.com
Wed Aug 7 10:31:22 UTC 2019
Updated: http://cr.openjdk.java.net/~sundar/8229122/webrev.01/index.html
Thanks,
-Sundar
On 07/08/19 2:49 pm, Maurizio Cimadamore wrote:
>
> Looks good - a possible improvement would be to define the two constants:
>
> inal static boolean macWithNoUsrInclude =
> System.getProperty("os.name").equals("Mac OS X") &&
> + !Files.isDirectory(Paths.get("/usr/include"));
> + static final String MAC_INCLUDE_ROOT =
> "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk";
>
> In a standalone interface/class, and then implement/import it from the
> affected tests, which would avoid the duplicated logic somewhat.
>
> Maurizio
>
>
> On 07/08/2019 03:02, sundararajan.athijegannathan at oracle.com wrote:
>> Please review.
>>
>> 4 panama foreign tests fail because /usr/include is missing in
>> Mojave. For now, fixing the tests with explicit -I option for SDK
>> header directory.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8229122
>>
>> Webrev: http://cr.openjdk.java.net/~sundar/8229122/webrev.00/
>>
>> Thanks,
>>
>> -Sundar
>>
More information about the panama-dev
mailing list