Integrated: 8274497: Unnecessary Vector usage in AquaFileSystemModel

2021-10-06 Thread Andrey Turbanov
On Fri, 17 Sep 2021 20:32:00 GMT, Andrey Turbanov wrote: > Fields AquaFileSystemModel.fileCache and > AquaFileSystemModel.FilesLoader.queuedTasks are accessed only under > synchronized(fileCacheLock). > It means extract synchronization by Vector is not needed. This pull request has now been i

Integrated: 8274456 : Remove jtreg tag manual=yesno java/awt/print/PrinterJob/PageDialogTest.java

2021-10-06 Thread lawrence . andrews
On Fri, 1 Oct 2021 18:27:21 GMT, lawrence.andrews wrote: > 1) Removed =yesno > 2) After running the test case, test UI will close immediately. Where the > user cannot interact so rewrote the test case. > a) Toolkit Modal Dialog will be shown after clicking the show button. > b) Added timeout &

RFR: 8041125: ColorConvertOp filter much slower in JDK 8 compared to JDK7

2021-10-06 Thread Sergey Bylokhov
We have improved the cmm code over a few releases and mostly resolve the JDK-8041125. But I have executed an attached test case under a profiler and found that: * less than 10% is an actual pixel transformation inside littlecms * 30% is a native up-calls like getXXField * 30% is incoming arrays

Integrated: 8273102: Delete deprecated for removal the empty finalize() in java.desktop module

2021-10-06 Thread Sergey Bylokhov
On Sun, 29 Aug 2021 01:09:36 GMT, Sergey Bylokhov wrote: > The "java.desktop" module has a few implementations of the finalize() which > do nothing, deprecated since jdk9, and are marked "forRemoval = true" since > jdk16. > > This is a request to delete such empty methods. > > CSR: https://

Re: RFR: 8273102: Delete deprecated for removal the empty finalize() in java.desktop module

2021-10-06 Thread Sergey Bylokhov
On Sun, 12 Sep 2021 04:38:41 GMT, Phil Race wrote: >> The "java.desktop" module has a few implementations of the finalize() which >> do nothing, deprecated since jdk9, and are marked "forRemoval = true" since >> jdk16. >> >> This is a request to delete such empty methods. >> >> CSR: https:/

Re: RFR: 7001973: java/awt/Graphics2D/CopyAreaOOB.java fails

2021-10-06 Thread Masanori Yano
On Mon, 13 Sep 2021 11:32:37 GMT, Masanori Yano wrote: > Could you please review the 7001973 fixes? > > On Windows, CopyAreaOOB.java fails with a blank window. The cause of this > problem is that paint() works one time only. Painting area is not guaranteed > when showing a window. > > I think

Integrated: 8274496: Use String.contains() instead of String.indexOf() in java.desktop

2021-10-06 Thread Andrey Turbanov
On Fri, 17 Sep 2021 15:46:51 GMT, Andrey Turbanov wrote: > String.contains was introduced in Java 5. > Some code in java.desktop still uses old approach with String.indexOf to > check if String contains specified substring. > I propose to migrate such usages. Makes code shorter and easier to re