[Sablevm-developer] Bug#231366: marked as done (Serialization in SableVM)
Brought to you by:
egagnon
From: <ow...@bu...> - 2004-06-03 09:25:03
|
Your message dated Thu, 03 Jun 2004 05:02:04 -0400 with message-id <E1B...@ne...> and subject line Bug#231366: fixed in sablevm 1.1.5-1 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 6 Feb 2004 03:14:42 +0000 >From ga...@de... Thu Feb 05 19:14:42 2004 Return-path: <ga...@de...> Received: from anis.telecom.uqam.ca [132.208.250.6] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1AowS2-0005wR-00; Thu, 05 Feb 2004 19:14:42 -0800 Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236]) by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i163AD3o015369; Thu, 5 Feb 2004 22:10:32 -0500 (EST) Received: from antivirus.uqam.ca ([132.208.250.6]) by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id M2004020522112515524 ; Thu, 05 Feb 2004 22:11:25 -0500 Received: from 162.29.internet.uqam.ca (162.29.internet.uqam.ca [132.208.29.162]) by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id i16375Dj012360; Thu, 5 Feb 2004 22:07:06 -0500 (EST) X-Spam-Filter: Filtre-Uqam re: ab...@uq... Subject: Serialization in SableVM From: "Grzegorz B. Prokopski" <ga...@de...> To: James Damour <jd...@ny...> Cc: su...@bu... In-Reply-To: <1076009597.22089.97.camel@hutch> References: <107...@ga...> <1075781210.1490.45.camel@hutch> <107...@ga...> <1076009597.22089.97.camel@hutch> Content-Type: text/plain; charset=ISO-8859-2 Organization: Debian GNU/Linux http://www.debian.org Message-Id: <107...@ga...> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 05 Feb 2004 22:07:01 -0500 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by anis.telecom.uqam.ca id i163AD3o015369 Delivered-To: su...@bu... X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_02_01 X-Spam-Level: Package: sablevm: Version: 1.0.9+svn20040120-2 Tags: pending, upstream Submitter: James Damour <jd...@ny...> W li=B6cie z czw, 05-02-2004, godz. 14:33, James Damour pisze:=20 > The serialization is a bit harder. The last few lines of the verbose > output (I *think* that these are the important ones) are: > [verbose class: loading "java/io/ObjectOutputStream"] > [verbose class: loading "java/io/ObjectOutput"] > [verbose class: loading "java/io/ObjectStreamConstants"] > [verbose class: loading "java/io/CharArrayWriter"] > [verbose class: loading "java/io/StringWriter"] > [verbose class: loading "java/io/ByteArrayInputStream"] > [verbose class: loading "java/io/StreamTokenizer"] > [verbose class: loading "java/io/PushbackReader"] > [verbose class: loading "java/io/FilterReader"] > [verbose class: loading "java/lang/Double"] > [verbose class: loading "megamek/common/Terrain"] > [verbose class: loading "megamek/common/Coords"] > [verbose class: loading "megamek/common/Building"] > [verbose class: loading "java/util/Vector$1"] > [verbose class: loading "megamek/common/BoardEvent"] > [verbose class: loading "java/util/EventObject"] > [verbose class: loading "megamek/common/InfernoTracker"] > [verbose class: loading "megamek/common/RoundUpdated"] > [verbose class: loading "megamek/common/InfernoTracker$Inferno"] > [verbose class: loading "gnu/java/io/ObjectIdentityWrapper"] > [verbose class: loading "java/io/ObjectStreamClass"] > [verbose class: creating "[Ljava/lang/reflect/Method;"] > [verbose class: loading "java/io/ObjectStreamField"] > [verbose class: creating "[Ljava/io/ObjectStreamField;"] > [verbose class: loading "gnu/java/io/NullOutputStream"] > [verbose class: loading "java/io/InterfaceComparator"] > [verbose class: loading "java/io/MemberComparator"] > [verbose class: creating "[Ljava/io/ObjectOutputStream;"] > [verbose class: loading "java/lang/reflect/Proxy"] > [verbose class: creating "[Ljava/lang/reflect/Proxy;"] > [verbose class: loading "java/io/Externalizable"] > [verbose class: creating "[Ljava/io/Externalizable;"] > [verbose class: creating "[Ljava/io/Serializable;"] > [verbose class: creating "[Ljava/lang/reflect/Field;"] > [verbose class: loading "gnu/java/lang/reflect/TypeSignature"] > [verbose class: loading "megamek/common/He"] > [verbose class: loading "java/io/ObjectStreamException"] > [verbose class: loading "java/io/IOException"] > [verbose class: creating "[Ljava/lang/StackTraceElement;"] > [verbose class: loading "java/lang/Throwable$StaticData"] > java.lang.ClassNotFoundException: megamek.common.He > at gnu.java.lang.SystemClassLoader.findClass > (SystemClassLoader.java:79) > at java.lang.ClassLoader.loadClass (ClassLoader.java:327) > at java.lang.ClassLoader.createArray (ClassLoader.java:369) > at java.lang.VirtualMachine.createArray (VirtualMachine.java:102) > at java.lang.reflect.Field.nativeGetType (Field.java) > at java.lang.reflect.Field.getType (Field.java:175) > at java.io.ObjectStreamClass.setFields (ObjectStreamClass.java:557) > at java.io.ObjectStreamClass.ObjectStreamClass > (ObjectStreamClass.java:465) > at java.io.ObjectStreamClass.lookupForClassObject > (ObjectStreamClass.java:99) at java.io.ObjectOutputStream.writeObject > (ObjectOutputStream.java:282) > at megamek.test.xml.TestBoardEncoder.main (TestBoardEncoder.java:80) > at java.lang.VirtualMachine.invokeMain (VirtualMachine.java) > at java.lang.VirtualMachine.main (VirtualMachine.java:88) > [verbose gc: total gc time =3D 0 sec 0 usec] >=20 > As you can see, the error comes when I attempt to write an object to th= e > ObjectOutputStream. Several of the members of the object being > serialized are found without trouble (the Terrain, Coords, Building, an= d > other members of megamek.common package), but it dies trying to find th= e > class for "megamek.common.He"; please note, there *IS* no > "megamek.common.He". There is a megamek.common.Hex, and the object > being serialized contains an array of Hex, so I *think* that is what > it's going for. Is there some way that I can tell for certain? Should > I attempt to fire up gdb and step through the sablevm code? Will that > even work? I figure that **this** is the bug that would be most > interesting to you as a JVM developer. >=20 > If you don't feel like debugging by remote, I'll be making a new > snapshot release of my project this weekend, so you could consider > downloading the project from http://sourceforge.net/projects/megamek an= d > running the tests for yourself. Unlike the recommendations of the > debian-java list, I include *both* source *and* compiled binaries > (including third party libraries and a Class-Path entry in the > MANIFEST), so you can use the code that I compiled. I believe that serialization is at the moment broken w/ current SableVM as the object serial no.s have been commented out. It was because of Sun's javac handling of constans. But decision was made to move these IDs back anyway. I would like to see it done soon. I'll do this change in SableVM debian packages. Not sure if there are any other problems w/ serialization which you might expect. If it doesn't help - we should ask on GNU Classpath ML. Or, in fact, you can ask for status of serialization support right now. HTH Grzegorz B. Prokopski --=20 Grzegorz B. Prokopski <ga...@de...> Debian GNU/Linux http://www.debian.org SableVM - LGPLed JVM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/WhySableVM --------------------------------------- Received: (at 231366-close) by bugs.debian.org; 3 Jun 2004 09:08:02 +0000 >From ka...@ft... Thu Jun 03 02:08:02 2004 Return-path: <ka...@ft...> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BVoCg-0006xh-00; Thu, 03 Jun 2004 02:08:02 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1BVo6u-0000uk-00; Thu, 03 Jun 2004 05:02:04 -0400 From: Grzegorz Prokopski (Debian Developer) <ga...@de...> To: 231...@bu... X-Katie: $Revision: 1.49 $ Subject: Bug#231366: fixed in sablevm 1.1.5-1 Message-Id: <E1B...@ne...> Sender: Archive Administrator <ka...@ft...> Date: Thu, 03 Jun 2004 05:02:04 -0400 Delivered-To: 231...@bu... X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: X-CrossAssassin-Score: 2 Source: sablevm Source-Version: 1.1.5-1 We believe that the bug you reported is fixed in the latest version of sablevm, which is due to be installed in the Debian FTP archive: jikes-sablevm_1.1.5-1_all.deb to pool/main/s/sablevm/jikes-sablevm_1.1.5-1_all.deb libsablevm1-dev_1.1.5-1_all.deb to pool/main/s/sablevm/libsablevm1-dev_1.1.5-1_all.deb libsablevm1_1.1.5-1_sparc.deb to pool/main/s/sablevm/libsablevm1_1.1.5-1_sparc.deb sablevm_1.1.5-1.diff.gz to pool/main/s/sablevm/sablevm_1.1.5-1.diff.gz sablevm_1.1.5-1.dsc to pool/main/s/sablevm/sablevm_1.1.5-1.dsc sablevm_1.1.5-1_sparc.deb to pool/main/s/sablevm/sablevm_1.1.5-1_sparc.deb sablevm_1.1.5.orig.tar.gz to pool/main/s/sablevm/sablevm_1.1.5.orig.tar.gz A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 23...@bu..., and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Grzegorz Prokopski (Debian Developer) <ga...@de...> (supplier of updated sablevm package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftp...@de...) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Wed, 2 Jun 2004 21:09:13 -0400 Source: sablevm Binary: libsablevm1 sablevm jikes-sablevm libsablevm1-dev Architecture: source all sparc Version: 1.1.5-1 Distribution: unstable Urgency: high Maintainer: Grzegorz Prokopski (Debian Developer) <ga...@de...> Changed-By: Grzegorz Prokopski (Debian Developer) <ga...@de...> Description: jikes-sablevm - Wrapper for jikes using classes from SableVM JVM libsablevm1 - Free implementation of JVM second edition - library libsablevm1-dev - Free implementation of JVM secon edition - development files sablevm - Free implementation of Java Virtual Machine (JVM) second edition Closes: 181365 231366 239452 245834 Changes: sablevm (1.1.5-1) unstable; urgency=high . * New upstream release. * Urgency high, because our testing package is outdated and getting this SableVM 1.1.5 package into Sarge should allow avdyk to fix a few java packages stuck in unstable. Mainly Ant 1.6 support is important. * Ant 1.6 has been reported to work w/ this release. Closes: #239452 * Added AMD64 support. Closes: #245834 * These problems w/ class loading should be solved by fixes in 1.1.4. Closes: #231366 * Somebody finally fixed libtool (after 1 year!) so we can do: Closes: #181365 * Added Depends: libgnujaxp-java and gnujaxp.jar to the default classpath of 'java-sablevm' wrapper. Files: 7cd60986f7c2a4dc1f5268a5393ee5a5 721 interpreters optional sablevm_1.1.5-1.dsc bd622682679dbb6ad7fb8e9fc339abf8 663191 interpreters optional sablevm_1.1.5.orig.tar.gz 9515681c0016a54a3ec49142773e8ecc 10667 interpreters optional sablevm_1.1.5-1.diff.gz 7382f3f53c045e3c56efb9e22afcc2b6 35294 interpreters optional sablevm_1.1.5-1_sparc.deb 70949d157783965c2e0b3a940e94a2d7 130622 libs optional libsablevm1_1.1.5-1_sparc.deb 82567c56337cca29865efbfe1beb43bd 13300 libdevel optional libsablevm1-dev_1.1.5-1_all.deb 7582ee2750fde8bb04e8f41e9edf0d04 7766 devel optional jikes-sablevm_1.1.5-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAvuUncxjwiKS4/ekRAnNjAJ9XgISIpdVIie75lXxWmRhQTZmZDACeJDAc HC5AzrGvi/oTNY73x4VlS+k= =jPz4 -----END PGP SIGNATURE----- |