[tor-bugs] #25444 [Metrics/Library]: Add jaxb dependency explicitly for java 9

2018-03-07 Thread Tor Bug Tracker & Wiki
#25444: Add jaxb dependency explicitly for java 9
-+--
 Reporter:  iwakeh   |  Owner:  metrics-team
 Type:  defect   | Status:  new
 Priority:  Low  |  Milestone:
Component:  Metrics/Library  |Version:
 Severity:  Normal   |   Keywords:
Actual Points:   |  Parent ID:  #25443
   Points:   |   Reviewer:
  Sponsor:   |
-+--
 jaxb dependency needs to be added explicitly when using java 9

 The implementation of jaxb is not part of standard java9 se anymore (it is
 part of java ee).

 This can be fixed by adding the 'jaxb-core' jar, which is available as
 part of debian package 'libjaxb-java'.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25444 [Metrics/Library]: Add jaxb dependency explicitly for java 9

2018-03-20 Thread Tor Bug Tracker & Wiki
#25444: Add jaxb dependency explicitly for java 9
-+--
 Reporter:  iwakeh   |  Owner:  metrics-team
 Type:  defect   | Status:  new
 Priority:  Low  |  Milestone:
Component:  Metrics/Library  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:  #25443   | Points:
 Reviewer:   |Sponsor:
-+--

Comment (by karsten):

 I think the only class we're using from that library is
 `javax.xml.bind.DatatypeConverter`, and the reason why we're using that
 is:

 {{{
 commit 1734d1663944acf20d275ac4f66be87d497ab7cb
 Author: Karsten Loesing 
 Date:   Wed Aug 5 13:53:38 2015 +0200

 Remove commons-codec dependency.

 Turns out that Java already comes with default implementations of
 SHA-1, SHA-256, and Base64 that we can use.
 }}}

 It was simply convenient that this class existed in Java SE. But before we
 add a new dependency, maybe we should simply switch back to Apache Commons
 Codec.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #25444 [Metrics/Library]: Add jaxb dependency explicitly for java 9

2018-03-26 Thread Tor Bug Tracker & Wiki
#25444: Add jaxb dependency explicitly for java 9
-+--
 Reporter:  iwakeh   |  Owner:  metrics-team
 Type:  defect   | Status:  new
 Priority:  Low  |  Milestone:
Component:  Metrics/Library  |Version:
 Severity:  Normal   | Resolution:
 Keywords:   |  Actual Points:
Parent ID:  #25443   | Points:
 Reviewer:   |Sponsor:
-+--

Comment (by iwakeh):

 Yes, that's true we removed that dependency a while ago.  Let's simply add
 Apache Commons Codec again.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs