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

 
 

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

Submitted by:  Rik <rik5>
Submitted on:  Fri Dec 21 19:45:14 2012  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue Aug 23 16:02:47 2016, 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 Dec 21 19:45:14 2012, 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>
Project Administrator

 

(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

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by ernstreissner (Posted a comment)
  • -unavailable- added by rik5 (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Aug 22 20:23:21 2016mtmillerDependencies-=>bugs #48850 is dependent

    Back to the top


    Powered by Savane 3.1-cleanup