mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 20:15:28 -04:00
#402 Now forces ProfileDeferralMgr.activateProfiles() if TM plugins are used.
This commit is contained in:
parent
156990afe0
commit
f3749b8fc6
@ -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() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user