--- old/modules/javafx.controls/src/main/java/javafx/scene/control/skin/SpinnerSkin.java 2018-01-22 23:38:01.663578000 +0530 +++ new/modules/javafx.controls/src/main/java/javafx/scene/control/skin/SpinnerSkin.java 2018-01-22 23:38:01.455578000 +0530 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -189,6 +189,9 @@ // This forwards the event down into the TextField when // the key event is actually received by the Spinner. textField.fireEvent(ke.copyFor(textField, textField)); + + if (ke.getCode() == KeyCode.ENTER) return; + ke.consume(); } });