Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369717

Summary: Cannot resolve org.hamcrest import in Mockito bundle
Product: [Tools] Orbit Reporter: Patrick Paulin <patrick>
Component: bundlesAssignee: Ketan Padegaonkar <KetanPadegaonkar>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: david_williams, jeremie.bresson
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 403676    
Bug Blocks:    

Description Patrick Paulin CLA 2012-01-25 13:10:49 EST
Build Identifier: 

The org.hamcrest.core bundle exports the org.hamcrest package with a mandatory core=split attribute. It looks like this causes the Mockito import to fail at runtime.

For more information, see bug 334540.


Reproducible: Always
Comment 1 Jeremie Bresson CLA 2013-11-12 03:28:28 EST
We are considering to solve this with an update to the latest version of Mockito:
=> see Bug 403635

Before moving on Bug 403635 we need to solve the dependency to Hamcrest that is not solved the same way between JUnit and Mockito. => see Bug 403676