[lworld] RFR: 8242496: [lworld] new and defaultvalue don't perform checks on class to instantiate

Frederic Parain frederic.parain at oracle.com
Tue Apr 14 13:31:00 UTC 2020


Thank you David.

Fred


> On Apr 14, 2020, at 08:45, David Simms <dsimms at openjdk.java.net> wrote:
> 
> On Fri, 10 Apr 2020 16:37:27 GMT, Frederic Parain <fparain at openjdk.org> wrote:
> 
>> The new and defaultvalue bytecodes currently lack a check to ensure that the class to instantiate is of the right kind.
>> 
>> These changes add checks in both slow and fast path of the interpreter.
>> 
>> Testing:
>>  - unit test added
>>  - mach5 tier 1 (all failures were pre-existing)
> 
> Looks good !
> 
> Marked as reviewed by dsimms (Committer).
> 
> -------------
> 
> PR: https://git.openjdk.java.net/valhalla/pull/21



More information about the valhalla-dev mailing list