mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 12:05:29 -04:00
Force the use of the package's class loader since JMagick class may not be available with current Thread's class loader (eg. application servers such as JBoss AS 7...)
This commit is contained in:
parent
1af9a0c48c
commit
371aa4298b
@ -46,7 +46,7 @@ import java.util.Locale;
|
|||||||
*/
|
*/
|
||||||
abstract class JMagickImageReaderSpiSupport extends ImageReaderSpi {
|
abstract class JMagickImageReaderSpiSupport extends ImageReaderSpi {
|
||||||
|
|
||||||
final static boolean AVAILABLE = SystemUtil.isClassAvailable("com.twelvemonkeys.imageio.plugins.jmagick.JMagick");
|
final static boolean AVAILABLE = SystemUtil.isClassAvailable("com.twelvemonkeys.imageio.plugins.jmagick.JMagick", JMagickImageReaderSpiSupport.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a JMagickImageReaderSpiSupport
|
* Creates a JMagickImageReaderSpiSupport
|
||||||
|
Loading…
x
Reference in New Issue
Block a user