Refined OpenJDK specific test.