[
https://issues.apache.org/jira/browse/LANG-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085392#comment-17085392
]
Bruno P. Kinoshita commented on LANG-1339:
------------------------------------------
[~erans], [~oheger] I've updated the pull request, but instead of creating the
new class or interface and methods for Observables, I've used a
`Consumer<State>`, that is applied whenever the state changes. If users want to
have multiple "listeners", they should be able to write a Consumer that
notifies other objects. I thought it could be a simpler approach, WDYT?
[https://github.com/apache/commons-lang/pull/275]
The old classes are still there, just marked as deprecated, so binary
compatibility should be OK.
> 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: 3.10.1
>
> Time Spent: 20m
> 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)