From 9314461fcff78c6809830a1816663cc4cc5c90eb Mon Sep 17 00:00:00 2001 From: mauro Date: Wed, 25 Sep 2019 23:13:39 +0200 Subject: [PATCH] Minor fix for classpath value in CodeServlet --- .../src/main/java/org/teavm/devserver/CodeServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/devserver/src/main/java/org/teavm/devserver/CodeServlet.java b/tools/devserver/src/main/java/org/teavm/devserver/CodeServlet.java index 7872e5631..74683fb24 100644 --- a/tools/devserver/src/main/java/org/teavm/devserver/CodeServlet.java +++ b/tools/devserver/src/main/java/org/teavm/devserver/CodeServlet.java @@ -151,7 +151,7 @@ public class CodeServlet extends HttpServlet { public CodeServlet(String mainClass, String[] classPath) { this.mainClass = mainClass; - this.classPath = classSource != null ? classPath.clone() : new String[0]; + this.classPath = classPath != null ? classPath.clone() : new String[0]; httpClient = new HttpClient(); httpClient.setFollowRedirects(false);