public synchronized Class < ? > compileSource ( String name , String code ) throws Exception { Class < ? > c = cache . get ( name ) ; if ( c == null ) { c = compileSource0 ( name , code ) ; cache . put ( name , c ) ; } return c ; }
Compiles a single source file and loads the class with a default class loader . The default class loader is the one used to load the test case class .