Uploaded image for project: 'Shale'
  1. Shale
  2. SHALE-251

Java 1.5 method java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;) used in org.apache.shale.test.mock.MockValueBinding.parse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.3-SNAPSHOT
    • 1.0.3
    • Test
    • None
    • MyFaces Tomahawk 1.1.5 snapshot from 2006-08-11
    • Important

    Description

      java.lang.NoSuchMethodError: java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
      at org.apache.shale.test.mock.MockValueBinding.parse(MockValueBinding.java:328)
      at org.apache.shale.test.mock.MockValueBinding.getValue(MockValueBinding.java:112)
      at javax.faces.component.UIOutput.getValue(UIOutput.java:75)

      The following Java 1.5 code snuck into the Shale 1.0.3 snapshot test framework, which is documented to be Java 1.4 compatible.

      This is causing the default build for MyFaces (which includes running the tests) to fail.

      Attachments

        1. MockValueBinding.java.patch.txt
          0.7 kB
          Mike Kienenberger

        Activity

          People

            craigmcc Craig R. McClanahan
            mkienenb Mike Kienenberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: