Signatures with 'J' after 'Lclass;' were incorrectly parsed

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 jit/invoke-bc.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/jit/invoke-bc.c b/jit/invoke-bc.c
index 3a4b2da..628ebf3 100644
--- a/jit/invoke-bc.c
+++ b/jit/invoke-bc.c
@@ -59,8 +59,7 @@ static unsigned int method_real_argument_count(struct 
vm_method *invoke_target)
                if (*a == 'J' || *a == 'D')
                        c--;
                if (*a == 'L') {
-                       ++a;
-                       while (*(a++) != ';')
+                       while (*(++a) != ';')
                                ;
                }
        }
-- 
1.6.0.6


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to