6862611: Reg testcase closed/java/awt/Component/NativeInLightShow/NativeInLightShow.html fails
The recursiveShowHeavyweightChildren() must be invoked unconditionally in mixOnShowing() Reviewed-by: art, dcherepanov
This commit is contained in:
parent
92d4496fac
commit
68c236347f
@ -4111,16 +4111,16 @@ public class Container extends Component {
|
||||
mixingLog.fine("this = " + this);
|
||||
}
|
||||
|
||||
if (!isMixingNeeded()) {
|
||||
return;
|
||||
}
|
||||
|
||||
boolean isLightweight = isLightweight();
|
||||
|
||||
if (isLightweight && isRecursivelyVisibleUpToHeavyweightContainer()) {
|
||||
recursiveShowHeavyweightChildren();
|
||||
}
|
||||
|
||||
if (!isMixingNeeded()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!isLightweight || (isLightweight && hasHeavyweightDescendants())) {
|
||||
recursiveApplyCurrentShape();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user