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

 
 

bug #48830: Java interface: still java 1.3

Submitted by:  Ernst Reissner <ernstreissner>
Submitted on:  Fri 19 Aug 2016 06:46:06 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.

 

(Jump to the original submission 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>
Project Administrator
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>
Project Administrator
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>
Project Administrator
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>
Project 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 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 mtmiller (Posted a comment)
  • -unavailable- added by siko1056 (Posted a comment)
  • -unavailable- added by ernstreissner (Submitted the item)
  • -unavailable- added by ernstreissner
  •  

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Aug 2017 06:40:46 AM UTCmtmillerStatusPostponed=>Fixed
    Fri 18 Nov 2016 07:28:37 PM UTCmtmillerStatusNeed Info=>Postponed
      Open/ClosedOpen=>Closed
    Tue 23 Aug 2016 06:07:25 AM UTCsiko1056StatusNone=>Need Info
    Fri 19 Aug 2016 06:46:06 PM UTCernstreissnerCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1