8165500: TestJpsJar shouldn't jar all test.classpath directoriesSummary: Refactor test to better handle errorsReviewed-by: sspitsyn