#17 jibri does not work witj java > 8
Opened 3 years ago by felfert. Modified 3 years ago

Develop a fix for evaluating a child process pid.


It seems like there has been a PR for this merged upstream:

https://github.com/jitsi/jibri/pull/369

I'd be OK with building from a recent-ish master that incorporates that, especially given all the other problems you found with the v8 release version.

It seems like there has been a PR for this merged upstream:

Yep, i know, but it is crap. It prints a nasty warning similar to this one:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.github.felfert.ProcessKt (file:/home/felfert/Projects/java/ktprocess/target/ktprocess-0.1-SNAPSHOT-jar-with-dependencies.jar) to field java.lang.ProcessImpl.pid
WARNING: Please consider reporting this to the maintainers of com.github.felfert.ProcessKt
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

I am in the process of developing a better one ...
... actually I already have prepared a POC which drops the use of reflection completely for java versions > 8. (By conditionally compiling of two different implementations of Process.kt using a maven-profile trick)

Fixed by my latest commit added to #15

Login to comment on this ticket.

Metadata