Community
Participate
Working Groups
Build: I20060314-1200 There are four failing core resources tests, on all three test platforms, in this build. I have not been able to reproduce the test failures locally, and analyzing the changes since the tests were passing I have not found any significant changes. Further investigation is required.
After several hours I found out the root cause of the core test failures. Whenever a generic project is created, JDT is adding a problem marker indicating there are classpath problems. Simple test case: 1) Open a new workspace 2) Ensure JDT core is loaded (eg., go to java perspective) 3) Create a generic (non-Java) project 4) In the problems view, there is a problem on the project: "Unable to read '.classpath' file of project Project1" This was causing the delta validation tests to fail because it was encountering an unexpected marker delta. The failure only happens when JDT core is loaded, which is why I had trouble tracking it down. Somehow, JDT core is loaded when running platform core tests IF all SDK test plugins are installed. When I run platform core tests separately from within Eclipse, it doesn't fail because JDT core does not get loaded.
This bug looks like it was introduced during the fix for bug 121569.
Sorry about that and thanks for the investigation. Moved the code that updates project references in the 'has Java nature' block. Added regression test JavaModelTests#testCreateNonJavaProject().
*** Bug 132252 has been marked as a duplicate of this bug. ***
Verified for 3.2M6 using build I20060327-0010.