--- old/test/javax/swing/JButton/4796987/bug4796987.java 2015-06-19 15:17:37.493661143 +0300 +++ new/test/javax/swing/JButton/4796987/bug4796987.java 2015-06-19 15:17:37.313661146 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2015, 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 @@ -28,6 +28,8 @@ * @author Alexander Scherbatiy * @library ../../regtesthelpers * @library ../../../../lib/testlibrary + * @modules java.desktop/com.sun.java.swing.plaf.windows + * java.desktop/sun.awt * @build jdk.testlibrary.OSInfo * @build Util * @run main bug4796987