Re: RFR: 8279283 - BufferedInputStream should override transferTo [v5]

2022-06-06 Thread Markus KARG
On Mon, 27 Dec 2021 13:43:12 GMT, Markus KARG wrote: >> Implementation of JDK-8279283 > > Markus KARG has updated the pull request incrementally with one additional > commit since the last revision: > > fixed missing BufferedInputStream I think we should

Re: RFR: 8279283 - BufferedInputStream should override transferTo [v5]

2022-05-13 Thread Markus KARG
On Mon, 27 Dec 2021 13:43:12 GMT, Markus KARG wrote: >> Implementation of JDK-8279283 > > Markus KARG has updated the pull request incrementally with one additional > commit since the last revision: > > fixed missing BufferedInputStream Please keep this PR open; I will

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2022-05-13 Thread Markus KARG
On Sun, 1 Aug 2021 22:01:33 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8279283 - BufferedInputStream should override transferTo [v5]

2022-04-10 Thread Markus KARG
On Mon, 27 Dec 2021 13:43:12 GMT, Markus KARG wrote: >> Implementation of JDK-8279283 > > Markus KARG has updated the pull request incrementally with one additional > commit since the last revision: > > fixed missing BufferedInputStream Please keep this PR open; I will

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2022-03-13 Thread Markus KARG
On Sun, 1 Aug 2021 22:01:33 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8279283 - BufferedInputStream should override transferTo [v5]

2022-03-13 Thread Markus KARG
On Mon, 27 Dec 2021 13:43:12 GMT, Markus KARG wrote: >> Implementation of JDK-8279283 > > Markus KARG has updated the pull request incrementally with one additional > commit since the last revision: > > fixed missing BufferedInputStream Please keep this PR open; I will

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2022-02-12 Thread Markus KARG
On Sun, 1 Aug 2021 22:01:33 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8279283 - BufferedInputStream should override transferTo [v5]

2022-02-12 Thread Markus KARG
On Mon, 27 Dec 2021 13:43:12 GMT, Markus KARG wrote: >> Implementation of JDK-8279283 > > Markus KARG has updated the pull request incrementally with one additional > commit since the last revision: > > fixed missing BufferedInputStream Please keep open

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2022-01-15 Thread Markus KARG
On Sun, 1 Aug 2021 22:01:33 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8279283 - BufferedInputStream should override transferTo [v5]

2022-01-15 Thread Markus KARG
On Mon, 27 Dec 2021 13:43:12 GMT, Markus KARG wrote: >> Implementation of JDK-8279283 > > Markus KARG has updated the pull request incrementally with one additional > commit since the last revision: > > fixed missing BufferedInputStream Good catches, I will lo

Re: RFR: 8279283 - (ch) BufferedInputStream should override transferTo [v5]

2021-12-27 Thread Markus KARG
> Implementation of JDK-8279283 Markus KARG has updated the pull request incrementally with one additional commit since the last revision: fixed missing BufferedInputStream - Changes: - all: https://git.openjdk.java.net/jdk/pull/6935/files - new: https://git.openjdk.java.

Re: RFR: 8279283 - (ch) BufferedInputStream should override transferTo [v4]

2021-12-27 Thread Markus KARG
> Implementation of JDK-8279283 Markus KARG has updated the pull request incrementally with one additional commit since the last revision: removed unused code - Changes: - all: https://git.openjdk.java.net/jdk/pull/6935/files - new: https://git.openjdk.java.net/jdk/pull/6

Re: RFR: 8279283 - (ch) BufferedInputStream should override transferTo

2021-12-27 Thread Markus KARG
On Mon, 27 Dec 2021 09:30:25 GMT, Markus KARG wrote: > Have you surveyed the existing tests to see if transferTo is invoked on a > BIS? New tests may be needed. I have provided a test for BIS.transferTo in https://github.com/openjdk/jdk/pull/6935/c

Re: RFR: 8279283 - (ch) BufferedInputStream should override transferTo [v3]

