--- a/src/jdk.packager/share/classes/jdk/packager/internal/JLinkBundlerHelper.java Thu Nov 01 09:01:15 2018 -0400
+++ b/src/jdk.packager/share/classes/jdk/packager/internal/JLinkBundlerHelper.java Thu Nov 01 14:36:18 2018 -0400
@@ -365,7 +365,7 @@
private static Set<String> getResourceFileJarList(
Map<String, ? super Object> params, ModFile.JarType Query) {
- Set<String> files = new LinkedHashSet();
+ Set<String> files = new LinkedHashSet<String>();
String srcdir = StandardBundlerParam.SOURCE_DIR.fetchFrom(params);
@@ -404,7 +404,7 @@
private static Set<String> removeInvalidModules(
List<Path> modulePath, Set<String> modules) {
- Set<String> result = new LinkedHashSet();
+ Set<String> result = new LinkedHashSet<String>();
ModuleManager mm = new ModuleManager(modulePath);
List<ModFile> lmodfiles =
mm.getModules(EnumSet.of(ModuleManager.SearchType.ModularJar,
@@ -484,7 +484,7 @@
}
private static Set<String> getModuleNamesFromPath(List<Path> Value) {
- Set<String> result = new LinkedHashSet();
+ Set<String> result = new LinkedHashSet<String>();
ModuleManager mm = new ModuleManager(Value);
List<ModFile> modFiles =
mm.getModules(