--- old/src/java.net.http/share/classes/jdk/internal/net/http/websocket/RawChannel.java 2021-02-18 17:06:03.000000000 +0300 +++ new/src/java.net.http/share/classes/jdk/internal/net/http/websocket/RawChannel.java 2021-02-18 17:06:03.000000000 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2020, 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 @@ -40,6 +40,7 @@ interface Provider { RawChannel rawChannel() throws IOException; + void closeRawChannel() throws IOException; } interface RawEvent {