--- old/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/frame/ContinuationFrame.java 2017-11-30 04:04:19.287827691 -0800 +++ new/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/frame/ContinuationFrame.java 2017-11-30 04:04:19.090810467 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -25,19 +25,19 @@ package jdk.incubator.http.internal.frame; -import jdk.incubator.http.internal.common.ByteBufferReference; -import jdk.incubator.http.internal.common.Utils; +import java.nio.ByteBuffer; +import java.util.List; public class ContinuationFrame extends HeaderFrame { public static final int TYPE = 0x9; - public ContinuationFrame(int streamid, int flags, ByteBufferReference[] headerBlocks) { + public ContinuationFrame(int streamid, int flags, List headerBlocks) { super(streamid, flags, headerBlocks); } - public ContinuationFrame(int streamid, ByteBufferReference headersBlock) { - this(streamid, 0, new ByteBufferReference[]{headersBlock}); + public ContinuationFrame(int streamid, ByteBuffer headersBlock) { + this(streamid, 0, List.of(headersBlock)); } @Override