RFR: 8327748: Convert javax/swing/JFileChooser/6798062/bug6798062.java applet test to main [v2]

Alexey Ivanov aivanov at openjdk.org
Mon Mar 11 16:32:25 UTC 2024


On Mon, 11 Mar 2024 09:48:36 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> test/jdk/javax/swing/JFileChooser/6798062/bug6798062.java line 56:
>> 
>>> 54: public class bug6798062 {
>>> 55: 
>>> 56:     private static final String instructionsText = """
>> 
>> `instructionsText` may be capitalize as using capital letter is common convention for final variables.
>
> That is for constant, IIRC...

Either way is fine… And `instructionsText` *is* a constant but it's not public.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18180#discussion_r1519826585


More information about the client-libs-dev mailing list