We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d6e556 commit 9a63ed9Copy full SHA for 9a63ed9
eclair-node/src/main/scala/fr/acinq/eclair/Plugin.scala
@@ -58,7 +58,7 @@ object Plugin extends Logging {
58
}
59
60
def openJar(jar: File): Option[JarURLConnection] =
61
- Try(URI.create(s"jar:file:${jar.getCanonicalPath}!/").toURL.openConnection().asInstanceOf[JarURLConnection]) match {
+ Try(URI.create(s"jar:${jar.toURI}!/").toURL.openConnection().asInstanceOf[JarURLConnection]) match {
62
case Success(url) => Some(url)
63
case Failure(t) => logger.error(s"unable to load plugin file:${jar.getAbsolutePath} ", t); None
64
0 commit comments