-
Bug
-
Resolution: Not an Issue
-
P4
-
11, 12, 13
-
None
-
x86
-
windows_10
If we run test/jdk/java/awt/print/PrinterJob/LandscapeStackOverflow.java
in Windows 10 where no printer servies are present it doesnt throw Printer exception. In case of Mac and Ubuntu it throws printer exception.
In case of Windows test timeout.
Ubuntu :
java.awt.print.PrinterException: No print service found.
at java.desktop/sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1512)
at LandscapeStackOverflow.main(LandscapeStackOverflow.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
Mac :
java.awt.print.PrinterException: No print service found.
at java.desktop/sun.lwawt.macosx.CPrinterJob.print(CPrinterJob.java:265)
at LandscapeStackOverflow.main(LandscapeStackOverflow.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
in Windows 10 where no printer servies are present it doesnt throw Printer exception. In case of Mac and Ubuntu it throws printer exception.
In case of Windows test timeout.
Ubuntu :
java.awt.print.PrinterException: No print service found.
at java.desktop/sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1512)
at LandscapeStackOverflow.main(LandscapeStackOverflow.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
Mac :
java.awt.print.PrinterException: No print service found.
at java.desktop/sun.lwawt.macosx.CPrinterJob.print(CPrinterJob.java:265)
at LandscapeStackOverflow.main(LandscapeStackOverflow.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
- duplicates
-
JDK-8225007 java/awt/print/PrinterJob/LandscapeStackOverflow.java may hang
- Resolved
- relates to
-
JDK-8224969 java/awt/print/PrinterJob/LandscapeStackOverflow.java fails in Windows 10
- Closed