mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-03 23:53:15 -04:00
#402 Now forces ProfileDeferralMgr.activateProfiles() if TM plugins are used.
This commit is contained in:
@@ -98,6 +98,11 @@ public final class ColorSpaces {
|
|||||||
// Cache for the latest used color spaces
|
// Cache for the latest used color spaces
|
||||||
private static final Map<Key, ICC_ColorSpace> cache = new LRUHashMap<>(10);
|
private static final Map<Key, ICC_ColorSpace> cache = new LRUHashMap<>(10);
|
||||||
|
|
||||||
|
static {
|
||||||
|
// Force invocation of ProfileDeferralMgr.activateProfiles() to avoid JDK-6986863
|
||||||
|
ICC_Profile.getInstance(ColorSpace.CS_sRGB).getData();
|
||||||
|
}
|
||||||
|
|
||||||
private ColorSpaces() {}
|
private ColorSpaces() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user