[Top][All Lists]

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

[Octave-bug-tracker] [bug #53728] test failure in ov-java.cc

From: A.R. Burgers
Subject: [Octave-bug-tracker] [bug #53728] test failure in ov-java.cc
Date: Tue, 24 Apr 2018 03:24:05 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299

Follow-up Comment #2, bug #53728 (project octave):

Indeed the last line was missing:

***** testif HAVE_JAVA; usejava ("jvm")
 n = javaObject ("java.lang.Short", 1.35);
 assert (n.compareTo (0), 1);
 assert (n.compareTo (1), 0);
 assert (n.compareTo (2), -1);
!!!!! test failed
[java] java.lang.ClassCastException: java.lang.Double cannot be cast to


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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