< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/code/ModuleFinder.java

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

@@ -285,10 +285,13 @@
                                 msym.classLocation = fileManager.getLocationForModule(StandardLocation.CLASS_OUTPUT, msym.name.toString());
                             }
                         } else {
                             msym.classLocation = l;
                         }
+                        if (fileManager.hasLocation(StandardLocation.PATCH_MODULE_PATH)) {
+                            msym.patchLocation = fileManager.getLocationForModule(StandardLocation.PATCH_MODULE_PATH, msym.name.toString());
+                        }
                         if (moduleLocationIterator.outer == StandardLocation.SYSTEM_MODULES ||
                             moduleLocationIterator.outer == StandardLocation.UPGRADE_MODULE_PATH) {
                             msym.flags_field |= Flags.SYSTEM_MODULE;
                         }
                         if (toFind == msym || toFind == null) {
< prev index next >