bugGNU Octave - Bugs: bug #44382, test fieldnames fails in MXE-octave

 
 

bug #44382: test fieldnames fails in MXE-octave

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Fri 27 Feb 2015 11:27:23 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: AvinoamOpen/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 28 Feb 2015 03:44:24 PM UTC, comment #6:

At least it's an easy fix. Apparently even a very basic Java class like a double value is still changing between versions. Java 1.8 adds a BYTES field which then means that setxor returns one extra field.

I changed the BIST tests to look for just the stable properties present in past and future versions of java (http://hg.savannah.gnu.org/hgweb/octave/rev/f799bf70350f).

Rik <rik5>
Project Administrator
Sat 28 Feb 2015 09:11:00 AM UTC, comment #5:

Under Ubuntu I get

Avinoam Kalma <avinoam>
Project Member
Sat 28 Feb 2015 09:10:11 AM UTC, comment #4:

The BYTES is missing.
Under Ubuntu I get

Avinoam Kalma <avinoam>
Project Member
Fri 27 Feb 2015 10:51:27 PM UTC, comment #3:

That's correct. It means Octave created a java object. You can use

to see what functions the particular object supports. Try, for example,

to see the value of pi printed out.

Try executing the failing test line by line and see where it fails.

If I had to guess, I bet there is a difference in upper/lower case for "NaN".

Rik <rik5>
Project Administrator
Fri 27 Feb 2015 10:38:46 PM UTC, comment #2:

What does it mean?

Avinoam Kalma <avinoam>
Project Member
Fri 27 Feb 2015 06:13:19 PM UTC, comment #1:

Do you have a Java VM installed on the Windows side, and does it work within Octave?

For example, does this succeed?

Rik <rik5>
Project Administrator
Fri 27 Feb 2015 11:27:23 AM UTC, original submission:

In Linux (Ubuntu) it pass the test

Avinoam Kalma <avinoam>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by avinoam (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 28 Feb 2015 03:44:24 PM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Fri 27 Feb 2015 06:13:19 PM UTCrik5StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1