[tor-bugs] #18718 [metrics-lib]: remove last impl. dependency from api

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 5 19:11:34 UTC 2016


#18718: remove last impl. dependency from api
-------------------------+-------------------------
 Reporter:  iwakeh       |          Owner:  karsten
     Type:  defect       |         Status:  new
 Priority:  Medium       |      Milestone:
Component:  metrics-lib  |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+-------------------------

Comment (by iwakeh):

 Well, you're right with backward-compatibility.

 I see two steps:

 First let `org.torproject.descriptor.DescriptorParseException` extend
 `Exception`
 which is a minor version change and makes the api part independent of the
 impl package.

 Second, remove `impl.DescriptorParseException` in version 2.0.0

 It's more important to make the api package independent of impl.
 It doesn't really matter that much if the impl Exception is there too or
 not.

 Maybe, have a ticket as parent of all 2.0.0 relevant tickets?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18718#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list