Fixes the failing test to work with JDK 21 as dependencies have changed for java.lang.Object there. See also: 4eb60db49d 2df0c1cfc8 Resolves: RHEL-65449
4eb60db49d
2df0c1cfc8