--- old/src/share/classes/javax/swing/filechooser/FileSystemView.java 2014-03-23 13:38:30.000000000 -0700 +++ new/src/share/classes/javax/swing/filechooser/FileSystemView.java 2014-03-23 13:38:30.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -579,9 +579,7 @@ return new FileSystemRoot(f); } - - - + @SuppressWarnings("serial") // Same-version serialization only static class FileSystemRoot extends File { public FileSystemRoot(File f) { super(f,""); @@ -775,6 +773,7 @@ return super.createFileObject(path); } + @SuppressWarnings("serial") // anonymous class protected File createFileSystemRoot(File f) { // Problem: Removable drives on Windows return false on f.exists() // Workaround: Override exists() to always return true.