langtools/src/java.compiler/share/classes/javax/tools/StandardLocation.java
changeset 43772 4e5350b7be75
parent 43767 9cff98a149cb
child 44197 380e1f22e460
--- a/langtools/src/java.compiler/share/classes/javax/tools/StandardLocation.java	Fri Feb 10 15:42:17 2017 -0800
+++ b/langtools/src/java.compiler/share/classes/javax/tools/StandardLocation.java	Mon Feb 13 09:37:26 2017 +0100
@@ -107,7 +107,14 @@
      * @spec JPMS
      * @since 9
      */
-    MODULE_PATH;
+    MODULE_PATH,
+
+    /**
+     * Location to search for module patches.
+     * @since 9
+     * @spec JPMS
+     */
+    PATCH_MODULE_PATH;
 
     /**
      * Returns a location object with the given name.  The following
@@ -166,6 +173,7 @@
             case UPGRADE_MODULE_PATH:
             case SYSTEM_MODULES:
             case MODULE_PATH:
+            case PATCH_MODULE_PATH:
                 return true;
             default:
                 return false;