8151516: test/tools/javac/TestIndyStringConcat depends on runtime JDK details

Reviewed-by: mcimadamore
3 files changed