<AWT Dev> sun.awt.X11.XEvent is creating 600 MB of char[] for no good reason

Oleg Sukhodolsky son.two at gmail.com
Fri Oct 21 20:47:11 PDT 2011


Could you please use curly braces even for one-line ifs.  It looks
like it is a part of the style.

Regards, Oleg.

On Sat, Oct 22, 2011 at 6:30 AM, Federico <federicotg at gmail.com> wrote:
> 2011/10/21 Anthony Petrov <anthony.petrov at oracle.com>:
>>
>> Could you make a patch, test it, and post it to this mailing list for review
>> please?
>>
>
> Here's a patch. I tried to follow the style used in other places where
> one line if statements are used to avoid calling the logging code.
>
> I hope the patch is acceptable.
>



More information about the awt-dev mailing list