[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] RFR: 8252133: The java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java fails 
From:       Sergey Bylokhov <serb () openjdk ! java ! net>
Date:       2020-10-21 0:22:13
Message-ID: tGCiCR18tShi1b4Z0oyUpbDcfN8DZFXKUhNZi65GjTs=.d68e092d-2744-4487-9fa1-d6656fda3c5f () github ! com
[Download RAW message or body]

On Tue, 20 Oct 2020 23:43:46 GMT, Alexander Zuev <kizune@openjdk.org> wrote:

> > Sergey Bylokhov has updated the pull request incrementally with one additional \
> > commit since the last revision: 
> > Update CGraphicsEnvironment.java
> 
> src/java.desktop/macosx/classes/sun/awt/CGraphicsEnvironment.java line 182:
> 
> > 180:         }
> > 181:         // fetch the main display again, the old value might be outdated
> > 182:         mainDisplayID = getMainDisplayID();
> 
> What action since line 162 can trigger changing the getMainDisplayID() outcome?

If the main screen is not in the list of screens means that the system monitors were \
changed in some way after this method was called and we will get one more \
notification later.

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic