neilcsmith-net commented on PR #6054:
URL: https://github.com/apache/netbeans/pull/6054#issuecomment-1587046852

   > I don't advise doing this. NB either runs on JDK 8 or it doesn't. Adding a 
flag which can be used in production to run on unsupported/untested platforms 
doesn't sound like a good idea to me.
   
   If it was aimed at IDE users I might agree with you, but this is about the 
core of the platform, and I'm thinking of IDE and platform developers.  And 
primarily for development and testing time purposes, given we'll be bumping 
this up again to Java 17 in the next 12 months.  If a platform developer 
_really_ wanted to ship something in production with this flag that's their 
call - it's a bad idea, we obviously don't support that, but they should be 
grown up enough to understand the ramifications and make that call for 
themselves.  Same as other flags that have no place in production code.
   
   Shipping an IDE that requires a bunch of `--add-opens` and `--add-exports` 
into the internals of the JDK isn't exactly following what's supported either, 
but I'm for sure happy that the JDK has externally configurable escape hatches! 
:smile:


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to