Skip to content

Commit 732bef3

Browse files
authored
Merge pull request #93 from mkurz/no_nashorn_java_17
Java 15 dropped the Nashorn JavaScript Engine, can't run tests with 17
2 parents 2480d5f + 18913a6 commit 732bef3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/scala/com/typesafe/sbt/jse/engines/JavaxEngineSpec.scala

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import scala.collection.immutable
66

77
class JavaxEngineSpec extends Specification {
88

9+
args(skipAll = !(sys.props("java.specification.version") == "1.8" || sys.props("java.specification.version") == "11"))
10+
911
"A JavaxEngine" should {
1012

1113
"execute some javascript by passing in a string arg and comparing its return value" in {

0 commit comments

Comments
 (0)