Skip to content

Commit d131cdc

Browse files
committed
Update BeanShell to 2.1.1
It might avoid CVE-2016-2510; see also fiji/fiji#353.
1 parent 30c4230 commit d131cdc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Institute of Molecular Cell Biology and Genetics.</license.copyrightOwners>
9595
<!-- NB: Deploy releases to the SciJava Maven repository. -->
9696
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>
9797

98-
<bsh.version>2.1.0</bsh.version>
98+
<bsh.version>2.1.1</bsh.version>
9999
</properties>
100100

101101
<repositories>

src/main/java/org/scijava/plugins/scripting/beanshell/BeanshellScriptLanguage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
import org.scijava.script.AdaptedScriptLanguage;
4141
import org.scijava.script.ScriptLanguage;
4242

43-
import bsh.BshScriptEngineFactory;
4443
import bsh.Primitive;
44+
import bsh.engine.BshScriptEngineFactory;
4545

4646
/**
4747
* An adapter of the {@link BshScriptEngineFactory} to the SciJava scripting interface.

src/test/java/org/scijava/plugins/scripting/beanshell/BeanshellTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
import org.scijava.script.ScriptModule;
5252
import org.scijava.script.ScriptService;
5353

54-
import bsh.BshScriptEngine;
54+
import bsh.engine.BshScriptEngine;
5555

5656
/**
5757
* Unit tests for the BeanShell support.

0 commit comments

Comments
 (0)