[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48107] Seg fault on passing int32 as argument
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #48107] Seg fault on passing int32 as argument to javaMethod method |
Date: |
Fri, 3 Jun 2016 21:45:05 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 |
Follow-up Comment #4, bug #48107 (project octave):
Thanks for the guidance. Found bug:
In ov-java.cc
should be "java/lang/Integer", not "java/lang/Int"
two lines need to change:
else IF_UNBOX_PRIMITIVE_SCALAR(int32, int32_t, int32_scalar,
"java/lang/Integer", "(I)V")
else IF_UNBOX_PRIMITIVE_SCALAR(uint32, uint32_t, uint32_scalar,
"java/lang/Integer", "(I)V")
Can somebody commit the fix?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48107>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/