Skip to content

JDK 8 support for Spring 2.5.x [SPR-11899] #16518

Closed
@spring-projects-issues

Description

@spring-projects-issues

Jocelyn N'TAKPE opened SPR-11899 and commented

I know Spring 2.X is no longer supported but is it possible to release a new version supporting JDK 1.8.

static {
     javaVersion = System.getProperty("java.version");
     // version String should look like "1.4.2_10"
     if (javaVersion.indexOf("1.7.") != -1) {
          majorJavaVersion = JAVA_17;
     }
     else if (javaVersion.indexOf("1.6.") != -1) {
          majorJavaVersion = JAVA_16;
     }
     else if (javaVersion.indexOf("1.5.") != -1) {
          majorJavaVersion = JAVA_15;
     }
     else {
          // else leave 1.4 as default (it's either 1.4 or unknown)
          majorJavaVersion = JAVA_14;
     }
}

No further details from SPR-11899

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions