Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 9427 invoked from network); 29 Sep 2006 08:45:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2006 08:45:45 -0000 Received: (qmail 21385 invoked by uid 500); 29 Sep 2006 08:45:44 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 21281 invoked by uid 500); 29 Sep 2006 08:45:44 -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 21269 invoked by uid 99); 29 Sep 2006 08:45:44 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Sep 2006 01:45:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:58408] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 0A/44-10102-83DDC154 for ; Fri, 29 Sep 2006 01:45:44 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DEE5471420A for ; Fri, 29 Sep 2006 08:41:51 +0000 (GMT) Message-ID: <10153519.1159519311910.JavaMail.jira@brutus> Date: Fri, 29 Sep 2006 01:41:51 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Closed: (HARMONY-1361) [luni] more failproof SUID calculation In-Reply-To: <33411892.1157025262951.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-1361?page=all ] Geir Magnusson Jr closed HARMONY-1361. -------------------------------------- Resolution: Fixed fixed with HARMONY-1123 in r451082 > [luni] more failproof SUID calculation > -------------------------------------- > > Key: HARMONY-1361 > URL: http://issues.apache.org/jira/browse/HARMONY-1361 > Project: Harmony > Issue Type: Improvement > Components: Classlib > Reporter: Alexey Varlamov > Assigned To: Geir Magnusson Jr > Priority: Minor > Attachments: suid-fix.patch > > > The SUID calculation depends on poorly documented getSignature() method of kernel reflection classes, and may be vulnerable to subtle changes in value those methods return like using '.' vs '/' separators. Moreover, there are different separators expected for signatures of fields and ones of methods. > I was just playing with DRLVM kernel classes optimizations and unexpectedly hit the issue of incompartible SUIDs. > So I suggest to add failproof formatting of method's signatures (it is already there for fields). -- 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