ThrowMissingRegistrationErrors: AWT Desktop i18N, SPI for ImageIO #45176
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #44622
...although "fixes" is a rather too nice a statement. It feels like @zakkak reported a crack in a fine pottery and I provided a fix fit a hammer.
Resource bundles in java.awt.Toolkit
This is fine. All those resource bundles are for Desktop UI we don't support. Quarkus support int he core repo is strictly about server side image processing.
ImageIO SPI
I find this potentially problematic. If you write your own plugin and you would like to register it to be known at build time, this substitution cripples the ability to load it. The core test suite passes though.
Summary
The warnings, triggered as:
Are all gone expect for those AWT unrelated:
As you can see, the main config file for Quarkus is being looked up until it's found. I'd like to have some better tool on the GraalVM side to address this. Something like
-H:ExcludeResources=...
but let's say-H:IgnoreResources=...
or something like that. To tell the app that it's O.K. these resources weren't found and that we don't care...?WDYT?