RFR: 8343118: [TESTBUG] java/awt/PrintJob/PrintCheckboxTest/PrintCheckboxManualTest.java fails with rror. Can't find HTML file PrintCheckboxManualTest.html [v3]

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Nov 11 09:18:49 UTC 2024


On Thu, 7 Nov 2024 09:05:12 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Test was pointing to missing html file, probably due to old Applet usage. Test is updated to use PFJ..
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   tag correction

> Tried printing to pdf and the output is clipped. Is it the intended behavior or printer is must required?
> 
> ![image](https://private-user-images.githubusercontent.com/107542245/384848240-3327125b-d50b-40b5-b000-f4fcec3a6550.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzEzMTQ2MjEsIm5iZiI6MTczMTMxNDMyMSwicGF0aCI6Ii8xMDc1NDIyNDUvMzg0ODQ4MjQwLTMzMjcxMjViLWQ1MGItNDBiNS1iMDAwLWY0ZmNlYzNhNjU1MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMTExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTExMVQwODM4NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MDM1N2E1OTM2Mjk2MTM0MzFmZWVhYzYwY2NmYTk2MGE1ZGFmZjViYjYwZTIzNjcyNGJiNmE3NzQxOTgxYzIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.u-xPJiIcXZOyQGVl9U47ANpY-bVlX65Nzut0Cmd974A)

It behaves the same in applet form also...I guess exact printing is not the objective of the test..If you see the JBS issue
JDK-5045936 it fails because of  `java.lang.ClassCastException: sun.print.ProxyPrintGraphics` so when it says it checks "if it prints successfully" it means without exception..
I have updated the instruction to mention this explicitly now..

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21786#issuecomment-2467620655


More information about the client-libs-dev mailing list