You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SettableListenableFuture set has a race on Java6 (and old versions of Java7) [SPR-16183] #20731
in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently apply
Since Spring 5 requires Java8 it is definitely not affected, but maybe it is feasible to add some synchronization workaround for this JDK-issue for 4.3.x branch.
At this point I'm inclined to simply consider this as a known issue on older JDKs. Addressing this with extra synchronization on our end is bound to degrade performance for users of more recent JDKs. Also, this might have been backported into a commercial JDK 6 maintenance branch by Oracle... or Oracle support simply asked affected customers to upgrade to JDK 7 there.
I've created #20733 for our end of first-class JDK 6 support. Specifically, Spring Framework 4.3.x users are expected to be on recent patch releases of JDK 7, 8 or even 9 these days (since we backported JDK 9 runtime compatibility to 4.3.10+).
As per #20733, we do not intend to work around JDK 6 bugs at this point. We expect everybody affected to upgrade to JDK 7+ which is generally a good idea for any applications with strong use of concurrent execution, picking up runtime performance improvements along the way.
in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently apply
Activity
spring-projects-issues commentedon Nov 10, 2017
Juergen Hoeller commented
At this point I'm inclined to simply consider this as a known issue on older JDKs. Addressing this with extra synchronization on our end is bound to degrade performance for users of more recent JDKs. Also, this might have been backported into a commercial JDK 6 maintenance branch by Oracle... or Oracle support simply asked affected customers to upgrade to JDK 7 there.
FWIW, even Spring Framework 4.x users are expected to be on recent patch releases of JDK 7 or 8 these days. The end of of commercial JDK 6 support is coming up soon, with Oracle (http://www.oracle.com/technetwork/java/eol-135779.html) as well as IBM (https://developer.ibm.com/wasdev/docs/end-java-se-6-go/). We'll have to join with an end of first-class JDK 6 support on our end soon.
spring-projects-issues commentedon Nov 10, 2017
Juergen Hoeller commented
I've created #20733 for our end of first-class JDK 6 support. Specifically, Spring Framework 4.3.x users are expected to be on recent patch releases of JDK 7, 8 or even 9 these days (since we backported JDK 9 runtime compatibility to 4.3.10+).
spring-projects-issues commentedon Nov 20, 2017
Juergen Hoeller commented
As per #20733, we do not intend to work around JDK 6 bugs at this point. We expect everybody affected to upgrade to JDK 7+ which is generally a good idea for any applications with strong use of concurrent execution, picking up runtime performance improvements along the way.