parent
ecb7ef6cdf
commit
83ca2ea9bb
|
@ -52,7 +52,7 @@ public class StartArgs
|
|||
{
|
||||
public static final String VERSION;
|
||||
public static final Set<String> ALL_PARTS = Set.of("java", "opts", "path", "main", "args", "envs");
|
||||
public static final Set<String> ARG_PARTS = Set.of("args");
|
||||
public static final Set<String> ARG_PARTS = Set.of("args", "envs");
|
||||
|
||||
private static final String JETTY_VERSION_KEY = "jetty.version";
|
||||
private static final String JETTY_TAG_NAME_KEY = "jetty.tag.version";
|
||||
|
|
|
@ -72,7 +72,7 @@ public class EnvironmentBuilder
|
|||
public BuiltEnvironment(String name, List<URL> classpath)
|
||||
{
|
||||
_name = name;
|
||||
_classLoader = new URLClassLoader(classpath.toArray(new URL[0]));
|
||||
_classLoader = new URLClassLoader(classpath.toArray(new URL[0]), this.getClass().getClassLoader());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue