[Kaffe] ease of use patch.

Alexandre Oliva oliva at dcc.unicamp.br
Wed Feb 24 08:40:42 PST 1999


On Feb 24, 1999, Alex Blewitt <Alex.Blewitt at ioshq.com> wrote:

> JVMs do) there is no problem with having bogus names.

There is.  <init> and <clinit>, for example, are not a valid method
names, as they are used for constructors and class initializers, so
you can't have methods with these names.

Also, names containing `$' are reserved for accessor methods for inner
classes, but you can use them in bytecode.

The JVM does impose restrictions on naming, and that's exactly what
this thread is about.

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



More information about the kaffe mailing list