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 11:58:46 UTC

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

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
            Reporter: Peter Ertl


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.


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

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl updated WICKET-1809:
-------------------------------

    Component/s: wicket

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


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

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl updated WICKET-1809:
-------------------------------

    Attachment: wicket-1809-wicket-1.3.patch

> 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
>            Reporter: Peter Ertl
>         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.


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

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl updated WICKET-1809:
-------------------------------

    Priority: Blocker  (was: Major)

I changed priority to 'Blocker' based on the help in jira

-> Blocker = Blocks development and/or testing work, production could not run

> 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
>            Priority: Blocker
>         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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ 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.