GitHub user kinow opened a pull request: https://github.com/apache/commons-lang/pull/275
[WIP] LANG-1339: replace java.beans.PropertyListener by java.util.Observable For discussion, regarding [LANG-1339](https://issues.apache.org/jira/browse/LANG-1339) (TL;DR: remove depedency on java.desktop from [lang], preparing for Java 9). Thought having some code to discuss would be helpful. This pull request contains a possible solution, where java.beans.{PropertyChangeListener,PropertyChangeListener} are replaced by java.util.{Observer,Observable}. Users would still have the same feature, but alas binary compatibility would not be kept. So perhaps this could be in a 4.x release. The other methods are deprecated in the next 3.x releases, and we remove the dependency to java.desktop on 4.x, and also offer a Java9 module with no dependency java.desktop. Would this be a viable alternative? Cheers Bruno You can merge this pull request into a Git repository by running: $ git pull https://github.com/kinow/commons-lang LANG-1339 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-lang/pull/275.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #275 ---- commit 0ba4ea983b0e2ffdffd102b23921292c3c92d3ac Author: Bruno P. Kinoshita <ki...@apache.org> Date: 2017-07-09T10:01:06Z LANG-1339: replace java.beans.PropertyListener by java.util.Observable ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---