[637] in java-interest

home help back first fref pref prev next nref lref last post

Re: Categories in Java?

daemon@ATHENA.MIT.EDU (Michael Lorton)
Mon Jul 10 16:40:20 1995

Date: Mon, 10 Jul 1995 13:24:13 -0700
From: Michael Lorton <mlorton@eshop.com>
To: mikef@xnet.com
Cc: phil@bolthole.com, java-interest@java.sun.com
In-Reply-To: Mike Fleming's message of Mon, 10 Jul 1995 14:58:37 -0500 (CDT) <199507101958.OAA27072@cyclone.xnet.com>


> A category may, like a class, acknowledges that it conforms to an interface.
> A category is not supposed to override methods that already are implemented
> by a class.  A category may not declare new instance variables, but it may
> use existing ones.

It seems like a terrible security hole to me; you could subclass a system
type and do whatever the hell you wanted.

> Does anyone who has never seen categories beforte understand what I'm
> talking about?

Except as noted above, it makes sense to me.

M.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post