Minor typo in the link target, should be BodySubscribers ( plural ). --- a/src/java.net.http/share/classes/java/net/http/HttpResponse.java +++ b/src/java.net.http/share/classes/java/net/http/HttpResponse.java @@ -1,7 +1,7 @@ /* - * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2019, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this @@ -826,11 +826,11 @@ } /** * A {@code BodySubscriber} consumes response body bytes and converts them * into a higher-level Java type. The class {@link BodySubscribers - * BodySubscriber} provides implementations of many common body subscribers. + * BodySubscribers} provides implementations of many common body subscribers. * * <p> The object acts as a {@link Flow.Subscriber}<{@link List}<{@link * ByteBuffer}>> to the HTTP Client implementation, which publishes * lists of ByteBuffers containing the response body. The Flow of data, as * well as the order of ByteBuffers in the Flow lists, is a strictly ordered
-Chris.