hg: lambda/lambda/langtools: 8009391: Synthetic name of serializable lambda methods should not contain negative numbers
Paul Benedict
pbenedict at apache.org
Tue Mar 5 08:22:28 PST 2013
Since names are case-sensitive, I imagine the hexadecimal output must be
strictly uppercase or lowercase. For example, 0xCAFE and 0xcafe would be
different names, right? I am curious if the rules should specify the
case-sensitivity of the output.
Paul
On Tue, Mar 5, 2013 at 10:15 AM, Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> wrote:
> 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