diff -r b6598aa90114 -r d0d6c64a2e2b jdk/test/javax/swing/JFileChooser/4150029/bug4150029.java --- a/jdk/test/javax/swing/JFileChooser/4150029/bug4150029.java Wed Sep 17 16:14:12 2014 +0400 +++ b/jdk/test/javax/swing/JFileChooser/4150029/bug4150029.java Thu Sep 18 17:34:44 2014 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2014, 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 @@ -35,7 +35,7 @@ private boolean res; public void init() { - if (sun.awt.OSInfo.getOSType() == sun.awt.OSInfo.OSType.MACOSX) { + if (jdk.testlibrary.OSInfo.getOSType() == jdk.testlibrary.OSInfo.OSType.MACOSX) { try { UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel"); } catch (Exception e) {