[Kaffe] ease of use patch.

Alexandre Oliva oliva at dcc.unicamp.br
Wed Feb 24 11:22:42 PST 1999

On Feb 24, 1999, Dan McGuirk <mcguirk at indirect.com> wrote:

> On 24 Feb 1999, Alexandre Oliva wrote:
> [re: the '$' character in an identifier]
>> It is not allowed in the Java Programming Language, but it is allowed
>> in method names in the bytecode.

> It seems that it is allowed, but you're discouraged from using it because
> you're potentially going to conflict with the inner class stuff.  From JLS
> 3.8:

> 	The Java letters include uppercase and lowercase ASCII Latin letters A-Z
> 	(\u0041-\u005a), and a-z (\u0061-\u007a), and, for historical reasons, the
> 	ASCII underscore (_, or \u005f) and dollar sign ($, or \u0024). The $
> 	character should be used only in mechanically generated Java code or,
> 	rarely, to access preexisting names on legacy systems.

> If you're allowed to use it "rarely", then you're allowed to use it...

I see.  Well, looks like I was misled :-(

Thanks for correcting me

Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil

More information about the kaffe mailing list