]> git.basschouten.com Git - openhab-addons.git/commit
[jrubyscripting] clean up assignment of class objects (#13451)
authorCody Cutrer <cody@cutrer.us>
Fri, 30 Sep 2022 20:47:53 +0000 (14:47 -0600)
committerGitHub <noreply@github.com>
Fri, 30 Sep 2022 20:47:53 +0000 (22:47 +0200)
commit7b8ae535e95ddd4e64d60a1988c4c22e71a366c1
tree79c3c10fc470b180b113a30276e745398318f8c4
parent2a02f2c7ef38ed6665c37369e1e2d50cd98f702d
[jrubyscripting] clean up assignment of class objects (#13451)

pass the actual class objects through, and post-process in Ruby, to
avoid the rescue nil -- and by extension, any issues with visibility
into private objects from JRuby.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
bundles/org.openhab.automation.jrubyscripting/src/main/java/org/openhab/automation/jrubyscripting/internal/JRubyScriptEngineFactory.java