PetrMiksik opened a new issue, #9429:
URL: https://github.com/apache/netbeans/issues/9429
### Description
In Ant project, NetBeans is still using obsolete "-source XX" and "-target
XX" java compiler parameters. It does not guarantee the compatibility with the
target version, because it does not use proper system modules for compilation.
The **--release XX** parameter should be used instead. The compiler warning is
clear.
_warning: [options] location of system modules is not set in conjunction
with -source 11
not setting the location of system modules may lead to class files that
cannot run on JDK 11
--release 11 is recommended instead of -source 11 -target 11 because it
sets the location of system modules automatically_
### Use case/motivation
_No response_
### Related issues
_No response_
### Are you willing to submit a pull request?
No
--
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