Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 70015 invoked from network); 27 Dec 2006 11:18:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2006 11:18:50 -0000 Received: (qmail 25641 invoked by uid 500); 27 Dec 2006 11:18:55 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 25609 invoked by uid 500); 27 Dec 2006 11:18:55 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 25600 invoked by uid 99); 27 Dec 2006 11:18:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2006 03:18:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of t.p.ellison@gmail.com designates 66.249.92.168 as permitted sender) Received: from [66.249.92.168] (HELO ug-out-1314.google.com) (66.249.92.168) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2006 03:18:44 -0800 Received: by ug-out-1314.google.com with SMTP id z36so3187133uge for ; Wed, 27 Dec 2006 03:18:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=HdVxk4T1rrowEbyod+fgi4Voi5Vp3OC8X5UdW4xF6SBvoBiFy2g4irdXpY+Sfkyu1f/Kro7Yqb5KbjZJGkQ1pgLIdEpchArPEzOJjMTjwr41wCeQIr+nBfGF+SknqwG9DGIJV8HA68bGBQ4X3jbfVhihf0RHy6oTARARC+hZHtg= Received: by 10.67.19.17 with SMTP id w17mr19938117ugi.1167218302473; Wed, 27 Dec 2006 03:18:22 -0800 (PST) Received: from ?9.20.183.73? ( [195.212.29.92]) by mx.google.com with ESMTP id j2sm19193001ugf.2006.12.27.03.18.22; Wed, 27 Dec 2006 03:18:22 -0800 (PST) Message-ID: <45925679.8060303@gmail.com> Date: Wed, 27 Dec 2006 11:18:17 +0000 From: Tim Ellison User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [testing] Eclipse Unit Tests run under Cruise Control References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org May be a good idea to add a simple HUT regression test so that 'fix' is not put back in at some point in the future. Regards, Tim Alexey Petrenko wrote: > I've reverted ResourceBundle changes. > Please verify. > > SY, Alexey > > 2006/12/25, Nina Rinskaya : >> Ivan, >> >> Thanks for your reply, it really helped. >> >> I made the changes (below, just rolling back one of '489307' commit >> modifications) and Eclipse started successfully and EUT passed ok: >> >> ***************************************** >> Index: modules/luni/src/main/java/java/util/ResourceBundle.java >> =================================================================== >> --- modules/luni/src/main/java/java/util/ResourceBundle.java >> (revision 489307) >> +++ modules/luni/src/main/java/java/util/ResourceBundle.java >> (working copy) >> @@ -268,10 +268,7 @@ >> Class bundleClass = >> Class.forName(bundleName, true, loader); >> bundle = (ResourceBundle) >> bundleClass.newInstance(); >> bundle.setLocale(locale); >> - } catch (LinkageError e) { >> - } catch (ClassNotFoundException e) { >> - } catch (IllegalAccessException e) { >> - } catch (InstantiationException e) { >> + } catch (Exception e) { >> } >> >> if (bundle == null) { >> ***************************************** >> >> When I checked Eclipse startup and EUT tests on my Linux (SLES 9) >> machine, there has been ClassCastException thrown, which is not caught >> after r489307. Maybe ClassCastException should be added to the >> 'catch'-es list or it should be fixed in another way. >> >> Thanks, >> Nina >> >> On 12/25/06, Ivan Popov wrote: >> > I see the following diagnostics in .LOG file after Eclipse silently >> died: >> > >> > java.lang.ExceptionInInitializerError >> > at >> org.eclipse.jface.bindings.keys.SWTKeySupport.(SWTKeySupport.java:33) >> >> > at >> org.eclipse.ui.internal.keys.BindingService.(BindingService.java:93) >> >> > at >> org.eclipse.ui.internal.Workbench.initializeDefaultServices(Workbench.java:1247) >> >> > at org.eclipse.ui.internal.Workbench.init(Workbench.java:1060) >> > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1844) >> > at >> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417) >> >> > at >> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java) >> > at >> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) >> > at >> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77) >> >> > at >> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) >> >> > at >> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66) >> >> > at >> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396) >> >> > at >> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) >> >> > at java.lang.reflect.VMReflection.invokeMethod(Native Method) >> > at java.lang.reflect.Method.invoke(Unknown Source) >> > at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) >> > at org.eclipse.core.launcher.Main.basicRun(Main.java:278) >> > at org.eclipse.core.launcher.Main.run(Main.java:975) >> > at org.eclipse.core.launcher.Main.main(Main.java:952) >> > Caused by: java.lang.ClassCastException >> > at >> java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:269) >> > at >> java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:311) >> > at >> java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:311) >> > at >> java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:159) >> > at java.util.ResourceBundle.getBundle(ResourceBundle.java:87) >> > at >> org.eclipse.jface.bindings.keys.formatting.NativeKeyFormatter.(NativeKeyFormatter.java:60) >> >> > at >> org.eclipse.jface.bindings.keys.SWTKeySupport.(SWTKeySupport.java:33) >> >> > ... 18 more >> > >> > Hope this can help in identifying problem. >> > >> > Thanks. >> > Ivan >> > >> > On 12/22/06, Nina Rinskaya wrote: >> > > Hi all, >> > > >> > > That's just to let you know that I run Eclipse Unit Tests under >> Cruise >> > > Control on Linux (SLES 9)/ia32 and windows (xp)/ia32. During last 10 >> > > days Alexey Ignatenko and I worked on enabling EUT on Harmony and >> have >> > > increased EUT pass rate from ~60% up to 93-95% (not taking into >> > > account some intermittent failures). Many-many thanks to Alexey >> > > Ignatenko for all his great work. >> > > >> > > Does it make sense to report EUT regressions to the mailing list? >> > > >> > > Well, first try. Today my local Cruise Control reported significant >> > > EUT pass rate downgrade with similar failures logs, and Eclipse >> failed >> > > to start (silently died after "Select Workspace" dialog). It looks >> > > like it is caused by commit r489307 - just comparing classlib >> > > rollbacks to r489307 (Eclipse dies, some EUT tests fail) and r489306 >> > > (Eclipse 'Hello world' passes, EUT tests pass as usually). Could >> > > anybody take a look at this issue please? >> > > >> > > Thanks, >> > > Nina >> > > >> > >> >