8165500: TestJpsJar shouldn't jar all test.classpath directories

Refactor test to better handle errors

Reviewed-by: sspitsyn
10 files changed