JDK9: se ha producido una operación ilegal de acceso reflectante. org.python.core.PySystemState
Estoy tratando de ejecutar programas DMelt (http://jwork.org/dmelt/) usando Java9 (JDK9), y me da errores como:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.core.PySystemState (file:/dmelt/jehep/lib/jython/jython.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState
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
¿Cómo puedo arreglarlo? Intenté agregar –illegal-access = permit a la última línea del script "dmelt.sh" (estoy usando bash en Linux), pero esto no resolvió este problema. Estoy muy frustrante con esto. Estaba usando este programa muy a menudo, durante mucho tiempo. Tal vez nunca debería mudarme a JDK9