RFR 8193842: Refactor InputStream-to-OutputStream copy into a utility method (original) (raw)
Brian Burkhalter brian.burkhalter at oracle.com
Thu Jan 4 01:48:43 UTC 2018
- Previous message: RFR 8193842: Refactor InputStream-to-OutputStream copy into a utility method
- Next message: RFR 8193842: Refactor InputStream-to-OutputStream copy into a utility method
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jan 3, 2018, at 3:23 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
On 02/01/2018 23:43, Brian Burkhalter wrote:
:
So not clear to me that Files.copy methods needs to use this. So you are suggesting leaving the call to InputStream.transferTo() in preference to IOSupport.copy()? Yes, I think these two should use transferTo.
I don’t think that transferTo() can be used in JrtPath right now as BUILD_JRTFS sets the compiler option “—release 8” and transferTo() was added in 9. So unless this can be changed to 9, then JrtPath would need either to remain unchanged or use IOSupport.copy().
Brian
- Previous message: RFR 8193842: Refactor InputStream-to-OutputStream copy into a utility method
- Next message: RFR 8193842: Refactor InputStream-to-OutputStream copy into a utility method
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]