-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
OptaPlanner AWT DataFlavor build time init error #20491
Comments
FYI graalvm/mandrel#292 will be fixed in upcoming Mandrel 21.2.0.2 version. See graalvm/mandrel#292 (comment) for details. I'll look into the Optaplanner issue next. |
cc @mariofusco Can we fix this upstream in Drools 8 such that this workaround can be removed? https://github.com/kiegroup/optaplanner/pull/1594 |
Thank you Galder! The fix is merged (@triceo is following up) I suspect this issue can be closed? |
No worries Geoffrey :). Closing. |
Optaplanner native integration tests are failing to build native binary due to #20239
One of the issues is:
The AWT extension pushes any
java.awt
classes to be run time initialized. In this case, some static initalization inorg.drools.compiler.kproject.models.KieModuleMarshaller
, which currently happens at build time, leads, through xstream dependency to trying to initializejava.awt.datatransfer.DataFlavor
at build time, to clashes with the AWT extension.Since the new AWT extension was introduced the Optaplanner quickstart has been failing (see #11563 (comment)).graalvm/mandrel#292 might also be related
The text was updated successfully, but these errors were encountered: