Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9115

Get rid of javax.xml.bind.DatatypeConverter in Solr's SimplePostTool

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0.1, 6.1, 7.0
    • Component/s: scripts and tools
    • Labels:
      None

      Description

      Our builds failed with Java 9 build 118 because by default several Java EE features were disabled by default in Java 9. This affects JAXB and CORBA, which are no longer visible by default.

      Lucene is clean of those features but Solr uses javax.xml.bind.DatatypeConverter in SimplePostTool, which is not visible by default in Java 9. Interestingly it uses this to encode the username/password to BASE64. Since Java 8 there is java.util.Base64, so we don't need the hack anymore.

        Attachments

          Activity

            People

            • Assignee:
              thetaphi Uwe Schindler
              Reporter:
              thetaphi Uwe Schindler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: