You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2016/05/16 15:33:12 UTC

[jira] [Created] (SOLR-9115) Get rid of javax.xml.bind.DatatypeConverter in Solr's SimplePostTool

Uwe Schindler created SOLR-9115:
-----------------------------------

             Summary: Get rid of javax.xml.bind.DatatypeConverter in Solr's SimplePostTool
                 Key: SOLR-9115
                 URL: https://issues.apache.org/jira/browse/SOLR-9115
             Project: Solr
          Issue Type: Task
          Components: scripts and tools
    Affects Versions: 6.0
            Reporter: Uwe Schindler
            Assignee: Uwe Schindler
             Fix For: 6.1, master (7.0)


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org