[ https://issues.apache.org/jira/browse/WICKET-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1809. ----------------------------------- Resolution: Fixed Fix Version/s: 1.4-M4 1.3.5 Assignee: Igor Vaynberg > wicket does not compile for 1.3.x because of method usage > jdk 1.4 > ------------------------------------------------------------------- > > Key: WICKET-1809 > URL: https://issues.apache.org/jira/browse/WICKET-1809 > Project: Wicket > Issue Type: Bug > Components: wicket > Reporter: Peter Ertl > Assignee: Igor Vaynberg > Priority: Blocker > Fix For: 1.3.5, 1.4-M4 > > Attachments: wicket-1809-wicket-1.3.patch > > > In > org.apache.wicket.request.target.basic.StringRequestTarget > the method > Charset.defaultCharset() > is used. > // ... snip > public StringRequestTarget(String string) > { > this("text/plain", Charset.defaultCharset(), string); > } > // ... snip > However it does not exist in jdk 1.4 which is a requirement for wicket. > I suggest using > public StringRequestTarget(String string) > { > this("text/plain", > Charset.forName(Application.get().getRequestCycleSettings().getResponseRequestEncoding()), > string); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.