This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ObjectStreamClass


>>>>> ">" == Dhek Bhun Kho <bhun@chello.nl> writes:

>> I got it fixed, note that it will not run on gcj 3.2. I know the
>> fix works because I tested it using gcj-3.3.jar and the sunvm after
>> writing a serialized file with the current implementation, then
>> running a readObject with the fixed one (sunvm).

This really interoperates?  Interesting...

>> *** BigInteger.java	2002-12-17 17:20:17.000000000 +0100
>> --- BigInteger.java.old	2002-12-17 16:30:53.000000000 +0100

FYI, use `diff OLD NEW' -- this diff is in reverse order.  When you
read a lot of diffs, like I do, getting a reversed one makes it harder
to figure out what is going on, like reading upside down.

>> !     fields.put("bitCount",-1);
>> !     fields.put("bitLength",-1);
>> !     fields.put("firstNonzeroByteNum",-2);
>> !     fields.put("lowestSetBit",-2);

Does the JDK just ignore these fields?

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]