You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2018/12/13 10:07:00 UTC

[jira] [Closed] (GROOVY-8718) GroovyConsole MacOS fix required for JDK9+

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

Paul King closed GROOVY-8718.
-----------------------------

> GroovyConsole MacOS fix required for JDK9+
> ------------------------------------------
>
>                 Key: GROOVY-8718
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8718
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 2.5.2
>
>
> As per http://openjdk.java.net/jeps/272, com.apple.eawt is not supported for JDK9+ and we use that via e.g. MRJPrefsHandler. If I understand correctly, the functionality seems mostly incorporated into java.awt.Desktop.
> A common workaround (to maintain JDK8 compatibility and work on JDK9+) seems to be to use reflection to access the new classes, e.g.:
> https://github.com/SubOptimal/keystore-explorer/blob/master/kse/src/org/kse/gui/MacOsIntegration.java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)