Ensure test introduced in 5c1c14286d also works on Java9

This commit is contained in:
Norman Maurer 2017-03-29 22:43:00 +02:00
parent 5c1c14286d
commit 493a8135f8

View File

@ -28,6 +28,7 @@ public class PlatformDependent0Test {
@BeforeClass @BeforeClass
public static void assumeUnsafe() { public static void assumeUnsafe() {
assumeTrue(PlatformDependent0.hasUnsafe()); assumeTrue(PlatformDependent0.hasUnsafe());
assumeTrue(PlatformDependent0.hasDirectBufferNoCleanerConstructor());
} }
@Test @Test