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 2018/08/19 06:03:12 UTC

[GitHub] jlahoda commented on issue #572: java.source.base: Fix for Java 11, update args, swap import

jlahoda commented on issue #572: java.source.base: Fix for Java 11, update args, swap import
URL: https://github.com/apache/incubator-netbeans/pull/572#issuecomment-414105907
 
 
   I'd like to point out that there is a huge difference between the supported/working build requirements and supported/working runtime requirements.
   
   Currently, the build needs JDK 8, and the minimal runtime is JDK 8 as well. But the IDE can (at least somehow) run on (dev builds of) JDK 11/12 - I use these runtimes. (Although it will be necessary to do some changes to keep the IDE running on 12 in the future, I am afraid.)
   
   We could change the build process to run on JDK 10/11 (and keep the minimal runtime env as JDK 8, or not), but someone needs to do the work.
   
   Dropping JDK 8 as the minimal runtime environment is not a decision that could be done in a PR - that needs to be discussed on the mailing list, and I suspect there may be folks that still want to run NB on JDK 8, for various reasons.
   
   Regarding Unsafe and --release - as I noted, when I was thinking of this, the idea was to use reflection. I am fairly sure one can use --release 8 and compile code that invokes Unsafe using reflection on JDK 8. Please see classes like java.lang.reflect.Method.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
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