HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Deployment / Configuration issues › Anybody had problems with PD4ML on Lion for Mac? › Re: Re: Anybody had problems with PD4ML on Lion for Mac?
Thank you for the input!
So, most probably, it hangs in the following code:
[language=java:1376b11o]private boolean hasCanvasInterpreter() {
Class c;
try {
try {
c = Class.forName(PD4Constants.PD4ML_EXTERNAL_CANVAS_HANDLER);
} catch (ClassNotFoundException e) {
try {
c = Thread.currentThread().getContextClassLoader().loadClass(PD4Constants.PD4ML_EXTERNAL_CANVAS_HANDLER);
} catch (ClassNotFoundException e1) {
c = ResourceCache.class.getClassLoader().loadClass(PD4Constants.PD4ML_EXTERNAL_CANVAS_HANDLER);
}
}
} catch (Exception e) {
return false;
}
if ( c != null ) {
return true;
}
return false;
}[/language:1376b11o]
I see nothing dangerous in it. It looks like it hits some class loader implementation specific issues.