You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Bart Jourquin (JIRA)" <ji...@apache.org> on 2018/01/26 17:55:06 UTC
[jira] [Created] (GROOVY-8460) Calling console.run() causes an
error on Mac OS with Java 9
Bart Jourquin created GROOVY-8460:
-------------------------------------
Summary: Calling console.run() causes an error on Mac OS with Java 9
Key: GROOVY-8460
URL: https://issues.apache.org/jira/browse/GROOVY-8460
Project: Groovy
Issue Type: Bug
Components: Groovy Console
Affects Versions: 2.4.13
Environment: Mac OS, JAVA 9
Reporter: Bart Jourquin
sample code:
*groovy.ui.Console console = new groovy.ui.Console();*
*console.run();*
This throws errors when run on Mac OS with JAVA 9:
_org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:_
_script15169878466701558877614.groovy: 6: unable to resolve class MRJQuitHandler_
_@ line 6, column 1._
_class ConsoleMacOsSupport implements MRJQuitHandler, MRJAboutHandler {_
_^_
__
_script15169878466701558877614.groovy: 6: unable to resolve class MRJAboutHandler_
_@ line 6, column 1._
_class ConsoleMacOsSupport implements MRJQuitHandler, MRJAboutHandler {_
_^_
__
_2 errors_
The issue is probably linked to the reflective access to internal Apple APIs through the OSX Adapter, which is flagged as illegal and blocked in Java 9.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)