commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1339) Some classes depend on the java.desktop profile
Date Wed, 08 Nov 2017 22:59:00 GMT

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

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

>Deprecate the offending class as out of scope for Commons Lang and remove it in 4.0.0
>Reintroduce it in a new Commons component called Apache Commons Desktop 1.0.0

What about just using a different approach, without java.desktop classes (as in https://github.com/apache/commons-lang/pull/275)
in commons-lang-4.x ?

We leave everything as is for now, with the module-info.java with the require static for java.desktop.
And in 4.x remove the require static, and also fix the class to remove the dependency to 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
>              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
(v6.4.14#64029)

Mime
View raw message