Karm / mandrel-integration-tests

Integration tests for GraalVM and its Mandrel distribution. Runs Quarkus, Helidon and Micronaut applications and small targeted reproducers. The focus is solely on native-image utility and compilation of Java applications into native executables.
Apache License 2.0
5 stars 3 forks source link

Implements static check for harfbuzz lib and others #18

Closed Karm closed 3 years ago

Karm commented 3 years ago

Closes #16

The test works on Centos 8 and on Ubuntu 18. (Mandrel 21.0)

It fails on Windows with notorious java.lang.UnsatisfiedLinkError: no awt in java.library.path as that is not yet solved. I will take a look at it upstream (awt.lib and awt.dll are there, so it might not be that much of a problem...).

zakkak commented 3 years ago

It fails on Windows with notorious java.lang.UnsatisfiedLinkError: no awt in java.library.path as that is not yet solved. I will take a look at it upstream (awt.lib and awt.dll are there, so it might not be that much of a problem...).

AFAIK AWT support is not yet implemented for Windows

Karm commented 3 years ago

@zakkak Shamelessly hijacking this PR's comments sections:

What does it mean "implemented"? I might be very naive...though it seems to me that native calls should be satisfied by their backing in the .dll and we have the .lib with symbols to link to....so....why wouldn't it work once paths, libraries naming and linker flags are all set? What would there be to develop?

jerboaa commented 3 years ago

@zakkak Shamelessly hijacking this PR's comments sections:

What does it mean "implemented"? I might be very naive...though it seems to me that native calls should be satisfied by their backing in the .dll and we have the .lib with symbols to link to....so....why wouldn't it work once paths, libraries naming and linker flags are all set? What would there be to develop?

Code paths through native AWT libraries are different, JNI functions are different depending on the platform. Some AWT native functions are Windows only. Thus, registrations for JNI need to be different in Graal VM. Upstream AWT support is Linux only in Graal VM 21.0. See linked release notes.