Hi Steve, Thanks for the bug report on enums. I bet that if you serialize two instances in the same XML, then the == comparison will work correctly. ... The...
Brendan Macmillan
bren@...
Aug 2, 2001 3:54 am
452
... I already have some working test code, that makes allocateNewObject work in 1.4. Again, it is just a delay problem. Sorry. Maybe in a week or two? I...
Brendan Macmillan
bren@...
Aug 2, 2001 3:55 am
453
I've encountered what I think may be a bug, otherwise I don't have a complete understanding of what happens when you add your own writeObject method. I have...
rideatrail@...
Aug 2, 2001 1:15 pm
454
I remember seeing an example somewhere of how you can use the writeReplace and readResolve methods to completely substitute your subclassed Date with a totally...
Peter Davis
peter@...
Aug 2, 2001 4:37 pm
455
Hi, I downloaded JASO from the web and it appears to be working for the System.print.out... However when I open the XML file that I saved to it is cut off...
Joanna Pycha
jpycha@...
Aug 2, 2001 4:50 pm
456
Looks like I need to try it just to check. Also, I foobared on the description of the problem. It should have been... methods should be called when...
rideatrail@...
Aug 2, 2001 4:59 pm
457
Ok, A quick test shows that JSX does not YET honor writeReplace and readResolve, which is what I thought I saw sometime ago in another post. So, back to the...
rideatrail@...
Aug 2, 2001 5:45 pm
458
I found the problem.... thanks anyway.... ... the ... before what ... did not ... can see it......
jr1scpycha@...
Aug 2, 2001 6:27 pm
459
Hello JSXers, I am unable to deserialize an object which I serialized into XML painlessly using the cut&paste examples on the JSX homepage. I cannot, however,...
normd@...
Aug 2, 2001 8:06 pm
460
Hi Craig, ... No - each inherited class is serialized in its own right. Each class then takes care of its own fields. It seems counterintuitive, but it makes...
Brendan Macmillan
bren@...
Aug 2, 2001 11:54 pm
461
... That's a great idea - unfortunately, JSX doesn't support writeReplace or readResolve at present... however, they don't seem very difficult to add. Cheers, ...
Brendan Macmillan
bren@...
Aug 3, 2001 12:18 am
462
Hi Joanna, ... You need to flush it - a general issue with streams. Try this: JSX.ObjOut out = new JSX.ObjOut(new PrintWriter(new FileWriter(filename))); ...
Brendan Macmillan
bren@...
Aug 3, 2001 12:24 am
463
... Ah, I see your reasoning now: but the defaultReadObject etc only apply to the fields of the *present* class. It still feels a bit weird to me to think of...
Brendan Macmillan
bren@...
Aug 3, 2001 12:28 am
464
... Yes. ... I think it is. And yes, you are right, it shouldn't. However, the long you are seeing is not caused by the defaultWriteObject - it is custom...
Brendan Macmillan
bren@...
Aug 3, 2001 12:34 am
465
... Yes - you (probably) have jdk1.2. The setObjectFieldValue() is *only* needed for setting final fields, which are rarely needed in practice. Solutions: wait...
Brendan Macmillan
bren@...
Aug 3, 2001 12:37 am
466
Ok, I went ahead a wrote a wrapper around Date. I was trying to come up with a direct replacment initialliy for Date, put massaged a few things and now pull...
craig
rideatrail@...
Aug 3, 2001 9:56 am
467
Um, I think the current behavior (calling defaultWriteObject() on each of the parent classes) /is/ correct (I was just reading through the serialization...
Peter Davis
peter@...
Aug 3, 2001 10:25 am
468
... A nice discovery! ;-) Just a brief update on JSX progress: (0). JSX should now gracefully degrade when reuqired native methods are not found. (1). We now...
Brendan Macmillan
bren@...
Aug 3, 2001 10:30 am
469
So about your Date subclass (sorry for the extra traffic), you should be able to make it Externalizable, write out your string field explicitely, and have it...
Peter Davis
peter@...
Aug 3, 2001 10:33 am
470
Thanks for checking up on this. ... I think you are exactly right (my post on this seems to have gotten lost somehow). ... Not yet. It should be simpler than...
Brendan Macmillan
bren@...
Aug 3, 2001 10:34 am
471
Brendan, ... That's very encouraging indeed! Having a community of developers providing input is very powerful. ... When you get resolveClass() implemented,...
Philip Gust
gust@...
Aug 3, 2001 2:11 pm
472
I got all of that working.. however I am not getting another error when I deserialize it... the error is... JSX InvocationTargetException: ...
jr1scpycha@...
Aug 3, 2001 2:34 pm
473
Hi Joanna, ... I'm really sorry, but there is an outstanding bug with BigDecimal - it's nothing that you are doing wrong! ;-) Unfortunately, I can't recall...
Brendan Macmillan
bren@...
Aug 4, 2001 2:08 am
474
Hi all, I've browsed the recent "Effective Java", by Joshua Bloch (Sun), and it looks very good. There's an emphasis on long-term solutions, that can be...
Brendan Macmillan
bren@...
Aug 4, 2001 3:17 am
475
Hi, A couple of subscribers are using JSX as an automatic file format for financial software. Of course, Java apps run on Linux, so today's freshmeat article ...
Brendan Macmillan
bren@...
Aug 4, 2001 4:32 am
476
Hey Philip, ... Yes - the magic of open source. ... I'm about to release the new version, which has registerValidation working, and all the other stuff to...
Brendan Macmillan
bren@...
Aug 4, 2001 7:06 am
477
Hi Yulin, I hope you don't mind - I've CC'ed this to the list, because I think it is of general interest, and there is often valuable feedback from the list. ...
Brendan Macmillan
bren@...
Aug 4, 2001 7:53 am
478
This email is to inform you of release '0.8.15' of 'Java Serialization to XML' through freshmeat.net. All URLs and other useful information can be found at...
noreply@...
Aug 4, 2001 9:31 am
479
... reincorporate ... I picked up your new version today. I think I'll do the 5 minutes work to reapply the temporary hack I did for class loader and keep on...
Philip Gust
gust@...
Aug 4, 2001 11:01 pm
480
Hi Philip ... Yes, the interconnectedness of all things. If only we knew God's modulization! ... I'm not sure what you mean by my time frame? ... Yes,...