Add debug for checking class availability
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@91 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
92c7f86c7d
commit
13920b74b5
|
@ -182,9 +182,13 @@ public class Main
|
|||
}
|
||||
catch (NoClassDefFoundError e)
|
||||
{
|
||||
if (_debug)
|
||||
System.err.println(e);
|
||||
}
|
||||
catch (ClassNotFoundException e)
|
||||
{
|
||||
if (_debug)
|
||||
System.err.println(e);
|
||||
}
|
||||
ClassLoader loader=_classpath.getClassLoader();
|
||||
try
|
||||
|
@ -194,9 +198,13 @@ public class Main
|
|||
}
|
||||
catch (NoClassDefFoundError e)
|
||||
{
|
||||
if (_debug)
|
||||
System.err.println(e);
|
||||
}
|
||||
catch (ClassNotFoundException e)
|
||||
{
|
||||
if (_debug)
|
||||
System.err.println(e);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue