A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/2819 below:

[java] GLB bugs in pmd 7 · Issue #2819 · pmd/pmd · GitHub

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