8245959: Extend String concat testing to account for folded constants

Reviewed-by: psandoz
3 files changed