File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
common/src/main/kotlin/com/lambda/plugin Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package com.lambda.plugin
22
33import java.util.jar.JarFile
44
5- class JarClassLoader (
5+ class PluginClassLoader (
66 private val jarFile : JarFile ,
77 parent : ClassLoader ,
88) : ClassLoader(parent) {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ object PluginRegistry : Loadable {
1414 if (file.length() == 0L ) return LOG .error(" The plugin $file is empty" )
1515
1616 val jar = JarFile (file)
17- val loader = JarClassLoader (jar, this ::class .java.classLoader)
17+ val loader = PluginClassLoader (jar, this ::class .java.classLoader)
1818 val mainClass = jar.manifest.mainAttributes.getValue(" Main-Class" )
1919 ? : return LOG .error(" The plugin $jar does not have a main class" )
2020
You can’t perform that action at this time.
0 commit comments