mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +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
|
@ -73,8 +73,8 @@ public class T6397104 {
|
|||
if (hasLocation) {
|
||||
for (Location location : StandardLocation.values()) {
|
||||
System.err.format(" location:%s, moduleLocn:%b%n",
|
||||
location, location.isModuleLocation());
|
||||
if (location.isModuleLocation()) {
|
||||
location, location.isModuleOrientedLocation());
|
||||
if (!location.isOutputLocation()) {
|
||||
continue;
|
||||
}
|
||||
fm.setLocation(location, Arrays.asList(new File(".")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue