RFR: fixing jextract sample issues for jdk 22 [v3]

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Jan 12 13:13:50 UTC 2024


On Fri, 12 Jan 2024 13:04:40 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

>> * re-generated libjimage sources and manually adopted for library loding.
>> * avoid attempting to generate unsupported type constants ("long double")
>> * adjust shell scripts for different versions of native libraries
>> * allow Python home to be overridden by env. vars
>
> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   added a test case for long double constant case.

test/testng/org/openjdk/jextract/test/toolprovider/unsupported/TestUnsupportedTypes.java line 69:

> 67:             {"GLOBAL_UNDECLARED",                REASON_UNSUPPORTED_TYPE},
> 68:             {"undefined_typedef",                REASON_UNSUPPORTED_TYPE},
> 69:             {"LONG_DOUBLE_PI",                   REASON_UNSUPPORTED_TYPE}

watch out - this will only be unsupported on windows? Maybe better to use __128 or such?

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

PR Review Comment: https://git.openjdk.org/jextract/pull/174#discussion_r1450420959


More information about the jextract-dev mailing list