MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / runMain

Method runMain

java/src/org/openqa/selenium/grid/Bootstrap.java:76–85  ·  view source on GitHub ↗
(ClassLoader loader, String[] args)

Source from the content-addressed store, hash-verified

74 }
75
76 private static void runMain(ClassLoader loader, String[] args) {
77 try {
78 Class<?> clazz = loader.loadClass(MAIN_CLASS);
79 Method main = clazz.getMethod("main", String[].class);
80 main.invoke(null, new Object[] {args});
81 } catch (ReflectiveOperationException e) {
82 LOG.log(Level.SEVERE, "Error during execution", e);
83 System.exit(1);
84 }
85 }
86
87 private static ClassLoader createExtendedClassLoader(String ext) {
88 List<File> jars = new ArrayList<>();

Callers 1

mainMethod · 0.95

Calls 4

loadClassMethod · 0.80
logMethod · 0.65
getMethodMethod · 0.45
invokeMethod · 0.45

Tested by

no test coverage detected