You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Beliaev (JIRA)" <ji...@apache.org> on 2007/06/07 15:46:26 UTC

[jira] Updated: (HARMONY-2052) [drlvm][kernel] Improve/re-implement a parser of generic signatures

     [ https://issues.apache.org/jira/browse/HARMONY-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Beliaev updated HARMONY-2052:
--------------------------------------

    Attachment: HARMONY-2052-1.diff

I've rebased HARMONY-2052-1.diff on recent Harmoby version, passed 'kernel tests' (which includes Generic tests & reflection test) on Windows/IA32 debug build default EM mode.

Alexey, please get this patch committed to simplify moving forward with this JIRA fixing.

Thanks
Vladimir Beliaev

> [drlvm][kernel] Improve/re-implement a parser of generic signatures
> -------------------------------------------------------------------
>
>                 Key: HARMONY-2052
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2052
>             Project: Harmony
>          Issue Type: Task
>          Components: Classlib, DRLVM
>            Reporter: Alexey Varlamov
>            Assignee: Paulex Yang
>            Priority: Minor
>         Attachments: antlr-2.7.5.jar, HARMONY-2052-1.diff, HARMONY-2052-1.diff
>
>
> Improve/re-implement a parser of generic signatures in DRLVM kernel classes [1], and move this functionality to classlib (luni ?), so other VMs could reuse it for 1.5 support. The current impl is somewhat messy and half-baked, one need to invent more shaped and modular API to the parser. One more possible issue is parser's dependency on antlr, which may be considered overkill for this duty. I think antlr has its pros, like more illustrative code with clear correlation to formal grammar [2]; unfortunately this is not the case with the impl in question. OTOH minimizing number of dependencies for VM is always good. 
> [1] working_vm\vm\vmcore\src\kernel_classes\javasrc\org\apache\harmony\lang\reflect\** 
> [2]  http://java.sun.com/docs/books/vmspec/2nd-edition/ClassFileFormat-Java5.pdf Para 4.4.4 

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