Details
-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b119
-
x86_64
-
linux_suse_sles_10
-
Verified
Description
several tests fail with this exception on jdk1.8.0b116, jdk1.8.0b115. Passes on jdk1.7.0_45b18
----------System.out:(2/108)----------
This test is to verify that the getPageDimension and getPageResolution methods
return appropriate values.
----------System.err:(23/1531)----------
java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
at sun.print.IPPPrintService.getIPPConnection(IPPPrintService.java:1611)
at sun.print.IPPPrintService.initAttributes(IPPPrintService.java:393)
at sun.print.IPPPrintService.getSupportedDocFlavors(IPPPrintService.java:829)
at sun.print.IPPPrintService.isDocFlavorSupported(IPPPrintService.java:915)
at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:471)
at sun.print.PrintJob2D.printDialog(PrintJob2D.java:401)
at sun.awt.X11.XToolkit.getPrintJob(XToolkit.java:1220)
at Printing.testDimandResTest(Printing.java:63)
at Printing.test(Printing.java:44)
at Printing.<init>(Printing.java:29)
at Printing.main(Printing.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
result: Failed. Execution failed: `main' threw exception: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
test result: Failed. Execution failed: `main' threw exception: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
----------System.out:(2/108)----------
This test is to verify that the getPageDimension and getPageResolution methods
return appropriate values.
----------System.err:(23/1531)----------
java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
at sun.print.IPPPrintService.getIPPConnection(IPPPrintService.java:1611)
at sun.print.IPPPrintService.initAttributes(IPPPrintService.java:393)
at sun.print.IPPPrintService.getSupportedDocFlavors(IPPPrintService.java:829)
at sun.print.IPPPrintService.isDocFlavorSupported(IPPPrintService.java:915)
at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:471)
at sun.print.PrintJob2D.printDialog(PrintJob2D.java:401)
at sun.awt.X11.XToolkit.getPrintJob(XToolkit.java:1220)
at Printing.testDimandResTest(Printing.java:63)
at Printing.test(Printing.java:44)
at Printing.<init>(Printing.java:29)
at Printing.main(Printing.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
result: Failed. Execution failed: `main' threw exception: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection
test result: Failed. Execution failed: `main' threw exception: java.lang.ClassCastException: sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection