Test alternative hash key lookup for JVM compat