only use classworlds at runtime

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-07 23:46:28 +00:00
parent 73f4808ea7
commit cf09cbd373
1 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,11 @@
package org.apache.maven.it0010; package org.apache.maven.it0010;
import org.codehaus.classworlds.ClassRealm;
public class PersonFinder public class PersonFinder
{ {
private ClassRealm classRealm; public void findPerson()
throws Exception
{
// look it up at runtime, but do not require it at compile time
Class.forName( "org.codehaus.classworlds.ClassRealm" );
}
} }