<Swing Dev> [PATCH] Make RepaintManager more portable

Roman Kennke roman.kennke at aicas.com
Tue Oct 14 11:08:30 UTC 2008


Hi there,

how can we go about getting this patch into OpenJDK mainline?

/Roman

Am Dienstag, den 16.09.2008, 10:54 +0200 schrieb Roman Kennke:
> Hello,
> 
> The attached patch fixes two problems in RepaintManager. The first one
> is a direct cast from Toolkit to SunToolkit, without checking for the
> actual type, the second is using a SunToolkit static method without
> checking if we are actually using a SunToolkit. This makes it impossible
> to use a non-SunToolkit as AWT backend. The solution in the first case
> is to check for SunToolkit (of course) and in the 2nd case to also check
> for SunToolkit, and using a different method to post event to the EQ.
> This patch was developed as part of the Caciocavallo project and it
> would be good to have it merged it into mainline. What do you think?
> 
> /Roman
> 
-- 
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-48
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt




More information about the swing-dev mailing list