Skip to content

Commit e4d8dee

Browse files
committed
Workaround access to File::NULL in build/run/test
jruby/jruby#7182
1 parent a96b568 commit e4d8dee

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ concurrency:
77
group: ${{ github.ref }}
88
cancel-in-progress: true
99

10+
env:
11+
JAVA_OPTS: -Djdk.io.File.enableADS=true
12+
1013
jobs:
1114
examples-gem:
1215
name: Examples / Gem

examples/gem/.bazelrc

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ test --test_env=HOME
1010

1111
# JRuby 9.3 fails with "Errno::EACCES: Permission denied - NUL" on Windows:
1212
# https://github.com/jruby/jruby/issues/7182#issuecomment-1112953015.
13+
build --action_env=JAVA_OPTS="-Djdk.io.File.enableADS=true"
1314
test --test_env=JAVA_OPTS="-Djdk.io.File.enableADS=true"
1415

1516
# Allows to run tests with rdbg:

0 commit comments

Comments
 (0)