Sineaggi commented on PR #299:
URL: https://github.com/apache/commons-lang/pull/299#issuecomment-1369200406

   @kinow I have an alternative branch that would allow users to continue to 
use `AbstractCircuitBreaker` with or without the `java.desktop` module, 
available here 
https://github.com/apache/commons-lang/compare/master...Sineaggi:commons-lang:make-java.desktop-optional.
   
   In this case we provide two ways of specifying a listener, one from 
`java.desktop` and on provided by apache. For users that still use the 
`java.beans.PropertyChangeListener`, they'll need a `requires java.desktop` in 
their module-info.java file, but for other users they can use the new 
`org.apache.commons.lang3.concurrent.StateChangeListener` without issue. I 
could also do some extra work to make the new classes closely mirror the ones 
in `java.beans`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to