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/06 16:06:58 UTC
[jira] Resolved: (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 resolved HARMONY-5571.
-----------------------------------
Resolution: Fixed
Fix Version/s: 5.0M6
Thanks for the report Andrew. Fixed in r634282 - please verify that this fully resolves the issue.
> [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
> Fix For: 5.0M6
>
> 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.