Skip to content

Commit 041b955

Browse files
committed
[GR-58304] Ensure java 17+ in jbang examples
PullRequest: graalpython/3490
2 parents 6c58f38 + c0bce7e commit 041b955

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

graalpython/graalpy-jbang/examples/hello.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* SOFTWARE.
4040
*/
4141
///usr/bin/env jbang "$0" "$@" ; exit $?
42-
42+
//JAVA 17+
4343
//DEPS org.graalvm.python:python-language:${env.GRAALPY_VERSION:24.0.0}
4444
//DEPS org.graalvm.python:python-resources:${env.GRAALPY_VERSION:24.0.0}
4545
//DEPS org.graalvm.python:python-launcher:${env.GRAALPY_VERSION:24.0.0}

graalpython/graalpy-jbang/templates/graalpy-template.java.qute

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
///usr/bin/env jbang "$0" "$@" ; exit $?
2+
//JAVA 17+
23
{#for dep in dependencies.orEmpty}
34
//DEPS {dep}
45
{/for}

graalpython/graalpy-jbang/templates/graalpy-template_local_repo.java.qute

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
///usr/bin/env jbang "$0" "$@" ; exit $?
2+
//JAVA 17+
23
{#for dep in dependencies.orEmpty}
34
//DEPS {dep}
45
{/for}

0 commit comments

Comments
 (0)