Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 59764 invoked from network); 29 Sep 2006 02:00:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2006 02:00:45 -0000 Received: (qmail 37444 invoked by uid 500); 29 Sep 2006 02:00:45 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 37408 invoked by uid 500); 29 Sep 2006 02:00:45 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 37397 invoked by uid 99); 29 Sep 2006 02:00:45 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2006 19:00:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:55042] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id EF/CA-00212-C4E7C154 for ; Thu, 28 Sep 2006 19:00:44 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4C255714204 for ; Fri, 29 Sep 2006 01:56:52 +0000 (GMT) Message-ID: <32820348.1159495012309.JavaMail.jira@brutus> Date: Thu, 28 Sep 2006 18:56:52 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Resolved: (HARMONY-1123) Different class serialVesrionUIDs printed by RI and harmony when class compiled with Eclipse compiler In-Reply-To: <5371167.1155129434880.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1123?page=all ] Geir Magnusson Jr resolved HARMONY-1123. ---------------------------------------- Resolution: Fixed r451082 Tested classlib on Ubuntu 6 using J9 vm. This fix didn't break anything, Fixed the problem, at least w/ simple test classes compiled by Sun's javac and then run on both the RI and DRLVM+classlib > Different class serialVesrionUIDs printed by RI and harmony when class compiled with Eclipse compiler > ----------------------------------------------------------------------------------------------------- > > Key: HARMONY-1123 > URL: http://issues.apache.org/jira/browse/HARMONY-1123 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: Windows XP Professional IA32 > Reporter: Anton Luht > Assigned To: Geir Magnusson Jr > Priority: Minor > Attachments: Test.class > > > The following code: > import java.io.ObjectStreamClass; > import java.io.Serializable; > public class Test implements Serializable { > public static void main(String[] args) { > System.err.println(ObjectStreamClass.lookup(Test.class).getSerialVersionUID()); > } > } > compled with Eclipse compiler prints in DRLVM+Harmony serial version that differs from RI: > RI 1.4: > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) 17:11 > BEA WebLogic JRockit(TM) 1.4.2_04 JVM (build ari-31788-20040616-1132-win-ia32, > Native Threads, GC strategy: parallel) > -685733381553069680 > RI 1.5: > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) > BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: > System optimized over throughput (initial strategy singleparpar)) > -685733381553069680 > DRLVM + Harmony: > java version "1.5.0" > pre-alpha : not complete or compatible > svn = r430024, (Aug 9 2006), Windows/ia32/msvc 1310, debug build > http://incubator.apache.org/harmony > 5425548825465637688 > If we compile same class with RI 1.4 or 1.5 javac , all serial version uids will be the same: > with 1.4 javac : 2581399349675783478 > with 1.5 javac : -1279921928557717157 > Please see class file attached. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira