public static File[] getChooserComboBoxFiles( FileSystemView fsv ) {
		try {
			if( SystemInfo.isJava_9_orLater ) {
				Method m = fsv.getClass().getMethod( "getChooserComboBoxFiles" );
				return (File[]) m.invoke( fsv );
			} else {
				Class<?> cls = Class.forName( "sun.awt.shell.ShellFolder" );
				Method m = cls.getMethod( "get", String.class );
				return (File[]) m.invoke( null, "fileChooserComboBoxFolders" );
			}
		} catch( IllegalAccessException ex ) {
			// do not log because access may be denied via VM option '--illegal-access=deny'
		} catch( Exception ex ) {
			LoggingFacade.INSTANCE.logSevere( null, ex );
		}

		// fallback
		return new File[0];
	}
Java 8: sun.awt.shell.ShellFolder.get( "fileChooserComboBoxFolders" )
<br>
Java 9: javax.swing.filechooser.FileSystemView.getChooserComboBoxFiles()

@since 3.4
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/JavaCompatibility2.java