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

Jorn Vernee jvernee at openjdk.org
Mon Jan 6 15:28:51 UTC 2025


On Thu, 2 Jan 2025 19:14:26 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:
> 
>   use consistent spacing

src/main/java/org/openjdk/jextract/JextractTool.java line 393:

> 391: 
> 392:         parser.addPlatformOption("--mac-framework-dir");
> 393:         parser.addPlatformOption("-f");

Is `addPlatformOption` just for showing a different error message?

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

PR Review Comment: https://git.openjdk.org/jextract/pull/268#discussion_r1904291712


More information about the jextract-dev mailing list