private void prepare() throws Exception {
info("== Preparing for validation ==");
if (!isCustomStreamURLHandlerSet) {
//URL.setURLStreamHandlerFactory can be called at most once in a given Java Virtual
//Machine, so set a flag to avoid calling this method multiple times
URL.setURLStreamHandlerFactory(new CustomBundleURLStreamHandlerFactory());
isCustomStreamURLHandlerSet = true;
}
info(" - getting list of system bundle exports");
readSystemPackages();
info(" - getting list of provided bundle exports");