< prev index next >

src/java.compiler/share/classes/javax/tools/StandardLocation.java

Print this page
rev 3947 : imported patch xmodule-to-patch-module

@@ -100,11 +100,18 @@
 
     /**
      * Location to search for precompiled user modules.
      * @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
      * property must hold: {@code locationFor(x) ==
      * locationFor(y)} if and only if {@code x.equals(y)}.

@@ -156,10 +163,11 @@
             case MODULE_SOURCE_PATH:
             case ANNOTATION_PROCESSOR_MODULE_PATH:
             case UPGRADE_MODULE_PATH:
             case SYSTEM_MODULES:
             case MODULE_PATH:
+            case PATCH_MODULE_PATH:
                 return true;
             default:
                 return false;
         }
     }
< prev index next >