|
From: | L. Stevens |
Subject: | [Octave-bug-tracker] [bug #48378] native doInvoke() fails from Java method called from Octave |
Date: | Sat, 2 Jul 2016 18:03:32 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/537.86.5 |
URL: <http://savannah.gnu.org/bugs/?48378> Summary: native doInvoke() fails from Java method called from Octave Project: GNU Octave Submitted by: carcachute Submitted on: Sat 02 Jul 2016 06:03:30 PM GMT Category: Libraries Severity: 3 - Normal Priority: 5 - Normal Item Group: Regression Status: None Assigned to: None Originator Name: Justin D. Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.0.2 Operating System: Any _______________________________________________________ Details: I have a Java class that accepts Octave function handles (OctaveReferences) for performing callbacks. The class loads without issue but is unable to call doInvoke() to execute the callback functions. The following error appears verbatim on the Octave console. error: [java] java.lang.UnsatisfiedLinkError: org.octave.Octave.doInvoke(I[Ljava/lang/Object;)V This was issue was originally noted on the help-octave list in June 2014, with Octave 3.8: https://lists.gnu.org/archive/html/help-octave/2014-06/msg00061.html The post suggests that Octave 3.6 does not have this issue. The attached Java class reproduces the problem. Call it with: x = javaObject('foo') x.callBack(@(x) (disp(x)) ) I have reproduced the problem using the pre-built Win32 package as well as the OS X package built using Homebrew. I did search several different ways to see if this was submitted previously and did not find any matches. I apologize if this is a duplicate. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sat 02 Jul 2016 06:03:30 PM GMT Name: Foo.java Size: 149B By: carcachute Simple Java source code that replicates the problem <http://savannah.gnu.org/bugs/download.php?file_id=37671> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48378> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |