hg: valhalla/valhalla: 8210906: [lworld] default value creation should not impose raw types on users.

Srikanth srikanth.adayapalam at oracle.com
Wed Sep 19 11:38:02 UTC 2018



On Wednesday 19 September 2018 03:57 PM, Remi Forax wrote:
> Hi Srikanth,
> nice !
>
> I also believe that the diamond syntax should be supported,
>    Option<String> empty = Option<>.default;
> to allow inference as before this patch but only when explicitly asked by the user.

I'll take a look.
Thanks
Srikanth
>
> regards,
> Rémi
>
> ----- Mail original -----
>> De: "Srikanth" <srikanth.adayapalam at oracle.com>
>> À: "valhalla-dev" <valhalla-dev at openjdk.java.net>
>> Envoyé: Mercredi 19 Septembre 2018 08:37:32
>> Objet: hg: valhalla/valhalla: 8210906: [lworld] default value creation should not impose raw types on users.
>> Changeset: 6601da9e0237
>> Author:    sadayapalam
>> Date:      2018-09-19 12:07 +0530
>> URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/6601da9e0237
>>
>> 8210906: [lworld] default value creation should not impose raw types on users.
>>
>> ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
>> ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
>> + test/langtools/tools/javac/valhalla/lworld-values/ParameterizedDefault.java
>> + test/langtools/tools/javac/valhalla/lworld-values/UncheckedDefault.java
>> + test/langtools/tools/javac/valhalla/lworld-values/UncheckedDefault.out



More information about the valhalla-dev mailing list