bugGNU Octave - Bugs: bug #48830, Java interface: still java 1.3

 
 

bug #48830: Java interface: still java 1.3

Submitter:  Ernst Reissner <ernstreissner>
Submitted:  Fri 19 Aug 2016 06:46:06 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 23 Aug 2017 06:40:46 AM UTC, comment #6: 

Thanks, you are right, I've updated the minimum to be 1.6.

Mike Miller <mtmiller>
Group Member
Tue 22 Aug 2017 10:48:00 PM UTC, comment #5: 

I think, now it is time to drop 1.3.
As you now saw it is outdated.
And I think also restriction to 1.3 for the maintenance of the java interface
lessens code quality as 1.3 is not completely typesafe.

Ernst Reissner <ernstreissner>
Fri 18 Nov 2016 07:28:37 PM UTC, comment #4: 

I'm closing this as there is nothing really actionable here. If someone feels the need to use some new features in the Java compiled files that are part of Octave and that require a new Java standard, that can be addressed at the time.

Mike Miller <mtmiller>
Group Member
Tue 23 Aug 2016 08:02:48 PM UTC, comment #3: 

Yes, I agree, it not really a bug.
I myself use Octave with java 1.8, which works.
The problem is only when implementing the java interface.
Sometimes I would like to use 1.5-features.

Ernst Reissner <ernstreissner>
Tue 23 Aug 2016 02:20:34 PM UTC, comment #2: 

For the record, the compatibility version of Java that is being talked about is here:

http://hg.savannah.gnu.org/hgweb/octave/file/64edeff0630a/scripts/java/module.mk#l39

I don't think this is a bug in and of itself. Rather, if someone finds a compelling reason to use some newer feature of the Java language, then it could be considered to update this version. The point is that no features are currently being used, so there is no compelling reason to update that version number.

If there is a patch, for example, that needs Java 1.5 to implement some feature in a more maintainable way, then that makes sense.

To me this falls under "if it ain't broke, don't fix it".

Mike Miller <mtmiller>
Group Member
Tue 23 Aug 2016 06:07:09 AM UTC, comment #1: 

I agree and haven't found any information to stay with Java 1.3 (compatibility statements of Matlab or alike). I don't know whats required to switch this version, but maybe it requires more changes to wait for the next Octave release.

Kai Torben Ohlhus <siko1056>
Group Member
Fri 19 Aug 2016 06:46:06 PM UTC, original submission:  

This is more a question than a bug:
Java version to compile the interface is still 1.3.
I had a look at https://en.wikipedia.org/wiki/Java_version_history
and found out that 1.3 was 2000-2002.

I would like to vote for upgrade at least 1.5
for several reasons:
- take advantage of progress
- keep maintainable.

The current version is really historical.

Ernst Reissner <ernstreissner>

 

(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: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by siko1056 (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.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-23 mtmiller StatusPostponed Fixed
    2016-11-18 mtmiller StatusNeed Info Postponed
        Open/ClosedOpen Closed
    2016-08-23 siko1056 StatusNone Need Info
    2016-08-19 ernstreissner Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code