Page 1 of 1

Java 7 Compatibility status

PostPosted: Mon Apr 08, 2013 9:14 pm
by kyomi7502
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).

Re: Java 7 Compatibility status

PostPosted: Mon Apr 08, 2013 9:24 pm
by daneren2005
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.

Re: Java 7 Compatibility status

PostPosted: Mon Apr 08, 2013 9:26 pm
by kyomi7502
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.

Re: Java 7 Compatibility status

PostPosted: Tue Apr 09, 2013 1:05 pm
by bushman4
I'm not Sindre, but Yes - It's coded for Java 7 and should work.

Glenn

Re: Java 7 Compatibility status

PostPosted: Tue Apr 09, 2013 7:57 pm
by hakko
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

Re: Java 7 Compatibility status

PostPosted: Tue Apr 09, 2013 7:59 pm
by hakko
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..