Community
Participate
Working Groups
HEAD. PlatformUITest.testWithoutDisplayAccess_sync() fails when run on a Java 7 JRE. This test failed on two subsequent runs of the Eclipse SDK tests against an Oracle Java 7 JRE. Unfortunately I cannot reproduce it when running on my Windows or Linux box. See also bug 331909.
Created attachment 194006 [details] Patch I can't reproduce that either. One possibility is that we don't re-sync values on several variables in the RCPTestWorkbenchAdvisor: the setters are done in "synchronized" blocks but getters access variables directly. Also the order of PlatformUITest still was incorrect: "testCreateAndRunWorkbenchWithExceptionOnStartup" should be done after testing all startup variables for the normal case. (The test variables are static.) I'll also bunch together all asserts of startup variables; there is little reason to have them in separate tests.
Patch applied to CVS Head.
Thanks Oleg. We'll run the tests against Java 7 again once the remaining issues are fixed (see bug 342688).