The test uses a class loading strategy that relies on misc.Unsafe which we cannot use anymore with JDK 11.