8058322: Zero name_index item of MethodParameters attribute cause MalformedParameterException
Summary: Allow hotspot to report null for 0 parameter_name index in MethodParameters attribute
Reviewed-by: coleenp, dholmes
8058313: Mismatch of method descriptor and MethodParameters.parameters_count should cause MalformedParameterException
Summary: Allow hotspot to store and report zero-length MethodParameters attribute data
Reviewed-by: coleenp, jiangli