본문 바로가기
안녕하세요 에러 선생님

[Gradle] Native subprocess control requires open access to the JDK IO subsystem

by 설이주인 2023. 1. 23.

Rest Docs를 사용하면서 나타난 에러이다.

 

https://github.com/jruby/jruby/issues/6721

 

WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem · Issue #6721 · jruby/jruby

Environment Information Provide at least: JRuby version - 9.2.18.0 Operating system and platform - Linux Boris-Desktop 5.12.10-arch1-1 #1 SMP PREEMPT Thu, 10 Jun 2021 16:34:50 +0000 x86_64 GNU/Linu...

github.com

 

아래 설정을 추가해주자.

 

forkOptions : jvmArgs 

https://docs.gradle.org/current/dsl/org.gradle.api.tasks.compile.ForkOptions.html