test/jdk/javax/swing/JButton/4796987/bug4796987.java
changeset 48271 95f173494fe9
parent 47216 71c04702a3d5
child 51637 e9177e7749e7
--- a/test/jdk/javax/swing/JButton/4796987/bug4796987.java	Mon Dec 04 10:12:46 2017 -0800
+++ b/test/jdk/javax/swing/JButton/4796987/bug4796987.java	Mon Dec 04 16:14:29 2017 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2017, 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
@@ -24,6 +24,7 @@
 /*
  * @test
  * @bug 4796987
+ * @requires (os.family == "windows")
  * @summary XP Only: JButton.setBorderPainted() does not work with XP L&F
  * @author Alexander Scherbatiy
  * @library ../../regtesthelpers