https://issues.apache.org/bugzilla/show_bug.cgi?id=56085
Bug ID: 56085 Summary: IllegalArgumentException is thrown when calling getServletContext().getRealPath("\\") Product: Tomcat 8 Version: 8.0.0-RC10 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: lobanova....@gmail.com When getServletContext().getRealPath(System.getProperty("file.separator")) is called in Windows OS, where the file separator is a back slash, the getServletContext().getRealPath("\\") method throws an IllegalArgumentException. It seems to work fine in Tomcat 7.0, but fails in 8.0-RC10. As a temporary workaround solution, I changed the separator to the right slash ("/"). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org