--- old/src/java.base/share/classes/sun/nio/ch/DirectBuffer.java 2016-02-21 19:30:04.070287310 +0100 +++ new/src/java.base/share/classes/sun/nio/ch/DirectBuffer.java 2016-02-21 19:30:03.984288810 +0100 @@ -25,8 +25,8 @@ package sun.nio.ch; -import jdk.internal.ref.Cleaner; +import java.lang.ref.Cleaner; public interface DirectBuffer { @@ -34,6 +34,6 @@ public Object attachment(); - public Cleaner cleaner(); + public Cleaner.Cleanable cleaner(); }