Community
Participate
Working Groups
Build ID: I20070323-1616 Steps To Reproduce: 1. Set up Eclipse 3.3M6 with the IBM J2SE 1.4.2, 5.0, or 6.0 2. Run the Automated test suite in org.eclipse.jdt.core.tests.compiler 3. Note the four errors in the test027 for compliance 1.3, 1.4, 1.5, and 1.6. More information: If you are using IBM J2SE 6.0, you will see many more errors than just the four tests above. All of these errors are of the "Unable to resolve java.lang.Object" and "Unable to resolve org.xml. ..." I have debugged these test cases and have found that the cause of the error is in org.eclipse.jdt.core.tests.util.Util in the method getJavaClassLibs, where it is missing adding the required jar files for these tests. The jar files that are needed vary by IBM JRE release, unfortunately, complicating the code. I will attach a patch that solves the problem for the three IBM JRE releases.
Created attachment 62170 [details] Fixes getJavaClassLibs for IBM JRE Fixes for IBM J2SE 1.4.2, 5.0, 6.0 need to pass the jdt compiler parsing tests.
Created attachment 62455 [details] Proposed fix This patch is more generic. It checks if each entry of the classpaths exists before adding it.
I'll check it tomorrow on Linux. If it works fine, I'll release it.
That sounds like a much better fix. Thanks!
Released for 3.3M7.
Verified for 3.3 M7 using source code v_751.