octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39073] java_get wrong return type


From: Ernst Reissner
Subject: [Octave-bug-tracker] [bug #39073] java_get wrong return type
Date: Sun, 26 May 2013 21:57:21 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Follow-up Comment #2, bug #39073 (project octave):


Yes ist is obviously a problem with auto(un)boxing. 
How it should work to be ML-compatible is described in 

++
http://www.mathworks.de/de/help/matlab/matlab_external/handling-data-returned-from-a-java-method.html#bqgs4dc
--

I have the impression, that the problem returning a double although i have an
object other than of class java.lang.Object 
occurs in case the according class has a method doubleValue(), like
java.lang.Number. 
In fact the problem not being able to display the proper class 
seems to have to do that i extend java.lang.Number. 
Or maybe that i implement ernst.reissner.Number, i.e. my own number, which has
the same short name as the one from java.lang. 

I think something is implemented relying on a half truth. 
But maybe not so difficult to fix. 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39073>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]