RFR: JDK-8193367: Annotated type variable bounds crash javac

B. Blaser bsrbnd at gmail.com
Wed Jun 13 10:09:25 UTC 2018


Here it is, in attachment.
It completely privatizes and virtualizes 'TypeVar.bound'.

Apologies for not providing a web-rev, this is still on my to-do list...

Any feedback is welcome (tier1 is OK),
Bernard

On 11 June 2018 at 20:42, B. Blaser <bsrbnd at gmail.com> wrote:
> That's what I thought too but I wanted a confirmation before doing the
> whole job...
>
> Thanks,
> Bernard
>
> On 11 June 2018 at 19:23, Maurizio Cimadamore
> <maurizio.cimadamore at oracle.com> wrote:
>> I think this patch is a good start, but to be complete, we'd need to
>> completely virtualize access on the 'bound' field, otherwise we risk turning
>> this into a whack-a-mole exercise. There are e.g. 30 usages in Types alone,
>> each of those could lead to issues with type annos.
>>
>> Maurizio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jdk8193367.patch
Type: text/x-patch
Size: 22927 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20180613/c921f288/jdk8193367-0001.patch>


More information about the compiler-dev mailing list