Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6868

Remove the dependency on Jakarta ORO

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.13.1.0
    • Fix Version/s: 10.13.1.0
    • Component/s: Build tools, Test
    • Labels:
      None

      Description

      The Derby source code repository contains jakarta-oro-2.0.8.jar in the tools/java directory. This jar file provides regex functionality used by the Sed class in the old test harness.

      Modern JDK versions include the java.util.regex package, which provides similar functionality. The Jakarta ORO project is retired and has been moved to the Apache Attic.

      We should change the implementation of the Sed class to use java.util.regex instead of Jakarta ORO because:

      • it reduces the number of binaries in the source code repository
      • java.util.regex is a maintained library, ORO is not

        Attachments

        1. d6868.diff
          18 kB
          Knut Anders Hatlen

          Activity

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: