7183251: Netbeans editor renders text wrong on JDK 7u6 build 17
Reviewed-by: igor, jgodinez
This commit is contained in:
parent
7222ea9529
commit
062fbe8cad
@ -137,8 +137,9 @@ public final class SunLayoutEngine implements LayoutEngine, LayoutEngineFactory
|
|||||||
|
|
||||||
LayoutEngine e = (LayoutEngine)cache.get(key);
|
LayoutEngine e = (LayoutEngine)cache.get(key);
|
||||||
if (e == null) {
|
if (e == null) {
|
||||||
e = new SunLayoutEngine(key.copy());
|
LayoutEngineKey copy = key.copy();
|
||||||
cache.put(key, e);
|
e = new SunLayoutEngine(copy);
|
||||||
|
cache.put(copy, e);
|
||||||
}
|
}
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user