[
https://issues.apache.org/jira/browse/LANG-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086173#comment-17086173
]
Bruno P. Kinoshita commented on LANG-1339:
------------------------------------------
[~ggregory]
>Whatever we do, let's not break binary compatibility within a major version
>line, 3.x in this case.
+1. That's along the comments of others in the pull request (I think
[[email protected]] was strong on that point). So I created the pull
request trying to keep binary compatibility by only adding the deprecated
annotation.
Then copied the old classes with new names (AbstractCircuitBreaker copied as
BaseCircuitBreaker, EventCountCircuitBreaker copied as
EventCounterCircuitBreaker, etc). Also copied the tests as they had to be
updated to use Consumer<State>'s instead of the PropertyChangeListener's.
I thought we would be important to deprecate the circuit breakers in the 3.x
release line, so that we could remove them and their dependency to java.desktop
in the 4.0 release. But otherwise no hurry on this.
> Some classes depend on the java.desktop profile
> -----------------------------------------------
>
> Key: LANG-1339
> URL: https://issues.apache.org/jira/browse/LANG-1339
> Project: Commons Lang
> Issue Type: Task
> Reporter: Benedikt Ritter
> Priority: Major
> Labels: Java9
> Fix For: 4.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Commons Lang currently depends on java.desktop. This seems like an
> unnecessary heavy dependency for a library like Commons Lang. We need to find
> a way to fix this, without breaking bc. For more information see
> https://lists.apache.org/thread.html/8db8ec4aa1bdeae3d471ca4f46a21dc7da1a4c6933e1810238b72283@%3Cdev.commons.apache.org%3E
--
This message was sent by Atlassian Jira
(v8.3.4#803005)