RFR: 6521141: DebugGraphics NPE @ setFont(); [v8]

Tejesh R tr at openjdk.org
Fri Aug 5 11:35:56 UTC 2022


On Fri, 5 Aug 2022 10:52:43 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Updated based on review comments
>>  - Updated based on review comments
>
> test/jdk/javax/swing/DebugGraphics/DebugGraphicsNPETest.java line 37:
> 
>> 35: public class DebugGraphicsNPETest {
>> 36:     public static void main(String[] args) throws Exception {
>> 37:         SwingUtilities.invokeAndWait(new Runnable() {
> 
> No need of using EDT here as no Swing components in used. You can just move runTest() lines in main..

Yeah right. I have updated the test @prsadhuk

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

PR: https://git.openjdk.org/jdk/pull/9673



More information about the client-libs-dev mailing list