Integrated: JDK-8255681: print callstack in error case in runAWTLoopWithApp

2020-11-03 Thread Matthias Baesken
On Tue, 3 Nov 2020 08:45:20 GMT, Matthias Baesken wrote: > Currently in case of occurences of an NSException in runAWTLoopWithApp we > catch the exception just print a simple error message like this : > > 2020-10-30 15:28:33.027 java[634:8435] Apple AWT Startup Exception: Cannot > lock focus

Re: RFR: JDK-8244088: [Regression] Switch of Gnome theme ends up in deadlocked UI

2020-11-03 Thread Sergey Bylokhov
On Thu, 29 Oct 2020 13:14:49 GMT, Jayashree S Kumar wrote: > Issue > > https://bugs.openjdk.java.net/browse/JDK-8244088 > > Problem > > While using GTK3 java implementation, User sees a deadlock issue in UI while > trying to switch themes in gnome-tweak-tool. I'll run the tests for the

Re: RFR: JDK-8255681: print callstack in error case in runAWTLoopWithApp

2020-11-03 Thread Sergey Bylokhov
On Tue, 3 Nov 2020 08:45:20 GMT, Matthias Baesken wrote: > Currently in case of occurences of an NSException in runAWTLoopWithApp we > catch the exception just print a simple error message like this : > > 2020-10-30 15:28:33.027 java[634:8435] Apple AWT Startup Exception: Cannot > lock focus

Integrated: 8196087: java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.java fails

2020-11-03 Thread Sergey Bylokhov
On Thu, 29 Oct 2020 04:12:53 GMT, Sergey Bylokhov wrote: > The test draws some specific pattern to the VolatileImage and to the > BufferedImage, and then compare pixels. > > The test uses the getSnapshot() method to get the pixels from VolatileImage, > and this method produces some

Re: RFR: 8241806: The sun/awt/shell/FileSystemViewMemoryLeak.java is unstable

2020-11-03 Thread Sergey Bylokhov
On Tue, 3 Nov 2020 11:55:38 GMT, Alexey Ivanov wrote: > The test fails if OutOfMemoryError is thrown, right? > Is the reduced execution time enough to catch the original bug? It depends on the system, if it is really slow and just a few iterations out of 5000 will be done then the original bug

Integrated: 8255798: Remove dead headless code in CompileJavaModules.gmk

2020-11-03 Thread Magnus Ihse Bursie
On Tue, 3 Nov 2020 08:21:22 GMT, Magnus Ihse Bursie wrote: > The variable BUILD_HEADLESS_ONLY is no longer set. And sun/applet does not > exist anymore. This pull request has now been integrated. Changeset: 64a98112 Author:Magnus Ihse Bursie URL:

Re: RFR: 8255798: Remove dead headless code in CompileJavaModules.gmk

2020-11-03 Thread Erik Joelsson
On Tue, 3 Nov 2020 08:21:22 GMT, Magnus Ihse Bursie wrote: > The variable BUILD_HEADLESS_ONLY is no longer set. And sun/applet does not > exist anymore. Marked as reviewed by erikj (Reviewer). - PR: https://git.openjdk.java.net/jdk/pull/1031

Re: RFR: JDK-8255681: print callstack in error case in runAWTLoopWithApp

2020-11-03 Thread Christoph Langer
On Tue, 3 Nov 2020 08:45:20 GMT, Matthias Baesken wrote: > Currently in case of occurences of an NSException in runAWTLoopWithApp we > catch the exception just print a simple error message like this : > > 2020-10-30 15:28:33.027 java[634:8435] Apple AWT Startup Exception: Cannot > lock focus

Re: RFR: 8241806: The sun/awt/shell/FileSystemViewMemoryLeak.java is unstable

2020-11-03 Thread Alexey Ivanov
On Tue, 3 Nov 2020 08:17:29 GMT, Jayathirth D V wrote: >> The test may work up to 15 minutes on some systems. >> The solution is to limit the time execution to 90 seconds. > > Marked as reviewed by jdv (Reviewer). The test fails if OutOfMemoryError is thrown, right? Is the reduced execution

Re: RFR: 8255798: Remove dead headless code in CompileJavaModules.gmk

2020-11-03 Thread Aleksey Shipilev
On Tue, 3 Nov 2020 08:21:22 GMT, Magnus Ihse Bursie wrote: > The variable BUILD_HEADLESS_ONLY is no longer set. And sun/applet does not > exist anymore. Looks fine and trivial. - Marked as reviewed by shade (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/1031

RFR: JDK-8255681: print callstack in error case in runAWTLoopWithApp

2020-11-03 Thread Matthias Baesken
Currently in case of occurences of an NSException in runAWTLoopWithApp we catch the exception just print a simple error message like this : 2020-10-30 15:28:33.027 java[634:8435] Apple AWT Startup Exception: Cannot lock focus on image , because it is size zero. 2020-10-30 15:28:33.306

Re: RFR: 8241806: The sun/awt/shell/FileSystemViewMemoryLeak.java is unstable

2020-11-03 Thread Jayathirth D V
On Thu, 29 Oct 2020 05:29:54 GMT, Sergey Bylokhov wrote: > The test may work up to 15 minutes on some systems. > The solution is to limit the time execution to 90 seconds. Marked as reviewed by jdv (Reviewer). - PR: https://git.openjdk.java.net/jdk/pull/923

Re: RFR: 8196087: java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.java fails

2020-11-03 Thread Jayathirth D V
On Thu, 29 Oct 2020 04:12:53 GMT, Sergey Bylokhov wrote: > The test draws some specific pattern to the VolatileImage and to the > BufferedImage, and then compare pixels. > > The test uses the getSnapshot() method to get the pixels from VolatileImage, > and this method produces some