[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-compiler-dev
Subject: Re: question about JDK-8063054 (incorrect raw type warnings for method references)
From: Maurizio Cimadamore <maurizio.cimadamore () oracle ! com>
Date: 2017-02-16 10:35:36
Message-ID: 532edc20-8715-4b17-15a0-36b99f23bed9 () oracle ! com
[Download RAW message or body]
On 16/02/17 02:33, Liam Miller-Cushon wrote:
> I think the fix might be as simple as replacing
> `!desc.getParameterTypes().head.isParameterized()` with something that
> handles capture variables.
Hi Liam,
I think your analysis is correct - isParameterized would not work for
non-class types, so something else is required here. I believe
intersection types like Serializable & Comparable<Foo> might also end up
with the same problem - and, presumably, synthetic inner class types.
Maurizio
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic