[ 
https://issues.apache.org/jira/browse/LANG-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086171#comment-17086171
 ] 

Bruno P. Kinoshita commented on LANG-1339:
------------------------------------------

[~erans]

>You might have to stress that users are responsible for thread-safety (of the 
>provided {{Consumer}}).
>It's sufficient to solve this issue, but it will remove existing functionality 
>(when the class won't extend the deprecated parent anymore).

Good  point. Do you think it should be in the javadocs, release notes, or both?

Note that these changes are in new classes. The pull request is not modifying 
the existing classes to avoid breaking binary compatibility, except for adding 
the "deprecated" annotation.

The plan would be to deprecate as soon as possible, to give users time to 
update their code. Then in Lang 4 remove the classes, and we would then finally 
be able to use java 9 modules without depending on java.desktop.

> 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)

Reply via email to