You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by vi...@apache.org on 2017/07/12 10:19:59 UTC

svn commit: r1801715 - /tomcat/tc7.0.x/trunk/test/org/apache/juli/TestFileHandlerNonRotatable.java

Author: violetagg
Date: Wed Jul 12 10:19:59 2017
New Revision: 1801715

URL: http://svn.apache.org/viewvc?rev=1801715&view=rev
Log:
java.nio.charset.StandardCharsets is not available in Java 6

Modified:
    tomcat/tc7.0.x/trunk/test/org/apache/juli/TestFileHandlerNonRotatable.java

Modified: tomcat/tc7.0.x/trunk/test/org/apache/juli/TestFileHandlerNonRotatable.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/juli/TestFileHandlerNonRotatable.java?rev=1801715&r1=1801714&r2=1801715&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/juli/TestFileHandlerNonRotatable.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/juli/TestFileHandlerNonRotatable.java Wed Jul 12 10:19:59 2017
@@ -38,7 +38,7 @@ public class TestFileHandlerNonRotatable
                 .getResource("logging-non-rotatable.properties")
                 .getFile();
         System.setProperty("java.util.logging.config.file",
-                URLDecoder.decode(configLoggingPath, java.nio.charset.StandardCharsets.UTF_8.toString()));
+                URLDecoder.decode(configLoggingPath, "UTF-8"));
     }
 
     @After



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org