https://issues.apache.org/bugzilla/show_bug.cgi?id=48373
Summary: Can not get clients from TomcatBayeux Product: Tomcat 7 Version: trunk Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Modules: bayeux AssignedTo: dev@tomcat.apache.org ReportedBy: wujunc...@gmail.com When call the getClients method,there will be a Exception: java.lang.ArrayStoreException: java.util.HashMap$Entry maybe this method should be: public List<Client> getClients() { return java.util.Arrays.asList(clients.values().toArray(new Client[0])); } instead of this: public List<Client> getClients() { return java.util.Arrays.asList(clients.entrySet().toArray(new Client[0])); } -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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