You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2008/08/29 18:48:44 UTC

[jira] Closed: (WICKET-1809) wicket does not compile for 1.3.x because of method usage > jdk 1.4

     [ https://issues.apache.org/jira/browse/WICKET-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl closed WICKET-1809.
------------------------------


> 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.