# HG changeset patch # User Rik # Date 1428506368 25200 # Node ID d7b1999f055412a996cfb979474e3f84913e70cd # Parent ae12edf69bce48e4ccacf51dc7d85b007de3d006 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. diff -r ae12edf69bce -r d7b1999f0554 libinterp/octave-value/ov-java.h --- 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; }