changeset 20081:d7b1999f0554

Second fix for exist() should return 1 for java objects (bug #44764). * ov-java.h: Overload is_constant() function to return true for java octave-values.
author Rik <rik@octave.org>
date Wed, 08 Apr 2015 08:19:28 -0700
parents ae12edf69bce
children 0f1a722133f4
files libinterp/octave-value/ov-java.h
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-java.h	Wed Apr 08 09:37:59 2015 -0400
+++ b/libinterp/octave-value/ov-java.h	Wed Apr 08 08:19:28 2015 -0700
@@ -143,9 +143,7 @@
 
   bool is_defined (void) const { return true; }
 
-  // FIXME: Is a variable containing a java object an object?
-  //        Or should this be is_constant like a matrix?
-  bool is_object (void) const { return true; }
+  bool is_constant (void) const { return true; }
 
   bool is_map (void) const { return false; }