Describe the bug
PrinterJob.lookupPrintServices() can't find printers when runs in native mode. The method is invoked using a Runtime Recorder after the bean has been marked as Unremovable. If the app is run in JVM mode everything goes well
Expected behavior
PrinterJob.lookupPrintServices() returns results in both JVM and native mode
Actual behavior
PrinterJob.lookupPrintServices() returns results only in JVM
To Reproduce
Or attach an archive containing the reproducer to the issue.
local-devices-client.zip
Steps to reproduce the behavior:
Environment (please complete the following information):
java -version: 11Additional context
(Add any other context about the problem here.)
Thanks for reporting.
There likely isn't much Quarkus can do here, this is more of a GraalVM issue. Have you reported this issue on the GraalVM GitHub issue tracker?
Seems that AWT is currently not supported on Substrate VM.
Looks like the related issue is: https://github.com/oracle/graal/issues/2949
Looks like the related issue is: oracle/graal#2949
Yes, I think we can close this as this is more like an upstream issue than anything Quarkus related.
Most helpful comment
Yes, I think we can close this as this is more like an upstream issue than anything Quarkus related.