Bob Jamison <[EMAIL PROTECTED]> writes:
>
> I can think of one major thing that restricts the use of Make on Java.
> The wizards at Sun, when they implemented inner classes, decided
> to use $ as the class name separator, like
> MyClass$SomeThread.class
> (why, O why, not % or @ or something else!  ;-(     )

Because those characters aren't legal in class and method names in the
VM spec.  Changing the VM spec wasn't an option; if inner classes
required a new VM, they simply wouldn't have succeeded.  '$' is legal
in class and method names, but the language spec has always stated
that it should only be used in mechanically generated source code.

So '$' was really the only character they could've used.

-- 
Glenn Vanderburg
Delphi Consultants, LLC
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to