Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2013-05-09 17:50:40 -0400
committerJoakim Erdfelt2013-05-09 17:50:40 -0400
commit223a4d8b3b54c2a5600d90e7eb4322495f437760 (patch)
tree7628172dba1d4bd94fd96c36ac64e302b04bae73 /jetty-servlets/src
parent355c682faa5a4e94be2af1f9209c8849f5f2d29b (diff)
downloadorg.eclipse.jetty.project-223a4d8b3b54c2a5600d90e7eb4322495f437760.tar.gz
org.eclipse.jetty.project-223a4d8b3b54c2a5600d90e7eb4322495f437760.tar.xz
org.eclipse.jetty.project-223a4d8b3b54c2a5600d90e7eb4322495f437760.zip
407325 - Test Failure: org.eclipse.jetty.servlets.EventSourceServletTest.testEncoding
+ Setting charset that test uses to avoid using default charset encoding.
Diffstat (limited to 'jetty-servlets/src')
-rw-r--r--jetty-servlets/src/test/java/org/eclipse/jetty/servlets/EventSourceServletTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-servlets/src/test/java/org/eclipse/jetty/servlets/EventSourceServletTest.java b/jetty-servlets/src/test/java/org/eclipse/jetty/servlets/EventSourceServletTest.java
index ed75ec4414..6f2d6ab715 100644
--- a/jetty-servlets/src/test/java/org/eclipse/jetty/servlets/EventSourceServletTest.java
+++ b/jetty-servlets/src/test/java/org/eclipse/jetty/servlets/EventSourceServletTest.java
@@ -334,7 +334,7 @@ public class EventSourceServletTest
{
// Read and discard the HTTP response
InputStream input = socket.getInputStream();
- BufferedReader reader = new BufferedReader(new InputStreamReader(input));
+ BufferedReader reader = new BufferedReader(new InputStreamReader(input, "UTF-8"));
String line = reader.readLine();
while (line != null)
{

Back to the top