Re: Adding SocketChannel toString to connection exception messages

2017-12-31 Thread Peter Levart
Hi, David Holmes je 22. 12. 2017 ob 01:35 napisal: On 22/12/2017 10:29 AM, Steven Schlansker wrote: On Dec 21, 2017, at 11:11 AM, Steven Schlansker wrote: What if ConnectException included the attempted hostname / IP / port SocketAddress? java.net.ConnectException: Connection to 'foo.myc

Re: FileOutputStream.getFD() vs finalization

2017-12-31 Thread Peter Levart
Hi, Maybe I'm missing something but... Hans Boehm je 28. 12. 2017 ob 21:32 napisal: The design of the getFD() calls in some Java *Stream classes seems problematic, and doesn't seem cleanly fixable without a spec change. I first noticed this in JDK 8 code, but Roger Riggs recent JDK 10 changes a