--- old/src/java.desktop/share/classes/sun/awt/shell/ShellFolder.java 2018-09-28 14:23:35.775045300 +0530 +++ new/src/java.desktop/share/classes/sun/awt/shell/ShellFolder.java 2018-09-28 14:23:33.966116600 +0530 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2018, 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 @@ -192,6 +192,8 @@ } /** + * Returns the icon to display this shell folder. + * * @param getLargeIcon whether to return large icon (ignored in base implementation) * @return The icon used to display this shell folder */ @@ -199,6 +201,15 @@ return null; } + /** + * Returns the icon of the specified size used to display this shell folder. + * + * @param size size of the icon > 0(Valid range: 1 to 256) + * @return The icon of the specified size used to display this shell folder + */ + public Image getIcon(int size) { + return null; + } // Static