harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vera Volynets (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2872) [drlvm][classloader] Improved class file format parser
Date Mon, 25 Dec 2006 17:01:21 GMT
[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

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


View raw message