docs: public static void enableJava2SecurityIfSet(BootstrapConfig bootProps, List<URL> urlList) {
          if (bootProps.get(BootstrapConstants.JAVA_2_SECURITY_PROPERTY) != null) {
  
              NameBasedLocalBundleRepository repo = new NameBasedLocalBundleRepository(bootProps.getInstallRoot());
              urlList.add(getJarFileFromBundleName(repo, "com.ibm.ws.org.eclipse.equinox.region", "[1.0,1.0.100)"));
              // the following three jar files are for serialfilter which are loaded by URLClassloader by bootstrap agent.
              urlList.add(getJarFileFromBundleName(repo, "com.ibm.ws.kernel.instrument.serialfilter", "[1.0,1.0.100)"));
              addJarFileIfExist(urlList, bootProps.getInstallRoot() + "/bin/tools/ws-javaagent.jar");
              addJarFileIfExist(urlList, bootProps.getInstallRoot() + "/lib/bootstrap-agent.jar");
              Policy wlpPolicy = new WLPDynamicPolicy(Policy.getPolicy(), urlList);
              Policy.setPolicy(wlpPolicy);
          }
  
      }