You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sian January (JIRA)" <ji...@apache.org> on 2008/03/05 14:57:40 UTC
[jira] Assigned: (HARMONY-5571) [classlib][pack200] Deprecated
method attribute not being preserved
[ https://issues.apache.org/jira/browse/HARMONY-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sian January reassigned HARMONY-5571:
-------------------------------------
Assignee: Sian January
> [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
> Assignee: Sian January
> Attachments: SimpleHelloWorld.jar, SimpleHelloWorld.pack
>
>
> 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.