--- old/src/java.desktop/share/classes/java/awt/desktop/OpenFilesEvent.java 2018-12-04 16:22:32.000000000 -0800 +++ new/src/java.desktop/share/classes/java/awt/desktop/OpenFilesEvent.java 2018-12-04 16:22:32.000000000 -0800 @@ -35,12 +35,18 @@ * Event sent when the app is asked to open a list of files. * * @see OpenFilesHandler#openFiles - * * @since 9 */ public final class OpenFilesEvent extends FilesEvent { + /** + * Use serialVersionUID from JDK 9 for interoperability. + */ private static final long serialVersionUID = -3982871005867718956L; + + /** + * The search term used to find the files. + */ final String searchTerm; /** @@ -63,10 +69,10 @@ } /** - * Gets the search term. The platform may optionally provide the search - * term that was used to find the files. This is for example the case - * on Mac OS X, when the files were opened using the Spotlight search - * menu or a Finder search window. + * Gets the search term. The platform may optionally provide the search term + * that was used to find the files. This is for example the case on Mac OS + * X, when the files were opened using the Spotlight search menu or a Finder + * search window. *

* This is useful for highlighting the search term in the documents when * they are opened.