Community
Participate
Working Groups
Build 20020122 1. Create 2 java projects: JUnit1 and JUnit2 2. In each project, add junit.jar and add it to each project's buildpath 3. Add third java project test with both JUnit1 and JUnit2 on its buildpath 4. Delete JUnit2 5. Workbench->Open Type 6. Select AssertionFailedError and press OK Observe: You get a message dialog saying: 'Could not uniquely map the type name'
PackageFragmentRoot.exists() returns true for root A/Junit1/junit.jar. Problem is with PackageFragmentRoot.isOnClasspath() that uses isPrefixOf(IPath) to compare classpath instead of equals(...).
Good find.
Changed from isPrefixOf(...) to equals(...)