Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-3056

RAILO-3001 BREAKS CODE THAT RELIES ON JAVA STRING METHODS!

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.0.007
    • Fix Version/s: 4.3.0.000, 4.2.0.009
    • Labels:
      None

      Description

      This is a complete showstopper for World Singles. As I commented in RAILO-3001:

      This breaks code that uses the Java String.startsWith() member function - the two argument version:

      http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#startsWith(java.lang.String, int)

      We just tried to update to 4.2.0.008 at World Singles and this is a complete showstopper. Adobe did something equally stupid in CF11 by adding a .replace() member function that overrode String.replace() and broke existing code (in FW/1). This addition of an incompatible .startsWith() / .endsWith() member function pair is equally stupid. Please revert this change as soon as possible.

      Why on earth add member functions that conflict with Java methods in a way that CHANGES THE FUNCTIONALITY IN A SUBTLE way??

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                seancorfield Sean Corfield
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: