From 472e302a89dd63fd75bfa44d158782dab26f3570 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 6 May 2014 10:55:22 -0400 Subject: [PATCH] ffi/java: fix support of Boolean types in JNI signature format MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- src/common_ffi/java.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common_ffi/java.nit b/src/common_ffi/java.nit index 45b5570..231527c 100644 --- a/src/common_ffi/java.nit +++ b/src/common_ffi/java.nit @@ -493,7 +493,7 @@ redef class MClassType do var ftype = mclass.ftype if ftype isa ForeignJavaType then return "Object" - if mclass.name == "Bool" then return "Bool" + if mclass.name == "Bool" then return "Boolean" if mclass.name == "Char" then return "Char" if mclass.name == "Int" then return "Int" if mclass.name == "Float" then return "Double" -- 1.7.9.5