[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48679] java interface: conversion of number i
From: |
Ernst Reissner |
Subject: |
[Octave-bug-tracker] [bug #48679] java interface: conversion of number into byte |
Date: |
Tue, 2 Aug 2016 12:52:32 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
URL:
<http://savannah.gnu.org/bugs/?48679>
Summary: java interface: conversion of number into byte
Project: GNU Octave
Submitted by: ernstreissner
Submitted on: Tue 02 Aug 2016 12:52:29 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.3
Operating System: Any
_______________________________________________________
Details:
with the attached testclass on the classpath (javaaddpath),
it is no problem to set iVal but setting bVal results in an error:
octave:2> javaObject('eu.simuline.octave.OctaveInterfaceTester')
octave:3> java_set(tester,'iVal',-127)
octave:4> java_set(tester,'bVal',-127)
error: [java] java.lang.IllegalArgumentException: Can not set byte field
eu.simuline.octave.OctaveInterfaceTester.bVal to null value
error: called from
java_set at line 48 column 16
Comment: at the moment, the java interface is nearly UNUSABLE
in particular because of bug 48013.
But there are many further bugs I submitted.
I would be willing to provide bugfixes for all of them,
but still no enough input to do so.
The bugs refer all to a small number of files
and so I must do one after the other.
Please help me working on java integration.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 02 Aug 2016 12:52:29 PM GMT Name: OctaveInterfaceTester.java Size:
2kB By: ernstreissner
<http://savannah.gnu.org/bugs/download.php?file_id=38077>
-------------------------------------------------------
Date: Tue 02 Aug 2016 12:52:29 PM GMT Name: OctaveInterfaceTester.class
Size: 2kB By: ernstreissner
<http://savannah.gnu.org/bugs/download.php?file_id=38078>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48679>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48679] java interface: conversion of number into byte,
Ernst Reissner <=