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:
Anthony Petrov 2009-10-01 15:06:16 +04:00
parent 92d4496fac
commit 68c236347f

View File

@ -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();
}