32c8664f71
There's no behavior specific for JVM backend diagnostics in any of the affected tests, and this code is using an incorrect way to obtain those diagnostics, so it should be removed anyway.