Trying to benefit from exception transparency
maurizio.cimadamore at oracle.com
Tue Aug 10 03:56:41 PDT 2010
On 10/08/10 11:51, Florian Weimer wrote:
> * Maurizio Cimadamore:
>> The NPE is obviously a bug; the target type is required in this case
>> as you are accessing a member of 'this' (whose type is the very type
>> that needs to be inferred).
> Then there's another bug. I've got code which accesses a member of
> "this" without specifying the target type (but with Exception inferred
> as the exception).
My answer covered both issues ;-)
> I also don't see why specifying the target type should be necessary in
> this case.
More information about the lambda-dev