9.6.2 - 'this' or 'super' in a static method

Garrett Smith dhtmlkitchen at gmail.com
Fri Aug 17 14:06:29 PDT 2007


9.6.2 It is an error for the 'this' or 'super' expression to appear in
the body of a static method.

1. Is this error mentioned a compile-time error?
2. Why does 'this' in a static method generate an error? (it shouldn't
refer to the class?)
3. does 'superclass' in a static method refer to the class'
superclass? (since 'super' is forbidden).



More information about the Es4-discuss mailing list