Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1809

wicket does not compile for 1.3.x because of method usage > jdk 1.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.3.5, 1.4-RC1
    • wicket
    • None

    Description

      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); }

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            pete Peter Ertl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: