bugGNU Octave - Bugs: bug #45683, javaclasspath.txt is read twice if...

 
 

bug #45683: javaclasspath.txt is read twice if home is current directory

Submitted by:  CarnĂ« Draug <carandraug>
Submitted on:  Mon 03 Aug 2015 07:05:02 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 03 Aug 2015 10:44:57 PM UTC, comment #1:

Confirmed.

It's easy to check that the current directory is not either the home directory or the java installation directory before adding the contents of javaclasspath.txt. I believe I fixed it in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/4262598620ae).

Rik <rik5>
Project Administrator
Mon 03 Aug 2015 07:05:02 PM UTC, original submission:

The static classpath is set by a javaclasspath.txt file in one of the following directories

1. [octave_config_info("fcnfiledir") "/java/"]
2. home directory
3. current working directory when the java machine starts (when any of the java related functions is called for the first time)

The end result is that entries on the static javaclasspath get duplicated if "3" is one of the two above.

Carnë Draug <carandraug>
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 carandraug (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Aug 2015 10:44:57 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1