Re: avoiding ClassCastException

From: kjc (ksitron_at_elp.rr.com)
Date: 08/09/04


Date: Mon, 09 Aug 2004 04:36:20 GMT

Ever heard of security,genious.
And, if you're clueless about the reference to security in the context
of checking for the exact class, then. As I stated before, this
discussion is a waste of good oxygen.

Thomas G. Marshall wrote:
> kjc <ksitron@elp.rr.com> coughed up the following:
>
>>This is a ridiculous discussion, since, if you have to rely on
>>instanceof to make your development correct. You should not be
>>developing.
>
>
> Huh? RTTI has a place. It's easy to abuse, but many times for pragmatic
> reasons it becomes critical.
>
> And it was /YOU/ who suggested the worst idea of all: Checking the precise
> name of the class.
>
> ...[rip]...
>
>



Relevant Pages

  • [PATCH 21/24] CRED: Documentation [ver #7]
    ... Document credentials and the new credentials API. ... The objective context. ... The objective context is used as part of the security calculation that is ... the reference count on the group_info struct it points to may be changed; ...
    (Linux-Kernel)
  • Re: Need some help with serialization please
    ... > object into the new application (that contains the exact class as the ... Does this mean that you have referenced a .dll that contains the exact ... you just added the .vb file to the second project, ... own Class Library and then reference it from both projects. ...
    (microsoft.public.dotnet.general)