classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: Fix serialization of Class objects


From: Robert Schuster
Subject: Re: [cp-patches] FYI: Fix serialization of Class objects
Date: Wed, 19 Jan 2005 19:18:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.5) Gecko/20050107



Tom Tromey wrote:
"Robert" == Robert Schuster <address@hidden> writes:
            

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.

Tom
Would a bytecode verifier allow this? If not Mark's implementation would be correct, isnt it?

cu
Robert

reply via email to

[Prev in Thread] Current Thread [Next in Thread]