From daa2552a25161ea3c004c3861eb4616f86b60758 Mon Sep 17 00:00:00 2001 From: David Buck Date: Mon, 26 Sep 2011 15:40:05 -0700 Subject: [PATCH] 7029903: Splash screen is not shown in 64-bit Linux with 16-bit color depth 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 --- jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c b/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c index cf32e631654..08c5ec7dcf7 100644 --- a/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c +++ b/jdk/src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c @@ -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 @@ SplashRedrawWindow(Splash * splash) { XDestroyImage(ximage); SplashRemoveDecoration(splash); XMapWindow(splash->display, splash->window); + XFlush(splash->display); } void SplashReconfigureNow(Splash * splash) {