[
https://issues.apache.org/jira/browse/GROOVY-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149362#comment-18149362
]
ASF GitHub Bot commented on GROOVY-3250:
----------------------------------------
codecov-commenter commented on PR #3330:
URL: https://github.com/apache/groovy/pull/3330#issuecomment-7084211967
##
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/3330?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 74.9642%. Comparing base
([`09e84fa`](https://app.codecov.io/gh/apache/groovy/commit/09e84fa4b0d4c37a5ac2efc48dfd2db93a84cab7?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache))
to head
([`897462f`](https://app.codecov.io/gh/apache/groovy/commit/897462fc3d8d506ed324571859a2b3c9589ba815?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
<details><summary>Additional details and impacted files</summary>
[](https://app.codecov.io/gh/apache/groovy/pull/3330?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ Coverage Diff @@
## master #3330 +/- ##
==================================================
+ Coverage 74.9518% 74.9642% +0.0124%
- Complexity 48908 48927 +19
==================================================
Files 1768 1768
Lines 161213 161253 +40
Branches 31728 31740 +12
==================================================
+ Hits 120832 120882 +50
+ Misses 28968 28963 -5
+ Partials 11413 11408 -5
```
| [Files with missing
lines](https://app.codecov.io/gh/apache/groovy/pull/3330?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
| Coverage Δ | |
|---|---|---|
|
[...java/org/codehaus/groovy/runtime/FormatHelper.java](https://app.codecov.io/gh/apache/groovy/pull/3330?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fruntime%2FFormatHelper.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3J1bnRpbWUvRm9ybWF0SGVscGVyLmphdmE=)
| `84.7584% <100.0000%> (+5.7191%)` | :arrow_up: |
... and [14 files with indirect coverage
changes](https://app.codecov.io/gh/apache/groovy/pull/3330/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test
Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests,
report on failures, and find test suite problems.
- :package: [JS Bundle
Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save
yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
> StackOverflowError in List and Map formatting
> ---------------------------------------------
>
> Key: GROOVY-3250
> URL: https://issues.apache.org/jira/browse/GROOVY-3250
> Project: Groovy
> Issue Type: Bug
> Components: groovy-jdk
> Affects Versions: 1.5.7
> Environment: Groovy 1.5.7 and 1.6-RC1
> Reporter: Alexander Veit
> Assignee: Daniel Sun
> Priority: Major
> Labels: StackOverflowError
>
> If a List or Map that contains itself is formatted for output (print,
> inspect,...) a StackOverflowError occurs.
> {code}
> import org.codehaus.groovy.runtime.InvokerHelper
> def x
> // List (simple case)
> x = []
> x << x
> assert "[(this Collection)]" == x.toString()
> InvokerHelper.toListString(x)
> // List (nested case)
> x = []
> x << [x]
> assert InvokerHelper.toListString(x)
> // Map (simple case)
> x = [:]
> x.put("self", x)
> assert "[self:this Map_]" == InvokerHelper.toMapString(x) // JDK uses "(this
> Map)"
> // Map (nested case)
> x = [:]
> x.put("nested", ["self":x])
> assert InvokerHelper.toMapString(x)
> // there are also List/Map mixed cases
> // ...
> {code}
> See also GROOVY-1106.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)