RFR: 8320676 : Manual printer tests have no Pass/Fail buttons, instructions close set 1 [v13]
Alexey Ivanov
aivanov at openjdk.org
Fri Mar 29 19:33:36 UTC 2024
On Thu, 7 Mar 2024 09:27:10 GMT, Renjith Kannath Pariyangad <rkannathpari at openjdk.org> wrote:
>> Hi Reviewers,
>>
>> Updated manual printer test cases with 'PassFailJFrame', also removed unused variables. Added 'SkippedException' in case of printer missing or not configured.
>>
>> Please review and let me know your suggestions.
>>
>> Regards,
>> Renjith
>
> Renjith Kannath Pariyangad has updated the pull request incrementally with one additional commit since the last revision:
>
> Updated instructions
Changes requested by aivanov (Reviewer).
test/jdk/java/awt/print/PrinterJob/PrintAllFonts.java line 62:
> 60: }
> 61:
> 62: PassFailJFrame passFailJFrame = new PassFailJFrame.Builder()
Suggestion:
PassFailJFrame passFailJFrame = PassFailJFrame.builder()
You have to use the `builder()` method, otherwise the test will fail to compile after integration. See PR #18206 for [JDK-8325851](https://bugs.openjdk.org/browse/JDK-8325851).
-------------
PR Review: https://git.openjdk.org/jdk/pull/17607#pullrequestreview-1969477088
PR Review Comment: https://git.openjdk.org/jdk/pull/17607#discussion_r1544807647
More information about the client-libs-dev
mailing list