--- old/test/jdk/javax/swing/JFileChooser/8046391/bug8046391.java 2017-11-27 16:55:17.000000000 -0800 +++ new/test/jdk/javax/swing/JFileChooser/8046391/bug8046391.java 2017-11-27 16:55:17.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 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 8046391 + * @requires (os.family == "windows") * @summary JFileChooser hangs if displayed in Windows L&F * @author Alexey Ivanov * @library ../../../../lib/testlibrary