bugGNU Octave - Bugs: bug #48850, clear java

 
 

bug #48850: clear java

Submitter:  Ernst Reissner <ernstreissner>
Submitted:  Mon 22 Aug 2016 09:52:18 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any
Fixed Release:  None Planned Release:  None

Discussion locked!

Tue 23 Aug 2016 03:58:24 PM UTC, comment #4: 

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

Mike Miller <mtmiller>
Group Member
Tue 23 Aug 2016 03:55:42 PM UTC, comment #3: 

Because of what I pointed out below,
I would vote for closing #37971 and reopening this bug.

Ernst Reissner <ernstreissner>
Mon 22 Aug 2016 08:42:36 PM UTC, comment #2: 

Hm,... I do not understand clear java that way.
I read part of the book and I saw that clear java clears not the memory but clears the classes.
This means that classes are to be reloaded.

This seems to me a feature to ensure that if a java class changes while octave is running, this change is taken into account when the class is used again.

Contrary to understanding this is #37971,
clear java fails if there are still objects in use.

Ernst Reissner <ernstreissner>
Mon 22 Aug 2016 08:23:21 PM UTC, comment #1: 

Already reported as bug #37971, closing as a duplicate.

Mike Miller <mtmiller>
Group Member
Mon 22 Aug 2016 09:52:18 AM UTC, original submission:  

according to 'undocumented secrets of MATLAB-java programming',
clear may be used with parameter java,
clearing all java classes.

Fails if still sth is in use:
Warning: Objects of java/lang/Double class exist  not clearing java

Ernst Reissner <ernstreissner>

 

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

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

    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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-23 mtmiller Discussion LockNone Locked
    2016-08-22 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #37971
    2016-08-22 ernstreissner Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code