2021-12-27 Thread Markus KARG
> Implementation of JDK-8279283 Markus KARG has updated the pull request incrementally with one additional commit since the last revision: test for BufferedInputStream.transferTo - Changes: - all: https://git.openjdk.java.net/jdk/pull/6935/files - new: ht

Re: RFR: 8279283 - (ch) BufferedInputStream should override transferTo

2021-12-27 Thread Markus KARG
On Mon, 27 Dec 2021 08:50:26 GMT, Alan Bateman wrote: > BIS is not specified to be thread safe but the existing read/write operations > are. If transferTo is overridden then this is an area that will require close > attention. In analogy to the other read/write operations I now have synchroniz

Re: RFR: 8279283 - (ch) BufferedInputStream should override transferTo [v2]

2021-12-27 Thread Markus KARG
> Implementation of JDK-8279283 Markus KARG has updated the pull request incrementally with one additional commit since the last revision: synchronized BufferedInputStream::transferTo - Changes: - all: https://git.openjdk.java.net/jdk/pull/6935/files - new: ht

RFR: 8279283 - (ch) BufferedInputStream should override transferTo

2021-12-26 Thread Markus KARG
Implementation of JDK-8279283 - Commit messages: - BufferedInputStream::transferTo Changes: https://git.openjdk.java.net/jdk/pull/6935/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6935&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8279283 Stats: 15 lin

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-12-17 Thread Markus KARG
On Thu, 12 Aug 2021 01:04:29 GMT, Brian Burkhalter wrote: >> Markus KARG has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Draft: Eliminated duplicate code using lambda expressions >> - Draft: Use blockin

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-12-12 Thread Markus KARG
On Mon, 6 Dec 2021 07:07:03 GMT, Markus KARG wrote: >> Markus KARG has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Draft: Eliminated duplicate code using lambda expressions >> - Draft: Use blockin

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-12-05 Thread Markus KARG
On Sun, 1 Aug 2021 22:01:33 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-11-07 Thread Markus KARG
On Sun, 1 Aug 2021 22:01:33 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-10-10 Thread Markus KARG
On Sun, 1 Aug 2021 22:01:33 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-08-29 Thread Markus KARG
On Thu, 12 Aug 2021 01:10:15 GMT, Brian Burkhalter wrote: >> Markus KARG has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Draft: Eliminated duplicate code using lambda expressions >> - Draft: Use blockin

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-08-18 Thread Markus KARG
On Sun, 15 Aug 2021 13:37:23 GMT, Markus KARG wrote: > I think the best course of action is to reduce the scope of this PR to the > file channel cases. There is no reason why future PRs can't build on this and > add implementations for other channel types. I have split up t

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-08-15 Thread Markus KARG
On Fri, 13 Aug 2021 12:54:55 GMT, Alan Bateman wrote: > > Does it make **any** real sense to answer your recent questions, provide > > the proofs, tests and benchmark results (I actually would love to _if_ it > > makes sense) _or_ will the outcome be that I _must_ drop everything besides > > f

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-08-12 Thread Markus KARG
On Thu, 12 Aug 2021 08:40:34 GMT, Alan Bateman wrote: >> Markus KARG has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Draft: Eliminated duplicate code using lambda expressions >> - Draft: Use blockin

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-08-11 Thread Markus KARG
On Wed, 11 Aug 2021 11:27:53 GMT, Alan Bateman wrote: > I've looked through the latest revision. Is there any way that we could drop > most of the changes to ChannelInputStream and focus on one or two specific > cases? I'm asking because there are several issues, inconsistencies, and it > is t

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-08-06 Thread Markus KARG
On Sun, 1 Aug 2021 22:01:33 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-08-01 Thread Markus KARG
On Sun, 1 Aug 2021 08:24:13 GMT, Markus KARG wrote: >>> The modified code found in >>> [4b501b2](https://github.com/openjdk/jdk/commit/4b501b205c6f1c48bbc82d7a154aed3fc41b1a20) >>> should be safe from infinite loops, as it checks the actual file length in >&

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v13]

