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 2022/03/14 22:03:06 UTC

[GitHub] [netbeans] jtulach commented on pull request #3715: [NETBEANS-5829] Use --release instead of downgrading the source level.

jtulach commented on pull request #3715:
URL: https://github.com/apache/netbeans/pull/3715#issuecomment-1067345994


   Thinking about it I have to admit I see no reason for anything more complicated than what is in this PR. Clearly the NetBeans 13 state is wrong and this PR improves it:
   
   > projects should continue to be able to precisely specify the bootclasspath and/or system module path. 
   
   Projects can certainly specify that. However, if they fail to properly match the source/target level with bootclasspath, then instead of
   
   > the source level validation
   
   ...and subsequent downgrading of source/target level, the `java.source` subsystem steps in and supplies bootclasspath appropriate to the source/target level by adding `--release` flag.
   
   > I am however a bit concerned with debugger, whether step into will work for projects that have fallback bootclasspath.
   
   No problems with debugger will occur, as the change is going to be done only when invoking `javac`. Behavior of other systems remains unchanged.


-- 
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: notifications-unsubscribe@netbeans.apache.org

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