harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1361) [luni] more failproof SUID calculation
Date Thu, 31 Aug 2006 11:58:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1361?page=all ]

Alexey Varlamov updated HARMONY-1361:
-------------------------------------

    Attachment: suid-fix.patch

> [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
>            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

        

Mime
View raw message