JDK-8168821 : Cleanup whitespace after fix for JDK-8156078
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8u152
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-10-26
  • Updated: 2017-09-05
  • Resolved: 2016-10-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u152 b01Fixed
Related Reports
Relates :  
Description
The checkWhiteSpace script fails after the fix for JDK-8156078:

$ bash tools/scripts/checkWhiteSpace -a
modules/graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java :trailingWhitespace:


Found 1 whitespace or executable issues

To correct, use
   bash ./tools/scripts/checkWhiteSpace -F -a

Comments
Changeset: e76f5a8d6fc4 Author: ckyang Date: 2016-10-27 09:29 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e76f5a8d6fc4
27-10-2016

Please review the following simple fix: diff --git a/modules/graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java b/modules/graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java --- a/modules/graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java +++ b/modules/graphics/src/main/java/com/sun/javafx/tk/quantum/WindowStage.java @@ -559,7 +559,7 @@ public void setAlwaysOnTop(boolean alwaysOnTop) { // The securityDialog flag takes precedence over alwaysOnTop if (securityDialog) return; - + if (isAlwaysOnTop == alwaysOnTop) { return; }
27-10-2016

+1
27-10-2016