Re: Final nestmates spec

2017-12-15 Thread Dan Smith
> On Dec 12, 2017, at 12:52 AM, David Holmes wrote: > > Hi Dan, > > I have one query with regards to the processing of the NestMembers attribute. > Originally when I wrote the draft I copied the InnerClasses text and that > included prohibiting duplicate entries in NestMembers. You dropped tha

JLS spec changes for nestmates

2017-12-15 Thread Dan Smith
FYI, here are the spec changes for JLS related to nestmates. http://cr.openjdk.java.net/~dlsmith/nestmates-jls.html I've also attached them to the JBS subtask: https://bugs.openjdk.java.net/browse/JDK-8177019 This is just some cleanup to more closely align the JLS description of method invocati

Re: Doubling down on the erasure vs constant pool specialization

2017-12-15 Thread Remi Forax
Hi all, There is a nice talk about implementing generics with separate compilation in Swift: https://youtu.be/ctS8FzqcRug I really think we should follow a similar road, their "witness table" is very similar to what the specialization part of a species can be, obviously all the data structure

Re: Final nestmates spec

2017-12-15 Thread David Holmes
Hi Dan, On 16/12/2017 4:44 AM, Dan Smith wrote: On Dec 12, 2017, at 12:52 AM, David Holmes wrote: Hi Dan, I have one query with regards to the processing of the NestMembers attribute. Originally when I wrote the draft I copied the InnerClasses text and that included prohibiting duplicate en