Junit on Ubuntu does not contain hamcrest and sets no classpath

Bug #784631 reported by Björn Michaelsen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
junit4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: junit

Junit on Ubuntu and Debian does not contain hamcrest and sets no classpath in the manifest, causing breaks for users who not have hamcrest in the classpath by accident. Hamcrest is an indirect dependency via Junit.

Workaround: Use https://github.com/downloads/KentBeck/junit/junit-4.9b2.jar containing hamcrest.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in junit (Ubuntu):
status: New → Confirmed
Revision history for this message
Emmanuel Bourg (ebourg) wrote :

The junit package contains the version 3.8.2 which never included hamcrest. The classpath was fixed in the version 4.8.2-2 of the junit4 package.

affects: junit (Ubuntu) → junit4 (Ubuntu)
Changed in junit4 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.