From 8387ead887ee059e599e39a0fee78d676949d2f6 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 10 Dec 2010 11:51:35 +0000 Subject: [PATCH] Reverted [16446] as the problem was an extra .class file and catching all java.lang.Error would also catch all virtual machine errors such as out of memory problems svn changeset:16449/svn branch:6.5 --- .../terminal/gwt/widgetsetutils/ClassPathExplorer.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/com/vaadin/terminal/gwt/widgetsetutils/ClassPathExplorer.java b/src/com/vaadin/terminal/gwt/widgetsetutils/ClassPathExplorer.java index 585bd4c79a..0fa618ec4f 100644 --- a/src/com/vaadin/terminal/gwt/widgetsetutils/ClassPathExplorer.java +++ b/src/com/vaadin/terminal/gwt/widgetsetutils/ClassPathExplorer.java @@ -581,12 +581,6 @@ public class ClassPathExplorer { // Don't show to avoid flooding the user with irrelevant messages logLevel = Level.FINE; errorToShow = e; - } catch (Error t) { - // At least sometimes GWT throws Error instead of - // NoClassDefFoundError. - // Don't show to avoid flooding the user with irrelevant messages - logLevel = Level.FINE; - errorToShow = t; } finally { System.setErr(err); System.setOut(out); -- 2.39.5