Talk:Metaclass

From Wikipedia, the free encyclopedia

Is java.lang.Class a metaclass?

Not really; that's more related to introspection. It doesn't define how classes and their instances behave. All classes and instances behave the same in Java: they do what the JVM says. Java doesn't really have metaclassing. Jorend 16:12, 16 February 2006 (UTC)


[edit] See Also

The See Also list is larger than the article. Can't it be trimmed? -- Mikeblas 03:37, 27 January 2006 (UTC)

Done. Next time, Wikipedia:Be bold! Jorend 17:53, 16 February 2006 (UTC)

[edit] Squeak freezes on double Metaclass instantiation

Just try to do this:

Transcript show: (Metaclass new new).

Squeak goes irresponsive and takes 100% CPU usage. Could someone please explain why this happens?

'cause the Metaclass has no class. Try comp.lang.smalltalk to get a fuller answer. The
actual interaction between the VM and OS causing the error is beyond the scope of this ::article.Mal4mac 18:39, 13 December 2006 (UTC)