[ 
https://issues.apache.org/jira/browse/GROOVY-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King closed GROOVY-8460.
-----------------------------
    Resolution: Duplicate
      Assignee: Paul King

I believe this duplicates GROOVY-8718. Please reopen if you believe that not to 
be the case.

> 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
>            Assignee: Paul King
>            Priority: Major
>
> 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)

Reply via email to