Skip to content

JENA-1950: Make GraalVM a test dependency#801

Merged
afs merged 1 commit intoapache:masterfrom
strangepleasures:make-graalvm-test-dependency
Sep 25, 2020
Merged

JENA-1950: Make GraalVM a test dependency#801
afs merged 1 commit intoapache:masterfrom
strangepleasures:make-graalvm-test-dependency

Conversation

@strangepleasures
Copy link
Copy Markdown
Contributor

To support custom SPARQL functions written in JavaScript, ARQ can interchangeably use Nashorn or Graal.js scripting engines (the former will be removed in JDK 15).

On JDK versions prior to JDK 15 ARQ can be compiled and used without any Graal-related dependencies.

On JDK 15 onward using JavaScript would require having org.graalvm.js:js and org.graalvm.js-scriptengine on the class path.
However, as Java Scripting API uses a SPI-based mechanism, they don't have to be included as compile-time dependencies.
They still need to be included as test dependencies to make it possible to compile ARQ on JDK 15+.

See also the discussion in #787

@afs afs changed the title Make GraalVM a test dependency JENA-1950: Make GraalVM a test dependency Sep 25, 2020
@afs afs merged commit 38b659c into apache:master Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants