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

Bug#121639: marked as done ([fixed in libgcj3] serialization of java.util.Date is broken)



Your message dated Fri, 07 Jun 2002 23:17:25 -0400
with message-id <E17GWjF-0007w8-00@auric.debian.org>
and subject line Bug#121639: fixed in gcc-3.0 1:3.0.4ds3-10
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; 29 Nov 2001 00:12:49 +0000
>From agthorr@barsoom.org Wed Nov 28 18:12:49 2001
Return-path: <agthorr@barsoom.org>
Received: from dyna6-237.cs.uoregon.edu (eleutheromania.barsoom.org) [128.223.6.237] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 169Eoq-0007vK-00; Wed, 28 Nov 2001 18:12:48 -0600
Received: from agthorr by eleutheromania.barsoom.org with local (Exim 3.32 #1 (Debian))
	id 169Eop-0002om-00; Wed, 28 Nov 2001 16:12:47 -0800
From: Agthorr <agthorr@barsoom.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libgcj2: serialization of java.util.Date is broken
X-Reportbug-Version: 1.36
X-Mailer: reportbug 1.36
Date: Wed, 28 Nov 2001 16:12:47 -0800
Message-Id: <E169Eop-0002om-00@eleutheromania.barsoom.org>
Delivered-To: submit@bugs.debian.org

Package: libgcj2
Version: 1:3.0.2-3
Severity: important
Tags: patch

Serialization of the java.util.Date class is broken in libgcj.
Although the "Date" class is correctly marked as "implements
java.io.Serializable", the actual data stored in the Date class is
marked transient!  This means that the field won't actually get
serialized.  Below is a patch to correct the problem.  I could write a
small demonstration program to show the difference in behavior from
javac, if desired.

-- Agthorr

--- gcc-20011024/libjava/java/util/Date.java~	Tue Jan  9 01:43:39 2001
+++ gcc-20011024/libjava/java/util/Date.java	Wed Nov 28 16:09:36 2001
@@ -24,7 +24,7 @@ public class Date implements java.io.Ser
 {
   private static final long serialVersionUID = 7523967970034938905L;
 
-  transient private long millis;
+  private long millis;
 
   public Date() { millis = System.currentTimeMillis(); }


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux eleutheromania 2.4.12 #1 Fri Oct 12 15:06:20 PDT 2001 i686
Locale: LANG=C, LC_CTYPE=

Versions of packages libgcj2 depends on:
ii  libc6                         2.2.4-5    GNU C Library: Shared libraries an
ii  libgcc1                       1:3.0.2-3  GCC support library.
ii  zlib1g                        1:1.1.3-16 compression library - runtime


---------------------------------------
Received: (at 121639-close) by bugs.debian.org; 8 Jun 2002 03:26:49 +0000
>From katie@auric.debian.org Fri Jun 07 22:26:49 2002
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17GWsL-0000ip-00; Fri, 07 Jun 2002 22:26:49 -0500
Received: from katie by auric.debian.org with local (Exim 3.12 1 (Debian))
	id 17GWjF-0007w8-00; Fri, 07 Jun 2002 23:17:25 -0400
From: Matthias Klose <doko@debian.org>
To: 121639-close@bugs.debian.org
X-Katie: $Revision: 1.21 $
Subject: Bug#121639: fixed in gcc-3.0 1:3.0.4ds3-10
Message-Id: <E17GWjF-0007w8-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Fri, 07 Jun 2002 23:17:25 -0400
Delivered-To: 121639-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
gcc-3.0, which is due to be installed in the Debian FTP archive:

cpp-3.0-doc_3.0.4-10_all.deb
  to pool/main/g/gcc-3.0/cpp-3.0-doc_3.0.4-10_all.deb
cpp-3.0_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/cpp-3.0_3.0.4-10_i386.deb
g++-3.0_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/g++-3.0_3.0.4-10_i386.deb
g77-3.0-doc_3.0.4-10_all.deb
  to pool/main/g/gcc-3.0/g77-3.0-doc_3.0.4-10_all.deb
g77-3.0_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/g77-3.0_3.0.4-10_i386.deb
gcc-3.0-base_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/gcc-3.0-base_3.0.4-10_i386.deb
gcc-3.0-doc_3.0.4-10_all.deb
  to pool/main/g/gcc-3.0/gcc-3.0-doc_3.0.4-10_all.deb
gcc-3.0_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/gcc-3.0_3.0.4-10_i386.deb
gcc-3.0_3.0.4ds3-10.diff.gz
  to pool/main/g/gcc-3.0/gcc-3.0_3.0.4ds3-10.diff.gz
gcc-3.0_3.0.4ds3-10.dsc
  to pool/main/g/gcc-3.0/gcc-3.0_3.0.4ds3-10.dsc
gcj-3.0_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/gcj-3.0_3.0.4-10_i386.deb
gij-3.0_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/gij-3.0_3.0.4-10_i386.deb
gobjc-3.0_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/gobjc-3.0_3.0.4-10_i386.deb
libgcj2-dev_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/libgcj2-dev_3.0.4-10_i386.deb
libgcj2_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/libgcj2_3.0.4-10_i386.deb
libstdc++3-dbg_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/libstdc++3-dbg_3.0.4-10_i386.deb
libstdc++3-dev_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/libstdc++3-dev_3.0.4-10_i386.deb
libstdc++3-doc_3.0.4-10_all.deb
  to pool/main/g/gcc-3.0/libstdc++3-doc_3.0.4-10_all.deb
libstdc++3_3.0.4-10_i386.deb
  to pool/main/g/gcc-3.0/libstdc++3_3.0.4-10_i386.deb



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 121639@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-3.0 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Fri,  7 Jun 2002 07:32:08 +0200
Source: gcc-3.0
Binary: gcc-3.0-sparc64 gcc-3.0-soft-float libstdc++3 gobjc-3.0 gcc-3.0-base cpp-3.0-doc cpp-3.0 g++-3.0 g77-3.0 libstdc++3-dev libgcj2 libstdc++3-doc g77-3.0-doc gcc-3.0 gcj-3.0 gcc-3.0-doc libstdc++3-dbg libgcj2-dev gcc-3.0-nof gij-3.0
Architecture: source all i386
Version: 1:3.0.4ds3-10
Distribution: unstable
Urgency: low
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 cpp-3.0    - The GNU C preprocessor.
 cpp-3.0-doc - Documentation for the GNU C preprocessor (cpp).
 g++-3.0    - The GNU C++ compiler.
 g77-3.0    - The GNU Fortran 77 compiler.
 g77-3.0-doc - Documentation for the GNU Fortran compiler (g77).
 gcc-3.0    - The GNU C compiler.
 gcc-3.0-base - The GNU Compiler Collection (base package).
 gcc-3.0-doc - Documentation for the GNU compilers (gcc, gobjc, g++).
 gcj-3.0    - The GNU compiler for Java(TM).
 gij-3.0    - The GNU Java bytecode interpreter.
 gobjc-3.0  - The GNU Objective-C compiler.
 libgcj2    - Java runtime library for use with gcj
 libgcj2-dev - Java development headers and static library for use with gcj
 libstdc++3 - The GNU stdc++ library version 3
 libstdc++3-dbg - The GNU stdc++ library version 3 (debugging files)
 libstdc++3-dev - The GNU stdc++ library version 3 (development files)
 libstdc++3-doc - The GNU stdc++ library version 3 (documentation files)
Closes: 100166 121639
Changes: 
 gcc-3.0 (1:3.0.4ds3-10) unstable; urgency=low
 .
   * Fix serialization of java/util/Date class (closes: #121639).
     Fixed in libgcj3 as well.
   * Fixed an ICE in one of the 3.0.x releases (closes: #100166).
   * Don't build packages built by gcc-3.1 sources: libgcc1, libobjc1, fastjar,
     libffi2, libffi2-dev, fixincludes, protoize (including m68k-linux).
   * Add javac wrapper for gcj-3.0.
Files: 
 4856ae782461114aebac9b1da2d78aa5 1545 devel standard gcc-3.0_3.0.4ds3-10.dsc
 b327133e84a9fe868e816b0c1e3765b7 4957352 devel standard gcc-3.0_3.0.4ds3-10.diff.gz
 46360e484576fc4197fd2ead3059f9d4 71328 doc optional cpp-3.0-doc_3.0.4-10_all.deb
 3f5b4b5cccbd7363ac03e61f91704648 5355410 doc optional libstdc++3-doc_3.0.4-10_all.deb
 f54152ee6494f0ab2e8e5780699b7d95 308288 doc optional g77-3.0-doc_3.0.4-10_all.deb
 fd5e94c3fd33f056594bd873cfd7f659 546822 doc optional gcc-3.0-doc_3.0.4-10_all.deb
 57b3410dc28ee21071d601ea320c07bf 113984 devel standard gcc-3.0-base_3.0.4-10_i386.deb
 da07d9f1310d52c69896d2c73822391d 114862 interpreters standard cpp-3.0_3.0.4-10_i386.deb
 95d73402c9611b854c8f81acf79be9e3 1188966 devel optional gobjc-3.0_3.0.4-10_i386.deb
 311e4a3e7ee986d3b32c8a07a446cc97 1365932 devel optional gcj-3.0_3.0.4-10_i386.deb
 2d51495ebaded9c18d25c0b2b2d139e3 8412 devel optional gij-3.0_3.0.4-10_i386.deb
 90b01cb4dedcb8270ff7bf522dea367c 1858740 libs optional libgcj2_3.0.4-10_i386.deb
 62acee7ae72dfe345ee177efb490f280 1959826 devel optional libgcj2-dev_3.0.4-10_i386.deb
 04a5c0ea995a1cc05e1e997f8621b7a7 1434012 devel optional g++-3.0_3.0.4-10_i386.deb
 42aae296a29246702bb04d191d1aaaf2 202024 base standard libstdc++3_3.0.4-10_i386.deb
 6239f825e7ac98e4ff66495eecbb3ef5 562348 devel optional libstdc++3-dev_3.0.4-10_i386.deb
 79915a7b1ae9cd1b394f0df78d7c5571 587042 devel extra libstdc++3-dbg_3.0.4-10_i386.deb
 289041cb1f46483cdeae70e84e6dae4a 1375992 devel optional g77-3.0_3.0.4-10_i386.deb
 826f4625de68e800adc822a38a9d481d 1444398 devel standard gcc-3.0_3.0.4-10_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: Requires PGP version 2.6 or later.

iQEVAwUBPQE4MQuDzMCIcnEhAQEu4AgAt2kyLd0WNkbLvaUgU4q0EqTmNe1Mv3CJ
9ughQLsVWReoesEUqiW9jJ4SAtBnw9z/kV3EUTWLdZtCf9hLy0UVuoIDwZlcKqcP
GqAzrAZdqVMexpE7R0Zx73CV2qqInsus+1H1NA63E7ADKAgBoRY3/asZI9XjlUbB
J1wxEDBY+zeAlnl08qBWCLBdZoB5/kZOKeP4GU/11mBQK41Q68PT+23Rpug7no/P
RPFfhIj/Ccrb/W14/wKsCIhUUt32kkzMUPzhqsM2ichqoFKw2+sttkSuZJXCPyuj
6K7E8Nx0D7B1TN4Ys6M3WFzyGO0WioWDopbp0eZy7jaHEZyMfPrKWg==
=Dk3H
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: