[jdk8u-dev] RFR: 8256152: tests fail because of ambiguous method resolution

Zdenek Zambersky zzambers at openjdk.org
Mon Mar 18 13:30:34 UTC 2024


On Mon, 18 Mar 2024 13:06:04 GMT, Zdenek Zambersky <zzambers at openjdk.org> wrote:

> Backport to fix test build failures.
> 
> Actually, it seems, that whether test build failures happen depends on jtreg used, as test class indirectly inherits from `org.testng.Assert`. (probably methods were added there, which introduced ambiguity)
> 
> After dealing with different test path on 8,  patch applies cleanly.

Tested locally with jtreg, which has shown failures (6+1). Problematic tests passed with changeset applied (failed without).

-------------

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/468#issuecomment-2003905003


More information about the jdk8u-dev mailing list