RFR: 7903731: Jextract should support macOS frameworks [v9]

Nizar Benalla nbenalla at openjdk.org
Fri Mar 7 16:49:26 UTC 2025


On Fri, 7 Mar 2025 16:42:23 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:

>> Read the JBS issue for more detail.
>> 
>> This patch adds two new mac specific options, to make it easier to use frameworks and remove the need of a `compile_flags.txt` file. An exception is thrown if those options are used from an other platform, the error message is inspired from `jpackage`
>
> Nizar Benalla has updated the pull request incrementally with one additional commit since the last revision:
> 
>   error handling + assertion isn't necessary

If the framework path can't be resolved the user gets the following error, `error: invalid library specifier for -framework option: <Name>`.
I made a small change to throw an exception rather than have a simple assert.

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

PR Comment: https://git.openjdk.org/jextract/pull/268#issuecomment-2706928548


More information about the jextract-dev mailing list