cjplummer [Thu, 23 Oct 2014 14:43:08 -0700] rev 27405
6191224: (reflect) Misleading detail string in IllegalArgumentException thrown by Array.get<Type>
Summary: The test case shows that an exception is thrown with the message "Argument is not an array", when in fact the argument is an array, but an array of a primitive type is actually what was expected. Fixed by differentiating between failing because an array was expected and failing because an array of a primitive type was expected.
Reviewed-by: dholmes, ctornqvi, lfoltan
ccheung [Thu, 23 Oct 2014 10:08:02 -0700] rev 27404
8038268: VM Crashes in MetaspaceShared::generate_vtable_methods while creating CDS archive with limiting SharedMiscCodeSize
Summary: estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement
Reviewed-by: jiangli, dholmes