Neal Gafter schrieb:
> The set of characters acceptable to the VM in identifiers was expanded 
> in Java SE 5, and includes virtually every unicode character except a 
> few that have special meaning to the VM, such as '[', ';', '/', etc:
> 
> 4.3.2   Unqualified Names
> Names of methods, fields and local variables are stored as unqualified 
> names.
> Unqualified names must not contain the characters '.', ';', '[' or '/'. 
> Method
> names are further constrained so that, with the exception of the special 
> method
> names(§3.9) <init>and <clinit>, they must not contain the characters
> '<' or '>'.

'/', because of class names, '[', because of arrays, ';' because it is 
used to terminate a class name ([Ljava/lang/Object; = Object[])... but 
why '.'?

bye blackdrag

-- 
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/
http://www.g2one.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to