RFR: Improve missing symbols handling

Henry Jen henry.jen at oracle.com
Fri May 3 16:43:47 UTC 2019


Hi,

Please review a webrev[1] that add the missing —missing-symbols warn support, and turn on symbol checking against default library by default.

This is kind of a follow up to JDK-8223247, as that simply assume we are using the default libraries within JVM if no -l option is provided. This webrev now will

- Same behavior as before if both -l and -L are provided.
- Symbol check is turned on always. If there is no -l provided, jextract will check symbols against the default library.
- Default is to issue warnings without -l, exclude with explicit -l. This is mostly backward compatible as it doesn’t change generated code/classes, but show warnings to inform user about potential missing libraries.

To be 100% compatible with before, use '—missing-symbols ignore’

Thoughts?

Cheers,
Henry

[1] http://cr.openjdk.java.net/~henryjen/panama/missingSymbols/webrev/


More information about the panama-dev mailing list