bugGNU Octave - Bugs: bug #38725, Empty javaclasspath returns...

 
 

bug #38725: Empty javaclasspath returns non-empty cell array

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Fri 12 Apr 2013 06:15:22 PM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 21 Jun 2013 07:13:03 AM UTC, comment #2: 

Yep works OK now (hadn't noticed in the mean time, sorry).

Thanks.

I'll close this one.

Philip Nienhuis <philipnienhuis>
Group Member
Thu 20 Jun 2013 11:45:50 PM UTC, comment #1: 

This works fine for me with a recent tip.


parent: 16788:f89de736eecd tip
correctly parse expressions like pi+1 (bug #39301)


Could you check again whether you are a non-empty cell array?

My system is a Linux system with java version 1.7.0_21 (OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-0ubuntu0.12.04.1)) in case it matters.

Rik <rik5>
Group administrator
Fri 12 Apr 2013 06:15:22 PM UTC, original submission:  

Using stable Octave and the Java package I get:


octave-3.6.4-rc1:4> jcp = javaclasspath
jcp = {}(0x0)


... while with the dev version I get:

octave:29> jcp = javaclasspath
jcp =
{
  [1,1] =
}


Obviously it would be hard to check what ML does (as its javaclasspath is preloaded with order of 200 entries after startup).

Is there a reason that an empty javaclasspath now returns a non-empty cellstr array? (= with one empty cell)

I'd rather prefer the old behavior, i.e., returning a completely empty cellstr array.

I'll submit another (minor) bug with javaclasspath in an other bug tracker entry. I doubt if they are related, but you never know...

Philip Nienhuis <philipnienhuis>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-21 philipnienhuis StatusWorks For Me Fixed
        Open/ClosedOpen Closed
    2013-06-20 rik5 Dependencies- bugs #38726 is dependent
    2013-06-20 rik5 StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code