8211287: ClassPathTests.java fails due to "Unable to map MiscData shared space at required address."

Catch the InvocationTargetException and rethrow exception based on the cause

Reviewed-by: jiangli, iklam
1 file changed