RFR: 8377185: [iOS] Native code compiler warnings and error building libprism_es2 [v3]

Johan Vos jvos at openjdk.org
Tue Feb 10 09:07:18 UTC 2026


On Mon, 9 Feb 2026 23:11:34 GMT, Jose Pereda <jpereda at openjdk.org> wrote:

>> This PR fixes the errors and some warnings that are thrown when building prism_es2 for iOS using clang.
>
> Jose Pereda has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Unify defines in PrismES2Defs header

modules/javafx.graphics/src/main/native-prism-es2/PrismES2Defs.h line 72:

> 70: #include <TargetConditionals.h>
> 71: 
> 72: #define jlong_to_ptr(value) (intptr_t)(value)

I believe we should be able to use those on IOS as well?
In any case, it is better to case to a pointer instead of to a long

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2064#discussion_r2786705195


More information about the openjfx-dev mailing list