--- old/src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/pecoff/PECoffByteBuffer.java 2017-08-22 11:46:37.000000000 -0700 +++ new/src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/pecoff/PECoffByteBuffer.java 2017-08-22 11:46:37.000000000 -0700 @@ -26,9 +26,9 @@ import java.nio.ByteBuffer; import java.nio.ByteOrder; -public class PECoffByteBuffer { +final class PECoffByteBuffer { - public static ByteBuffer allocate(int size) { + static ByteBuffer allocate(int size) { ByteBuffer buf = ByteBuffer.allocate(size); // Only support Little Endian on Windows buf.order(ByteOrder.LITTLE_ENDIAN);