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

Nizar Benalla nbenalla at openjdk.org
Tue Mar 4 15:38:16 UTC 2025


On Tue, 4 Mar 2025 15:15:45 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:
> 
>   remove unused message (shouldn't have been added)

Sorry for the delayed update. I've made some changes based on the review comments.
-I've updated the Guide and list of options, they are no longer split into two.
-No longer emit warnings if the mac os options are used on a different platform.
-This feature should work with custom frameworks, I haven't tested it yet but I will try.
-If `--use-system-load-library` option is used without `-l`, a warning is emitted. This can be handled at the parsing level but  checking when adding options to the builder seemed simpler.

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

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


More information about the jextract-dev mailing list