[
https://issues.apache.org/jira/browse/LANG-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580328#comment-16580328
]
Oliver Heger commented on LANG-1339:
------------------------------------
+1 to the suggestion of Gilles. Instantiate the {{observers}} list as a
{{CopyOnWriteArrayList}}, then we are thread-safe from the start.
> 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.8
>
>
> 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
(v7.6.3#76005)