|
|
Re: issue with inherited static members in java interfaces (possible bug?): msg#00040
lang.scala
|
Subject: |
Re: issue with inherited static members in java interfaces (possible bug?) |
On 10 Feb 2006, at 19:02, Jason Kinzer wrote: On 2/10/06, Adriaan Moors <adriaan.moors@xxxxxxxxxxxxxx> wrote:
As far as I know, this is consistent with how it works in Java: static members aren't inherited. So I guess that it's intended to work this way.
Hmmmm... empirically this does not appear to be the case: I stand corrected, but I wasn't completely wrong (I think) ;-)
According to http://www.artima.com/designtechniques/static.html, static members aren't dynamically bound (they are implicitly final), so, although they are inherited, they can't be overridden -- only hidden... this makes them quite useless (for anything else than simple utility methods)
sorry about the mistake, adriaan |
|
|