Java 7 Compatibility status

Need help? Post your questions here.

Moderator: moderators

Java 7 Compatibility status

Postby kyomi7502 » Mon Apr 08, 2013 9:14 pm

Anyone know what it is? Is subsonic fully compatible (not "oh, I installed and it works") with Java 7?
I'm thinking about upgrading to Java 7 only (no Java 6) since Oracle has discontinued Java 6 officially. I've only been able to see that people sometimes have issues with it, but I haven't seen an official response yet (the one that is sticky is from last year with no official updates).
User avatar
kyomi7502
 
Posts: 69
Joined: Mon May 21, 2012 2:13 pm

Re: Java 7 Compatibility status

Postby daneren2005 » Mon Apr 08, 2013 9:24 pm

As far as I can tell as I can tell some people have problems with Java 7, and some people have problems with Java 6. I'm not really sure what you would expect from an "official" response. All the dev can say is that sure, yah, it works for him or it doesn't work for him. That doesn't really help make it any clearer.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Java 7 Compatibility status

Postby kyomi7502 » Mon Apr 08, 2013 9:26 pm

I know every software has bugs, but what I was hoping for was an official "yes" or "no".

Basically meaning:

Yes - It's coded for Java 7 and should work
No - It hasn't been updated to Java 7 and might work, use at your own risk.
User avatar
kyomi7502
 
Posts: 69
Joined: Mon May 21, 2012 2:13 pm

Re: Java 7 Compatibility status

Postby bushman4 » Tue Apr 09, 2013 1:05 pm

I'm not Sindre, but Yes - It's coded for Java 7 and should work.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Java 7 Compatibility status

Postby hakko » Tue Apr 09, 2013 7:57 pm

I don't think there's any code specifically using the new features introduced in Java 7 (because then it wouldn't be backward compatible and couldn't be used by people running Java 6)

however, the one issue that initially made it incompatible with Java 7 (for people running Java 6 or 5) has been sorted out, in one of the later 4.7 releases.

quoting myself:

http://www.oracle.com/technetwork/java/ ... .html#jdk7

Area: API: Utilities
Synopsis: Updated sort behavior for Arrays and Collections may throw an IllegalArgumentException
Description: The sorting algorithm used by java.util.Arrays.sort and (indirectly) by java.util.Collections.sort has been replaced. The new sort implementation may throw an IllegalArgumentException if it detects a Comparable that violates the Comparable contract. The previous implementation silently ignored such a situation.
If the previous behavior is desired, you can use the new system property, java.util.Arrays.useLegacyMergeSort, to restore previous mergesort behavior.
Nature of Incompatibility: behavioral
RFE: 6804124
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Java 7 Compatibility status

Postby hakko » Tue Apr 09, 2013 7:59 pm

I kind of feel like turning MusicCabinet into a Java 8 project because it brings so much exciting news, but it's not really easy to install right now and that surely wouldn't help..
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to Help

Who is online

Users browsing this forum: No registered users and 7 guests