aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/server/VaadinServletService.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/server/VaadinServletService.java')
-rw-r--r--server/src/com/vaadin/server/VaadinServletService.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/server/src/com/vaadin/server/VaadinServletService.java b/server/src/com/vaadin/server/VaadinServletService.java
index a4ff3943c9..0b431306e0 100644
--- a/server/src/com/vaadin/server/VaadinServletService.java
+++ b/server/src/com/vaadin/server/VaadinServletService.java
@@ -51,16 +51,6 @@ public class VaadinServletService extends VaadinService {
throws ServiceException {
super(deploymentConfiguration);
this.servlet = servlet;
-
- // Set default class loader if not already set
- if (getClassLoader() == null) {
- /*
- * The servlet is most likely to be loaded with a class loader
- * specific to the application instead of some generic system class
- * loader that loads the Vaadin classes.
- */
- setClassLoader(servlet.getClass().getClassLoader());
- }
}
private static boolean checkAtmosphereSupport() {