Affects PMD Version: 7
Description:
Some kotlin tests we have on the 7.0 branch are non-deterministic because they use property-based testing. In GlbTest, there are some random failures due to improper handling of parameterized types. I'll try to tackle this shortly, in the meantime, I'll ignore those tests
Error message https://github.com/pmd/pmd/runs/1228429935#step:5:3116
Code Sample demonstrating the issue:
// test corner cases glb(`t_List{? extends Number}`, `t_Collection{Integer}`, `t_ArrayList{Integer}`) shouldBe `t_ArrayList{Integer}` glb(`t_List{? extends Number}`, `t_Collection{Integer}`) shouldBe `t_List{Integer}`
Steps to reproduce: Repeat the build until it fails
See also 7849db4, which was prompted by the same kind of test failures
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4