Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39145 > unrolled thread
| Started by | Eric Douglas <e.d.programmer@gmail.com> |
|---|---|
| First post | 2019-09-11 06:24 -0700 |
| Last post | 2019-09-11 06:24 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.java.programmer
PrintService Java 11 bug? Eric Douglas <e.d.programmer@gmail.com> - 2019-09-11 06:24 -0700
| From | Eric Douglas <e.d.programmer@gmail.com> |
|---|---|
| Date | 2019-09-11 06:24 -0700 |
| Subject | PrintService Java 11 bug? |
| Message-ID | <00283572-b5ee-4277-9dcf-90b658ec2e67@googlegroups.com> |
I don't believe we had this issue with Java 8. I just wrote a little test program and called javax.print.PrintServiceLookup.lookupPrintServices() and it returned an empty array. I immediately called it a second time and it returned all 11 printers. It's like it's telling something to gather a list of printers and not waiting for it. Is this a bug in the JDK or is there some way I can force it to wait?
Back to top | Article view | comp.lang.java.programmer
csiph-web