6832374: (reflect) malformed signature can cause parser to go into infinite loop
7052898: (reflect) SignatureParser will accept strings outside of the grammar
Various signature parsing fixes; additional review by sonali.goel@oracle.com
Reviewed-by: alanb