[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: |
Mon, 23 Apr 2018 15:42:36 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<http://savannah.gnu.org/bugs/?53728>
Summary: test failure in ov-java.cc
Project: GNU Octave
Submitted by: arb
Submitted on: Mon 23 Apr 2018 07:42:35 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.3.91
Operating System: GNU/Linux
_______________________________________________________
Details:
I get this failure:
libinterp/octave-value/ov-java.cc-tst ....................... PASS
14/16
FAIL 1
(reported bug) XFAIL 1
in test/fntests.log
***** testif HAVE_JAVA; usejava ("jvm") <51804>
n = javaObject ("java.lang.Integer", 1.35);
assert (n.compareTo (0), 1);
assert (n.compareTo (1), 0);
assert (n.compareTo (2), -1);
!!!!! known bug: https://octave.org/testfailure/?51804
[java] java.lang.ClassCastException: java.lang.Double cannot be cast to
java.lang.Integer
***** 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
from the configure output:
Java home:
/usr/lib/jvm/java-1.7.0-oracle-1.7.0.161.x86_64
Java JVM path:
/usr/lib/jvm/java-1.7.0-oracle-1.7.0.161.x86_64/jre/lib/amd64/server
Java CPPFLAGS:
-I/usr/lib/jvm/java-1.7.0-oracle-1.7.0.161.x86_64/include
-I/usr/lib/jvm/java-1.7.0-oracle-1.7.0.161.x86_64/include/linux
Java libraries:
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53728>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53728] test failure in ov-java.cc,
A.R. Burgers <=