mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8163190: Clarify JavaFileManager use of \"module location\"
Reviewed-by: jlahoda
This commit is contained in:
parent
f742ef0ed0
commit
c7374cd58f
20 changed files with 214 additions and 117 deletions
|
@ -170,7 +170,7 @@ public class DetectMutableStaticFields {
|
|||
ConstantPoolException,
|
||||
InvalidDescriptor {
|
||||
JavaFileManager.Location location =
|
||||
fm.getModuleLocation(StandardLocation.SYSTEM_MODULES, moduleName);
|
||||
fm.getLocationForModule(StandardLocation.SYSTEM_MODULES, moduleName);
|
||||
if (location == null)
|
||||
throw new AssertionError("can't find module " + moduleName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue