# HG changeset patch # User dbuck # Date 1317076805 25200 # Node ID 120c7e8ab07df3e232b689d45eea82f62bc9db5c # Parent 012dafac5b621d11df54637663fd3b7b582fa0c3 7029903: Splash screen is not shown in 64-bit Linux with 16-bit color depth Summary: Added Xflush() call after splash screen is updated to ensure update is no stuck in client side buffer until JVM starts up. See JET review request 4154 for details. Reviewed-by: kevinw, anthony diff -r 012dafac5b62 -r 120c7e8ab07d jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c --- a/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c Mon Sep 26 18:18:29 2011 +0400 +++ b/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c Mon Sep 26 15:40:05 2011 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -334,6 +334,7 @@ XDestroyImage(ximage); SplashRemoveDecoration(splash); XMapWindow(splash->display, splash->window); + XFlush(splash->display); } void SplashReconfigureNow(Splash * splash) {