From c54feabfafaab64d56cf275fb1a474f0e830eba9 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 15 Nov 2019 13:40:08 +0000 Subject: Fix JRuby interpreter shutdown issue The new version of JRuby fixes this issue. Also amended unit test to check for shutdown and immediate recreation of JRuby interpreter. Issue-ID: POLICY-1276 Change-Id: I723e0396985d3163b483e52fdaceb4b4fab7274b Signed-off-by: liamfallon --- .../plugins-executor-jruby/pom.xml | 7 +++--- .../jruby/JrubyStateFinalizerExecutor.java | 18 ++++++++------- .../plugins/executor/jruby/JrubyTaskExecutor.java | 18 ++++++++------- .../executor/jruby/JrubyTaskSelectExecutor.java | 19 ++++++++++------ .../executor/jruby/JrubyTaskExecutorTest.java | 26 +++++++++++++++++++--- 5 files changed, 59 insertions(+), 29 deletions(-) (limited to 'plugins') diff --git a/plugins/plugins-executor/plugins-executor-jruby/pom.xml b/plugins/plugins-executor/plugins-executor-jruby/pom.xml index 72fd8cccf..976166bea 100644 --- a/plugins/plugins-executor/plugins-executor-jruby/pom.xml +++ b/plugins/plugins-executor/plugins-executor-jruby/pom.xml @@ -1,6 +1,7 @@