RFR: 8255790: GTKL&F: Java 16 crashes on initialising GTKL&F on Manjaro Linux [v3]

Magnus Ihse Bursie ihse at openjdk.java.net
Thu Sep 23 10:33:04 UTC 2021


On Wed, 15 Sep 2021 19:43:45 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:

>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8255790: GTKL&F: Java 16 crashes on initialising GTKL&F on Manjaro Linux
>
> You mention that "too many systems have to old a version of harfbuzz".
> Is the required version defined somewhere? There's no check in configure for either a version or a required symbol:
> https://github.com/openjdk/jdk/blob/cbffecc61e4a9ac1172926ef4f20d918d73adde9/make/autoconf/lib-bundled.m4#L291
> 
> With undefined symbols also being left to runtime (hence why JDK-8272332 doesn't show up during build), it seems this could lead to sporadic runtime failures if OpenJDK is unknowingly built against a harfbuzz that is too old.

@gnu-andrew Maybe I'm misunderstanding here, but if symbol lookup is done at runtime, then the failure would occur if the JDK is *run* on a system with a too old harfbuzz, not if it is *built* on it. So it seems you want runtime checks, not build-time checks, right?

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

PR: https://git.openjdk.java.net/jdk/pull/2982



More information about the client-libs-dev mailing list