8233940: Preview API tests for String methods should use ${jdk.version} as -source arg

Reviewed-by: jlaskey, jlahoda
4 files changed