--- old/src/share/classes/javax/swing/filechooser/FileSystemView.java 2014-02-12 23:37:25.000000000 -0800 +++ new/src/share/classes/javax/swing/filechooser/FileSystemView.java 2014-02-12 23:37:25.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2008, 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 @@ -583,6 +583,8 @@ static class FileSystemRoot extends File { + private static final long serialVersionUID = 718975903156136977L; + public FileSystemRoot(File f) { super(f,""); } @@ -775,6 +777,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.