2021-08-01 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG has

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v12]

2021-08-01 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG ha

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-08-01 Thread Markus KARG
On Sat, 31 Jul 2021 17:33:50 GMT, Alan Bateman wrote: >>> Also can you can check that IllegalBlockingModeException is thrown for the >>> case ch is a SelectableChannel configured non-blocking and the destination >>> is a FileChannel? >> >> Done in >> https://github.com/openjdk/jdk/pull/4263/c

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-08-01 Thread Markus KARG
On Sun, 1 Aug 2021 07:46:36 GMT, Markus KARG wrote: >>> I need to look at it closely but I suspect this introduces a potential >>> overflow. Also if output stream is backed by a SocketChannel configured >>> non-blocking then FC::transferTo may return 0 so I assum

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-08-01 Thread Markus KARG
On Sat, 31 Jul 2021 21:20:28 GMT, Markus KARG wrote: > I suspect the eventually patch will need have to make use of the blockingLock > to prevent the underlying channels from being changed to non-blocking during > the transfer. The blocking lock now is used since https://github.co

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v11]

2021-08-01 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG ha

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-07-31 Thread Markus KARG
On Sat, 31 Jul 2021 17:33:50 GMT, Alan Bateman wrote: > I need to look at it closely but I suspect this introduces a potential > overflow. Also if output stream is backed by a SocketChannel configured > non-blocking then FC::transferTo may return 0 so I assume there is a > potential infinite l

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-07-31 Thread Markus KARG
On Sat, 31 Jul 2021 14:39:02 GMT, Markus KARG wrote: >>> Just on naming, the existing channel implementations use "dst" for the >>> destination and "wbc" (not "oc") for writable byte channels. Just >>> mentioning it so that the new

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v10]

2021-07-31 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG ha

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-07-31 Thread Markus KARG
On Sat, 31 Jul 2021 13:12:54 GMT, Markus KARG wrote: >> Is this loop correct for the case that the channel gets truncated? In that >> case transferTo will return 0 as no bytes will be transferred and I'm >> concerned this code will go into an infinite loop. >> &

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v9]

2021-07-31 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG ha

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v8]

2021-07-31 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG has

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v7]

2021-07-31 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG ha

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-07-31 Thread Markus KARG
On Fri, 30 Jul 2021 12:09:30 GMT, Alan Bateman wrote: > Just on naming, the existing channel implementations use "dst" for the > destination and "wbc" (not "oc") for writable byte channels. Just mentioning > it so that the new code can be kept consistent where possible. I have renamed `dest` t

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-07-29 Thread Markus KARG
On Thu, 29 Jul 2021 16:42:35 GMT, Brian Burkhalter wrote: >> The JavaDocs in `InputStream::transferTo` *cleary* tell the caller that >> there is **no** guarantee of *any* specific behavior in that particular >> case: >>>The behavior for the case where the input and/or output stream is >>>asyn

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-07-29 Thread Markus KARG
On Mon, 26 Jul 2021 23:59:05 GMT, Brian Burkhalter wrote: >> Markus KARG has refreshed the contents of this pull request, and previous >> commits have been removed. The incremental views will show differences >> compared to the previous content of the PR. > > src/jav

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-07-29 Thread Markus KARG
On Tue, 27 Jul 2021 00:57:02 GMT, Brian Burkhalter wrote: >> Markus KARG has refreshed the contents of this pull request, and previous >> commits have been removed. The incremental views will show differences >> compared to the previous content of the PR. > > src/jav

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v6]

2021-07-26 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG ha

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v5]

2021-07-26 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG ha

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v3]

2021-07-26 Thread Markus KARG
On Fri, 2 Jul 2021 06:20:29 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v4]

2021-07-26 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG has

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v3]

2021-07-21 Thread Markus KARG
On Fri, 2 Jul 2021 06:20:29 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v3]

