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 2021/12/17 00:00:59 UTC

[GitHub] [netbeans] entlicher opened a new pull request #3377: Rewrite lambda to an inner class to prevent from Gradle warning about execution optimizations.

entlicher opened a new pull request #3377:
URL: https://github.com/apache/netbeans/pull/3377


   When a Micronaut Gradle app is run, following message is printed:
   ```
   > Task :run
   Execution optimizations have been disabled for task ':run' to ensure correctness due to the following reasons:
     - Property 'jvmArgumentProviders.$0' was implemented by the Java lambda 'org.netbeans.modules.gradle.tooling.NetBeansRunSinglePlugin$$Lambda$1154/0x00000008409ea840'. Reason: Using Java lambdas is not supported as task inputs. Please refer to https://docs.gradle.org/7.3.1/userguide/validation_problems.html#implementation_unknown for more details about this problem.
   ```
   While this is not a severe issue, it's distracting and the user has a little chance to understand what this means.
   We need to replace the lambda with an anonymous class in `NetBeansRunSinglePlugin` to get rid of the message.


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


[GitHub] [netbeans] mbien commented on pull request #3377: Rewrite lambda to an inner class to prevent from Gradle warning about execution optimizations.

Posted by GitBox <gi...@apache.org>.
mbien commented on pull request #3377:
URL: https://github.com/apache/netbeans/pull/3377#issuecomment-996462548


   please add a short comment so that nobody converts it to a lambda again in future code cleanups.


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


[GitHub] [netbeans] lkishalmi merged pull request #3377: Rewrite lambda to an inner class to prevent from Gradle warning about execution optimizations.

Posted by GitBox <gi...@apache.org>.
lkishalmi merged pull request #3377:
URL: https://github.com/apache/netbeans/pull/3377


   


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