matthiasblaesing opened a new pull request, #4222:
URL: https://github.com/apache/netbeans/pull/4222
While trying to work with the gradle projects from liferay-portal it
was observed, that loading failed with an exception. There are two
problems:
1. The liferay build provides incomplete implementation of JavaExec,
which do not support setting the standard input
2. The generated UnsupportedOperation exception carries a null message,
rendering the @NonNull annotation in GradleReport invalid and
causing NullPointerExceptions in use sites.
Fixes:
1. Setting stdin is changed to be a best-effort operation. It is
assumed that, if the setter fails, the access to stdin is not
expected and thus does not need to be wired.
2. If a null message is passed into GradleReport, it is replaced with
an empty string.
--
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