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

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

[Octave-bug-tracker] [bug #55429] javachk should be able to report wheth


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55429] javachk should be able to report whether HAVE_JAVA is enabled
Date: Wed, 9 Jan 2019 15:00:20 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

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

This is a Matlab compatible function so we have to stay within the interface
dictated by Matlab. If this works with what is needed, good, otherwise maybe a
new function is still needed to differentiate "Octave has support for possibly
loading Java" from "Octave has loaded Java".

I still suspect we can integrate this into 'javachk', so that javachk('jvm')
can return different informative error messages like "Octave was compiled
without support for Java" versus "Octave is unable to find a Java Virtual
Machine under JAVA_HOME", etc.

But the return value is definitely wrong, it should always return a struct.
The dimensions of the struct should be 0×1 on success, so that 'isempty' is
true.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55429>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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