Quarkus: PrinterJob.lookupPrintServices() can't find printers in native mode

Created on 29 Oct 2020  路  4Comments  路  Source: quarkusio/quarkus

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:

  1. Run the application

Environment (please complete the following information):

  • Output of java -version: 11

    • Platform: macOS

  • GraalVM version (if different from Java): 20.2.0
  • Quarkus version or git rev: 1.9.1-Final

Additional context
(Add any other context about the problem here.)

kinbug triagmoved triagwontfix

Most helpful comment

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.

All 4 comments

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?

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.

Was this page helpful?
0 / 5 - 0 ratings