-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWT Support is Incomplete in 20.3.beta1 #180
Comments
Hi @sherl0cks thanks for reporting this issue
I tried both and they both fail on upstream graal I am marking this as |
This is being tracked upstream as oracle#1163 I've added a comment that the current support is still insufficient for ImageIO: Let's see if I can come with a patch to address these. |
So apparently most of the issues go away if you first pre-configure reflection and JNI via the
This writes images
|
Adding back in
|
Tracked upstream with: |
Created quarkusio/quarkus#13567 to add the necessary configuration to quarkus to enable this use case. |
This seems to be working fine with the latest mandrel 21.0 image:
Closing, as it's fixed with quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11 |
@sherl0cks I think the |
@galderz the saga continues. Thanks for your update. |
@sherl0cks The saga has come to an end, see #292 (comment) |
Description
The backport of oracle@5d2997a is insufficient to load a buffered image via Apache Imaging or Image IO in a native linux image. I was able to get the native image built, so it does mean that backport does provide some meaningful AWT functionality (see oracle#2842 for context).
How To Reproduce
I don't have a ready reproducer available, but you just need to build a native linux image that uses
ImageIO.read
orImaging.getBufferedImage
Configuration:
https://quay.io/repository/quarkus/ubi-quarkus-mandrel:20.3.0.0.Beta1-java11
Expected behavior
Buffered Image is loaded without error.
Actual Behavior
For ImageIO:
For Apache Imaging:
The text was updated successfully, but these errors were encountered: