dukescript edited a comment on pull request #2337: URL: https://github.com/apache/netbeans/pull/2337#issuecomment-691259388
True, this approach allows NetBeans to eliminate reflection when accessing modern Java APIs. Let's prove that by modifying `applemenu` - a module that desperately wants to use JDK9 API. The current version does that with a bunch of reflection and some adhoc library not even published on Maven. Commit 31a7eb9 shows how to introduce new `applemenu.jdk9` with `javac.target=9` and use the JDK9 API without any hacks. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
