--- 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;