From pbenedict at apache.org Mon Jun 2 13:33:19 2014 From: pbenedict at apache.org (Paul Benedict) Date: Mon, 2 Jun 2014 08:33:19 -0500 Subject: Improved variance for generic classes and interfaces Message-ID: For anyone here who likes API designing, take a look at this new proposal (for JDK 9?): https://bugs.openjdk.java.net/browse/JDK-8043488 PS: I found the PDF references at the ticket's end to be quite insightful. Cheers, Paul From brian.goetz at oracle.com Mon Jun 2 16:57:45 2014 From: brian.goetz at oracle.com (Brian Goetz) Date: Mon, 2 Jun 2014 12:57:45 -0400 Subject: Improved variance for generic classes and interfaces In-Reply-To: References: Message-ID: Actually, the main value here to API designers is that what would ordinarily be a hard-to-correct mistake (defining a method to take Consumer rather than Consumer) would no longer be a mistake. For API designers, there?s not much to learn, just a way of saying those who don?t fully understand generics (which is most of us) from some inevitable mistakes. On Jun 2, 2014, at 9:33 AM, Paul Benedict wrote: > For anyone here who likes API designing, take a look at this new proposal > (for JDK 9?): > https://bugs.openjdk.java.net/browse/JDK-8043488 > > PS: I found the PDF references at the ticket's end to be quite insightful. > > Cheers, > Paul > From joe.darcy at oracle.com Mon Jun 2 17:34:22 2014 From: joe.darcy at oracle.com (Joe Darcy) Date: Mon, 02 Jun 2014 10:34:22 -0700 Subject: Milling Project Coin; mailing list being retired Message-ID: <538CB59E.3080606@oracle.com> Hello, A quick note on Project Coin: I've submitted a JEP to round off a few rough edges present in the original JDK 7 era language features: http://mail.openjdk.java.net/pipermail/compiler-dev/2014-May/008823.html https://bugs.openjdk.java.net/browse/JDK-8042880 These adjustments may (or may not) be part of JDK 9. On other matters, since Project Coin shipped with JDK 7 several years ago, I've made this list moderated as a prelude to the list being more formally archived, so if not the last, this message will be one of the last messages to this list. Thanks for all the good discussions, -Joe