Skip to content

spring-test-2.5.6.jar incompatible with junit distribution from SpringSource Enterprise Bundle Repository [SPR-5291] #9964

@spring-projects-issues

Description

@spring-projects-issues

Michael Pilquist opened SPR-5291 and commented

spring-test-2.5.6's import package statement for junit.framework looks like this:

junit.framework.*;version="[3.8.2, 4.0.0)";resolution:=optional,

This is problematic, because JUnit still includes the junit.framework package in current distributions. Without any clear guidance from the JUnit folks on versions of the various packages, I think the version constraint should either be 3.8.2 or should be changed to [3.8.2, 5.0.0).

Note that the JUnit 4.x bundles provided by the SpringSource Bundle Repository export junit.* packages as the version of the containing JUnit JAR (e.g., 4.4.0 or 4.5.0). http://www.springsource.com/repository/app/bundle/version/detail?name=com.springsource.org.junit&version=4.5.0&searchType=bundlesByPackage&searchQuery=junit.framework


Affects: 2.5.6

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions