[Kaffe] ease of use patch.

Dan McGuirk mcguirk at indirect.com
Wed Feb 24 10:34:46 PST 1999

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

	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...

More information about the kaffe mailing list