MCPcopy Create free account
hub / github.com/beanshell/beanshell / setClassPath

Method setClassPath

src/bsh/classpath/ClassManagerImpl.java:321–327  ·  view source on GitHub ↗

Set a new base classpath and create a new base classloader. This means all types change.

( URL [] cp )

Source from the content-addressed store, hash-verified

319 This means all types change.
320 */
321 @Override
322 public void setClassPath( URL [] cp ) {
323 baseClassPath.setPath( cp );
324 initBaseLoader();
325 loaderMap = new HashMap();
326 classLoaderChanged();
327 }
328
329 /**
330 Overlay the entire path with a new class loader.

Callers 2

addClassPathMethod · 0.95
reloadAllClassesMethod · 0.95

Calls 3

initBaseLoaderMethod · 0.95
classLoaderChangedMethod · 0.95
setPathMethod · 0.80

Tested by

no test coverage detected