commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1339) Some classes depend on the java.desktop profile
Date Mon, 19 Jun 2017 13:31:00 GMT

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

Stephen Colebourne commented on LANG-1339:
------------------------------------------

The best option seems to be to abuse the "requires static" concept, making the "java.desktop"
dependency optional.

While the offending classes could be deprecated and replaced, there seems to be an unwillingness
to do so without changing the package name (my view is that changing the package name again
would be a mistake).

> 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
>              Labels: Java9
>             Fix For: 3.7
>
>
> 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
(v6.4.14#64029)

Mime
View raw message