You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/09/11 18:55:14 UTC

[GitHub] [netbeans] dukescript commented on pull request #2337: Using modern Java coding style when developing NetBeans

dukescript commented 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 4311d60 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists