hg: lambda/lambda/langtools: 8009391: Synthetic name of serializable lambda methods should not contain negative numbers

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Mar 5 08:15:20 PST 2013


On 05/03/13 15:52, Gernot Neppert wrote:
> Hi Maurizio,
>
> maybe it's nitpicking, but seeing
>
>     String.format("%x", methTypeHash)
>
> instead of the simple
>
>     Integer.toHexString(methTypeHash)
>
> made me cringe inwardly. The latter is just so much more efficient!
Sorry - compiler-writer bias - the former doesn't look harder to 
'compile' than the latter ;-)

I will fix it.

Maurizio

>
>
>
> 2013/3/4 <maurizio.cimadamore at oracle.com 
> <mailto:maurizio.cimadamore at oracle.com>>
> >
> > Changeset: 7043ecf1110b
> > Author:    mcimadamore
> > Date:      2013-03-04 15:48 +0000
> > URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/7043ecf1110b
> >
> > 8009391: Synthetic name of serializable lambda methods should not 
> contain negative numbers
> >
> > ! src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
> >
> >



More information about the lambda-dev mailing list