2021-07-17 Thread Markus KARG
On Wed, 14 Jul 2021 18:35:15 GMT, Brian Burkhalter wrote: > Have you looked into other tests which have implemented Providers? I have not found any test code containing the word `new FileChannel() {...}` or `extends FileChannel`, so I apparently there exists no mock of `FileChannel`. Unfortuna

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v3]

2021-07-14 Thread Markus KARG
On Fri, 2 Jul 2021 06:20:29 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v2]

2021-07-01 Thread Markus KARG
On Thu, 1 Jul 2021 21:59:33 GMT, Markus KARG wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final re

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v3]

2021-07-01 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG ha

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo [v2]

2021-07-01 Thread Markus KARG
y to discuss this draft: > * Are there valid arguments for *not* doing this change? > * Is there a *better* way to improve performance of > `Channels.newInputStream().transferTo()`? > * How to go on from here: What is missing to get this ready for an actual > review? Markus KARG ha

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-27 Thread Markus KARG
On Sun, 30 May 2021 17:30:56 GMT, Markus KARG wrote: > This PR-*draft* is **work in progress** and an invitation to discuss a > possible solution for issue > [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not > yet* intended for a final review. > &

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-18 Thread Markus KARG
On Thu, 17 Jun 2021 20:08:08 GMT, Michael Bien wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final review. >> >> As proposed

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-17 Thread Markus KARG
On Tue, 8 Jun 2021 19:26:14 GMT, Brian Burkhalter wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final review. >> >> As propos

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-17 Thread Markus KARG
On Tue, 8 Jun 2021 20:34:15 GMT, Brian Burkhalter wrote: >> I'd like to abstain from changes in ChannelOutputStream, as I did not write >> that code at all. It is simply moved from being an inner class. Please let's >> concentrate on the code I actually wrote in this PR. Thanks. > > That's fine

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-17 Thread Markus KARG
On Thu, 3 Jun 2021 17:29:14 GMT, Markus KARG wrote: >> src/java.base/share/classes/java/nio/channels/Channels.java line 145: >> >>> 143: * @since 18 >>> 144: */ >>> 145: public static class ChannelOutputStream extends OutputStream { >&g

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-17 Thread Markus KARG
On Sat, 5 Jun 2021 07:25:44 GMT, Markus KARG wrote: >> You mean as a source comment or just here in this discussion thread? >> >> In fact it might be better to not add it to a package with is part of the >> API, but to move it to the `sun` package, which i

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-17 Thread Markus KARG
On Wed, 2 Jun 2021 09:03:03 GMT, Alan Bateman wrote: >> This PR-*draft* is **work in progress** and an invitation to discuss a >> possible solution for issue >> [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not >> yet* intended for a final review. >> >> As proposed i

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-17 Thread Markus KARG
On Tue, 8 Jun 2021 11:49:55 GMT, Alan Bateman wrote: >> @AlanBateman I'm done with the changes you requested and kindly like to ask >> where to go from here. > >> @AlanBateman I'm done with the changes you requested and kindly like to ask >> where to go from here. > > Moving ChannelOutputStrea

RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-17 Thread Markus KARG
This PR-*draft* is **work in progress** and an invitation to discuss a possible solution for issue [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not yet* intended for a final review. As proposed in JDK-8265891, this PR provides an implementation for `Channels.newInput

Re: RFR: 8265891: (ch) InputStream returned by Channels.newInputStream should override transferTo

2021-06-17 Thread Markus KARG
On Sun, 30 May 2021 17:30:56 GMT, Markus KARG wrote: > This PR-*draft* is **work in progress** and an invitation to discuss a > possible solution for issue > [JDK-8265891](https://bugs.openjdk.java.net/browse/JDK-8265891). It is *not > yet* intended for a final review. > &

Where to discuss class proposals?

2011-01-04 Thread Markus KARG
ust really want to know how to move on with this issue. Thanks Markus KARG Head Crashing Informatics http://www.headcrashing.eu http://www.java.net/blogs/mkarg