You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vera Volynets (JIRA)" <ji...@apache.org> on 2006/12/25 18:36:24 UTC

[jira] Updated: (HARMONY-2872) [drlvm][classloader] Improved class file format parser

     [ http://issues.apache.org/jira/browse/HARMONY-2872?page=all ]

Vera Volynets updated HARMONY-2872:
-----------------------------------

    Attachment: Class_file_parser_improvements_20061225.patch

Patch with changes described above.

> [drlvm][classloader] Improved class file format parser
> ------------------------------------------------------
>
>                 Key: HARMONY-2872
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2872
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Vera Volynets
>         Attachments: Class_file_parser_improvements_20061225.patch
>
>
> I suggest following improvements which I made to Class file parser.
> 1) Introduced new Tag CONSTANT_UnusedEntry. This tag is needed to detect reference from lcd2_w to second entry of double or long which shouldn't be used according to specification. If verifier is turned off, the second element will be treated as regular CONSTANT_Double or CONSTANT_Long.
> 2) Improved access flags parsing, reset flags which is used for Java 5.0 if class file has version less than 49.
> 3) Improved exception messages for several class format errors.
> 4) Made preparation for field and method name check depending on class file version.
> 5) Implemented parsing of RuntimeInvisibleAnnotations and RuntimeInvisibleParameterAnnotations attributes. Introduced new command line flag "-Xinvisible" to retain these annotations.
> 6) Add future changes to TODO list.
> 7) Checked UTF_8 string correctness
> Patch is attached.

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