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

Method addClassPath

src/bsh/classpath/ClassManagerImpl.java:290–302  ·  view source on GitHub ↗
( URL path )

Source from the content-addressed store, hash-verified

288 /**
289 */
290 @Override
291 public void addClassPath( URL path )
292 throws IOException
293 {
294 if ( baseLoader == null )
295 setClassPath( new URL [] { path } );
296 else {
297 // opportunity here for listener in classpath
298 baseLoader.addURL( path );
299 baseClassPath.add( path );
300 classLoaderChanged();
301 }
302 }
303
304 /**
305 Clear all classloading behavior and class caches and reset to

Callers

nothing calls this directly

Calls 4

setClassPathMethod · 0.95
classLoaderChangedMethod · 0.95
addURLMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected