OOM error parsing HTML with large Tag text

2020-03-16 Thread Kenny Wong
Hello, After upgrading from Java 8 to 11, we started seeing OOM errors when parsing HTML files with a large tag text. The test program below works fine under Java 8, but terminates with an OutOfMemoryError under Java 9 or later. If the tag text is *not* '\n' separated, it works in all

Re: OOM error parsing HTML with large Tag text

2020-03-16 Thread Sergey Bylokhov
Hi, Kenny. Thank you for your report, can you please file the bug here: https://bugs.java.com/bugdatabase On 3/16/20 10:08 am, Kenny Wong wrote: Hello, After upgrading from Java 8 to 11, we started seeing OOM errors when parsing HTML files with a large tag text. The test program below works

Re: RFR: 8240690 Race condition between EDT and BasicDirectoryModel.FilesLoader.run0()

2020-03-16 Thread Prasanta Sadhukhan
Looks ok to me. Regards Prasanta On 09-Mar-20 5:17 PM, Sergey Bylokhov wrote: Hello. Please review the fix for jdk/client. Bug: https://bugs.openjdk.java.net/browse/JDK-8240690 Fix: http://cr.openjdk.java.net/~serb/8240690/webrev.01 The test in the webrev has failed from time to time in our

RFR: 8152332 [macosx] JFileChooser cannot be serialized on Mac OS X

2020-03-16 Thread Sergey Bylokhov
Hello. Please review the fix for JDK/client. Bug: https://bugs.openjdk.java.net/browse/JDK-8152332 Fix: http://cr.openjdk.java.net/~serb/8152332/webrev.00 This test failed because of two product bugs JDK-8240633 and JDK-8240690(still under review). But there is an issue in the test itself, it

Re: RFR JDK-8236635: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT

2020-03-16 Thread Pankaj Bansal
Looks good to me -Pankaj On 13/03/20 10:09 PM, Prasanta Sadhukhan wrote: Hi All, Please review a fix for an issue where it is seen the frame height is different in ubuntu19.10 when it contains JTabbedPane with SCROLL_TAB_LAYOUT policy compared to WRAP_TAB_LAYOUT policy. Bug: