On Thu, 24 Mar 2022 18:25:32 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>>> If it skips the texture property I guess it will break it? >> I've not noticed it in my testing. Do you mean particular tests? But anyway >> your suggestion looks more elegant and it works in my scenarios, also I've >> run test-jdk_desktop_part1 with it. No related problem was found. > > The CPlatformWindow.setOpaque() changes the background of the native window > only if the texture property is not set. So if the code will change the color > directly somewhere then the texture property will be broken. Not sure that we > have a test for that. > Please update the copyright date. @mrserb updated. ------------- PR: https://git.openjdk.java.net/jdk/pull/7931