Hi,

this PR fixes two tests that break when running with JDK 14 as discussed in #20147 .

There are obviously more build failures, but these were quick wins.

Cheers, Christoph