Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-34

Make code Java 1.4 compatible

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.0-alpha-4
    • Standard Rules
    • None
    • Patch

    Description

      The plugin's parent POM states Java 1.4 as the target platform but the code does not successfully compile against this.

      The patch simply includes a copy of the JDK code for the offending method Arrays.hashCode(). Alternatively, you could use HashCodeBuilder from commons-lang.

      Attachments

        1. java-1.4-compat.patch
          1 kB
          Benjamin Bentmann
        2. java-1.4-compat.patch
          0.6 kB
          Benjamin Bentmann

        Activity

          People

            brianf Brian E Fox
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: