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

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

[Octave-bug-tracker] [bug #44882] java arrays are not automatically conv


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #44882] java arrays are not automatically converted to octave types
Date: Mon, 20 Apr 2015 14:06:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0

Follow-up Comment #1, bug #44882 (project octave):

The attached cset seems to fix the issue for me. I'm not super familiar with
JNI or the java codebase so it would be appreciated if anyone could take a
look at it.

This seems to fix it to automatically convert output of java methods into
octave types. I still need to figure out how to do it the other way around.

Also, Matlab documentation is not clear on what happens with Java
multi-dimensional arrays (ragged arrays so they can't easily be converted).
I'm guessing that this conversion will only happen with 1D arrays then which
is what the patch does.

(file #33726)
    _______________________________________________________

Additional Item Attachment:

File name: convert-java-primitive-arrays.cset Size:2 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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