Mercurial > hg > openjdk > jdk9 > nashorn
changeset 1818:713ce238f9be
8163190: Clarify JavaFileManager use of \"module location\"
Reviewed-by: jlahoda
author | jjg |
---|---|
date | Wed, 16 Nov 2016 12:35:19 -0800 |
parents | ce057a78b44c |
children | 4f90f5ae2b4a |
files | src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/PackagesHelper.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/PackagesHelper.java Wed Nov 09 13:37:21 2016 +0100 +++ b/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/PackagesHelper.java Wed Nov 16 12:35:19 2016 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -163,7 +163,7 @@ if (fm != null) { listPackage(StandardLocation.PLATFORM_CLASS_PATH, pkg, props); if (this.modulePathSet) { - for (Set<Location> locs : fm.listModuleLocations(StandardLocation.MODULE_PATH)) { + for (Set<Location> locs : fm.listLocationsForModules(StandardLocation.MODULE_PATH)) { for (Location loc : locs) { listPackage(loc, pkg, props); }