[MVT] anewarray and classloading

Remi Forax forax at univ-mlv.fr
Sat Sep 9 14:06:51 UTC 2017


There is a bug in hotspot,
anewarray with a value type only works if the corresponding value capable class was loaded previously,
otherwise, i get a NoClassDefFoundError.

A way to reproduce the issue is to clone my valuetypify repo and comment the line
https://github.com/forax/valuetypify/blob/master/src/test/java/fr/umlv/valuetypify/test/Hash.java#L150

regards,
Rémi



More information about the valhalla-dev mailing list