harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cornwall (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5571) [classlib][pack200] Deprecated method attribute not being preserved
Date Tue, 04 Mar 2008 18:43:41 GMT
[classlib][pack200] Deprecated method attribute not being preserved
-------------------------------------------------------------------

                 Key: HARMONY-5571
                 URL: https://issues.apache.org/jira/browse/HARMONY-5571
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: All Pack200
            Reporter: Andrew Cornwall


Methods which have been marked deprecated do not have this attribute preserved when they are
unpacked.

A test method is attached. (It's simply the debug method from SegmentUtils.) When unpacked
under Sun, the debug method has attributes_count = 2, the Code attribute and the Deprecated
attribute:
        attribute Deprecated {
          attribute_name_index = #33  // "Deprecated"
          attribute_length = 0
        }

When unpacked with Harmony, attributes_count = 1 and the Deprecated attribute is missing.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message