bf1b388d0e
* prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't overflow a jint. (_Jv_NewPrimArray): Check for overflowing a jint, replacing a check for overflowing size_t, since the lower level functions take a jint. * testsuite/libjava.lang/newarray_overflow.java: New file. * testsuite/libjava.lang/newarray_overflow.out: New file. From-SVN: r72577 |
||
---|---|---|
.. | ||
config | ||
lib | ||
libjava.cni | ||
libjava.compile | ||
libjava.jacks | ||
libjava.jni | ||
libjava.lang | ||
libjava.loader | ||
libjava.mauve | ||
libjava.verify | ||
ChangeLog | ||
Makefile.am | ||
Makefile.in |