mbien commented on PR #4711:
URL: https://github.com/apache/netbeans/pull/4711#issuecomment-1264955458

   > What to do if `--release` and one of the others? In any event, a compile 
will fail.
   
   it replaces both, if you mix, javac should complain and fail as far as I 
know. It is similar to setting both source and target to the same value, but 
more powerful since javac will use ct.sym files which are basically 
method/class signature diffs and check that your code could actually run on the 
target JDK APIs.
   
   The maven template uses the source/target tags too still, if we end up 
adding some kind of JDK or language level selector to the new maven project 
wizard we could let it use that too if java 9+ is selected.


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