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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0
    • 6.0.1, 6.1, 7.0
    • scripts and tools
    • 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

        1. SOLR-9115.patch
          2 kB
          Uwe Schindler

        Activity

          People

            uschindler Uwe Schindler
            uschindler Uwe Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: