RFR: JDK-8251177: [macosx] The text "big" is truncated in JTabbedPane [v5]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Apr 22 06:48:28 UTC 2022


On Thu, 21 Apr 2022 16:30:20 GMT, Harshitha Onkar <duke at openjdk.java.net> wrote:

>> test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java line 51:
>> 
>>> 49:              tab height but this is OK and NOT a failure.
>>> 50:             """;
>>> 51: 
>> 
>> looks ok in jtreg but standalone execution in my windows fails with this String initialization. Probably we can do normal string with "+" as continuation instead of """ literal
>> 
>> 
>> javac bug4209065.java
>> bug4209065.java:44: error: unclosed string literal
>>     private static final String text = """
>
> @prsadhuk Thanks for catching it. I'll make the required changes.

SInce you are hardcoding PassFailFrame column to 35, it seems some word break is not perfect in the above instructions.
Probably, you can put \n break at appropriate positions in NOTE to show better.

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

PR: https://git.openjdk.java.net/jdk/pull/8307



More information about the client-libs-dev mailing list