[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] FYI: Fix serialization of Class objects
From: |
Archie Cobbs |
Subject: |
Re: [cp-patches] FYI: Fix serialization of Class objects |
Date: |
Wed, 19 Jan 2005 13:10:51 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 |
Robert Schuster wrote:
>>Robert> If it where possible to name a class 'int' how could I create an
>>Robert> instance of it?
>>
>>You can't do this in java, but you can do it by making the bytecode
>>another way, for instance jasmin. You can instantiate a class like
>>this using reflection.
>>
> Would a bytecode verifier allow this? If not Mark's implementation would
> be correct, isnt it?
There's nothing (AFAIK) in the bytecode verifier that disallows
"int", etc. as a class name.
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies of
the original message.
*