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

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

[Octave-bug-tracker] [bug #51804] java-9: java.base/java.lang.Double can


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #51804] java-9: java.base/java.lang.Double cannot be cast to java.base/java.lang.Integer
Date: Thu, 22 Mar 2018 19:16:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #10, bug #51804 (project octave):

I just updated my buildbot to Java 9

http://buildbot.octave.org:8010/builders/gcc-6-debian/builds/1475/steps/test/logs/stdio

I get a different test failure, that is bug #53428.

But the test that used to fail for me now passes.


$ ./run-octave -q
>> n = javaObject ("java.lang.Integer", 1.35)
>> assert (n.compareTo (0), 1)
>> assert (n.compareTo (0), 1)
>> assert (n.compareTo (2), -1)


no errors.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51804>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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