mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[jrubyscripting] Update to jruby 9.3.7.0 to fix BootstrapMethodError (#13280)
* [jrubyscripting] Update to jruby 9.3.7.0 * [jrubyscripting] Exception fixed in jruby 9.3.7.0 The BootstrapMethodError should no longer be thrown by jruby since 9.3.7. Fixed in https://github.com/jruby/jruby/pull/7271 Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
This commit is contained in:
parent
7e9e0dbdf2
commit
3de0f79d9a
@ -16,7 +16,7 @@
|
||||
|
||||
<properties>
|
||||
<bnd.importpackage>com.sun.nio.*;resolution:=optional,com.sun.security.*;resolution:=optional,org.apache.tools.ant.*;resolution:=optional,org.bouncycastle.*;resolution:=optional,org.joda.*;resolution:=optional,sun.management.*;resolution:=optional,sun.nio.*;resolution:=optional,jakarta.annotation;resolution:=optional</bnd.importpackage>
|
||||
<jruby.version>9.3.6.0</jruby.version>
|
||||
<jruby.version>9.3.7.0</jruby.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -198,9 +198,6 @@ public class JRubyScriptEngineConfiguration {
|
||||
engine.eval(gemCommand);
|
||||
} catch (ScriptException e) {
|
||||
logger.warn("Error installing Gems: {}", e.getMessage());
|
||||
} catch (BootstrapMethodError e) {
|
||||
logger.warn("Error while checking/installing gems: {}. You may need to restart OpenHAB", e.getMessage());
|
||||
logger.debug("Error in configureGems", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user