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);
|
||||
if (e == null) {
|
||||
e = new SunLayoutEngine(key.copy());
|
||||
cache.put(key, e);
|
||||
LayoutEngineKey copy = key.copy();
|
||||
e = new SunLayoutEngine(copy);
|
||||
cache.put(copy, e);
|
||||
}
|
||||
return e;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user