Only check that insets of the fully expanded undecorated window is not bigger than device insets. They can be smaller, it is a normal situation.
------------- Commit messages: - 6829250: Reg test: java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java fails in Windows Changes: https://git.openjdk.java.net/jdk/pull/8314/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8314&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-6829250 Stats: 10 lines in 2 files changed: 6 ins; 2 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/8314.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8314/head:pull/8314 PR: https://git.openjdk.java.net/jdk/pull/8314