mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
start implementation of isolated classloaders
This commit is contained in:
@@ -46,6 +46,7 @@ import java.io.OutputStream;
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.ServletContext;
|
||||
import sonia.scm.plugin.PluginLoader;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -65,12 +66,12 @@ public class DefaultResource extends AbstractResource
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
public DefaultResource(ServletContext servletContext, List<String> resources,
|
||||
public DefaultResource(ServletContext servletContext, PluginLoader pluginLoader, List<String> resources,
|
||||
List<ResourceHandler> resourceHandlers,
|
||||
ResourceType type)
|
||||
throws IOException
|
||||
{
|
||||
super(servletContext, resources, resourceHandlers);
|
||||
super(servletContext, pluginLoader, resources, resourceHandlers);
|
||||
this.type = type;
|
||||
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
|
||||
Reference in New Issue
Block a user