Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.4.13
-
None
-
None
-
Mac OS, JAVA 9
Description
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.
Attachments
Issue Links
- is related to
-
GROOVY-10077 Groovy Console: Support JDKs without macOS Runtime Support for Java
- Closed