You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2021/11/19 13:55:23 UTC

[GitHub] [groovy] sszuev opened a new pull request #1654: ExtensionModuleTest: add test for comparing LocalDateTime and LocalDate

sszuev opened a new pull request #1654:
URL: https://github.com/apache/groovy/pull/1654


   In our product we need the ability to compare `java.time.LocalDateTime` and `java.time.LocalDate`.    
   To achieve this we can override java methods in groovy with help of `org.codehaus.groovy.runtime.ExtensionModule`.    
   I think it's pretty important that this functionality is covered by tests in some way: 
   for example, such overriding would not work as expected in the version before GROOVY-9711 (where a java `Comparable#compareTo` was used). 
   
   See also the relevant discussion in dev@groovy.apache.org: https://lists.apache.org/thread/gtrq2cmk1hz75blx5smr81sqhohdnt6q


-- 
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@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [groovy] paulk-asert merged pull request #1654: ExtensionModuleTest: add test for comparing LocalDateTime and LocalDate

Posted by GitBox <gi...@apache.org>.
paulk-asert merged pull request #1654:
URL: https://github.com/apache/groovy/pull/1654


   


-- 
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@groovy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org