equal
deleted
inserted
replaced
101 ModuleFinder finder = ModuleLibrary.of(descriptor_m1, descriptor_m2, descriptor_m3); |
101 ModuleFinder finder = ModuleLibrary.of(descriptor_m1, descriptor_m2, descriptor_m3); |
102 |
102 |
103 // Resolves "m1" |
103 // Resolves "m1" |
104 Configuration cf = Layer.boot() |
104 Configuration cf = Layer.boot() |
105 .configuration() |
105 .configuration() |
106 .resolveRequires(finder, ModuleFinder.empty(), Set.of("m1")); |
106 .resolveRequires(finder, ModuleFinder.of(), Set.of("m1")); |
107 |
107 |
108 // map each module to differing class loaders for this test |
108 // map each module to differing class loaders for this test |
109 Map<String, ClassLoader> map = new HashMap<>(); |
109 Map<String, ClassLoader> map = new HashMap<>(); |
110 map.put("m1", MyDiffClassLoader.loader1); |
110 map.put("m1", MyDiffClassLoader.loader1); |
111 map.put("m2", MyDiffClassLoader.loader2); |
111 map.put("m2", MyDiffClassLoader.loader2); |