Re: Proposal: java.lang.reflect.Proxy and default methods

2016-06-04 Thread Jake Wharton
On Fri, Jun 3, 2016 at 10:58 AM Peter Levart wrote: > InvocationHandler gets invoked for default methods, but it > has not provision to forward such calls to the default implementations > in the interfaces. > This isn't quite true. You can use MethodHandles to invoke the default method if the in

Re: JDK 9 RFR of JDK-8136738: InputStream documentation for IOException in skip() is unclear or incorrect

2016-06-04 Thread Colin Decker
Isn't this change actually changing the contract of skip()? It's currently legal for an implementation of skip() may throw IOException if it doesn't support skip(), and it seems likely that there are implementations out there that do this. I don't think the description of how InputStream itself hap