Re: [RFC PATCH 5/9] Fix memory corruption in free_slot() from radix tree

2009-07-09 Thread Pekka Enberg
On Thu, 2009-07-09 at 07:17 +0300, Eduard - Gabriel Munteanu wrote: This bug affects arches where sizeof(int) != sizeof(unsigned long). The key should be unsigned long so it doesn't get truncated. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- lib/radix-tree.c |

Re: [RFC][PATCH 5/5] vm: preliminary jar-file parsing

2009-07-09 Thread Pekka Enberg
On Thu, 2009-07-09 at 01:22 +0200, Vegard Nossum wrote: This provides a recursive-descent parser for the grammar of sections, as given at: http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html The actual manifest parsing has still to be done. Signed-off-by: Vegard Nossum

Re: [PATCH 1/5] vm: constify field flag helper arguments

2009-07-09 Thread Pekka Enberg
1-4 applied, thnx! -- 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

[PATCH 5/5] regression: silence warnings in ObjectCreationAndManipulationExceptionsTest

2009-07-09 Thread Vegard Nossum
Signed-off-by: Vegard Nossum vegard.nos...@gmail.com --- ...bjectCreationAndManipulationExceptionsTest.java | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/regression/jvm/ObjectCreationAndManipulationExceptionsTest.java

[PATCH 2/5] regression: silence warnings in ArrayExceptionsTest

2009-07-09 Thread Vegard Nossum
Signed-off-by: Vegard Nossum vegard.nos...@gmail.com --- regression/jvm/ArrayExceptionsTest.java | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/regression/jvm/ArrayExceptionsTest.java b/regression/jvm/ArrayExceptionsTest.java index 022a8a0..3123b21 100644 ---