bugGNU Octave - Bugs: bug #37971, 'clear java' command needed for...

 
 

bug #37971: 'clear java' command needed for compatibility

Submitter:  Rik <rik5>
Submitted:  Fri 21 Dec 2012 07:45:14 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 15 Nov 2021 07:00:36 PM UTC, comment #3: 

Marking as confirmed.  This should stick around until we actually implement it.

Rik <rik5>
Group administrator
Mon 15 Nov 2021 06:30:52 PM UTC, comment #2: 

noting that 'clear -java' or equivalent is still not an option in Octave 6.4.0. It's been quite a while with 5 years since last commentary. Should status be changed or should it sit as a persistent reminder.


Nicholas Jankowski <nrjank>
Group Member
Tue 23 Aug 2016 04:02:47 PM UTC, comment #1: 

Ernst, please stop commenting here, if you think the description in bug #37971 is wrong, just add a comment there.

I understand this bug completely different,
namely as I described in #48850:
clear java refers to clearing the class, i.e. unloading.

Ernst Reissner <ernstreissner>
Fri 21 Dec 2012 07:45:14 PM UTC, original submission:  

This is a bug report just to track this issue and make sure it is not forgotten.

On a quick look, it doesn't look like it would be that difficult to implement.  One could loop over objects in the symbol table, call isjava() on them, and delete them or not based on that test.  It does look like a fair amount of C++ boilerplate code would be needed to accomplish that (nothing hard, but possibly tedious) as there would be modifying Fclear and adding a do_clear_java routine in variables.cc.  In symtab.h you would probably need a clear_java, clear_java_pattern, do_clear_java_pattern, clear_java_regexp, and do_clear_java_regexp routines.

Rik <rik5>
Group administrator

 

(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

Items that depend on this one

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by ernstreissner (Posted a comment)
  • -email is unavailable- added by rik5 (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-15 rik5 StatusNone Confirmed
    2016-08-22 mtmiller Dependencies- bugs #48850 is dependent

    Back to the top

    Powered by Savane 3.14-0608.
    Corresponding source code