[lworld] RFR: 8242496: [lworld] new and defaultvalue don't perform checks on class to instantiate
David Simms
dsimms at openjdk.java.net
Tue Apr 14 12:39:18 UTC 2020
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 !
-------------
PR: https://git.openjdk.java.net/valhalla/pull/21
More information about the valhalla-dev
mailing list