hg: valhalla/valhalla/jdk: 8186835: Add API point to create value-capable classes programmatically

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Aug 28 17:28:57 UTC 2017


Hi Remi,
look here:

http://mail.openjdk.java.net/pipermail/valhalla-dev/2017-August/003201.html

I believe hotspot will now issue an error when encountering empty values 
(which have never handled properly).

Maurizio


On 28/08/17 17:43, Remi Forax wrote:
> I think you should allow empty value type too (value type with no field).
>
> regards,
> Rémi
>
> ----- Mail original -----
>> De: "Maurizio Cimadamore" <maurizio.cimadamore at oracle.com>
>> À: "valhalla-dev" <valhalla-dev at openjdk.java.net>
>> Envoyé: Lundi 28 Août 2017 15:24:33
>> Objet: hg: valhalla/valhalla/jdk: 8186835: Add API point to create value-capable classes programmatically
>> Changeset: 34f229aedcd1
>> Author:    mcimadamore
>> Date:      2017-08-28 14:21 +0100
>> URL:       http://hg.openjdk.java.net/valhalla/valhalla/jdk/rev/34f229aedcd1
>>
>> 8186835: Add API point to create value-capable classes programmatically
>> Reviewed-by: psandoz, dsimms
>>
>> ! src/java.base/share/classes/java/lang/invoke/LambdaFormBuilder.java
>> ! src/java.base/share/classes/jdk/experimental/value/MethodHandleBuilder.java
>> ! src/java.base/share/classes/jdk/experimental/value/ValueType.java
>> + test/valhalla/mvt/TestValueInValue.java



More information about the valhalla-dev mailing list