RFR: JDK-8251177: [macosx] The text "big" is truncated in JTabbedPane [v5]
Harshitha Onkar
duke at openjdk.java.net
Thu Apr 21 16:33:30 UTC 2022
On Thu, 21 Apr 2022 16:18:46 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
>>
>> changed test case to use PassFailJFrame instead of Applet
>
> 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8307
More information about the client-libs-dev
mailing list