commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1339) Some classes depend on the java.desktop profile
Date Sun, 05 Nov 2017 02:57:00 GMT

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

ASF GitHub Bot commented on LANG-1339:
--------------------------------------

Github user kinow commented on the issue:

    https://github.com/apache/commons-lang/pull/275
  
    >My suggestion would be to add two new classes with the fixed code (different class
names), and deprecated the old classes. That way there is no need to have commons-lang v4.
    
    Thought a bit about that after seeing the vote for [lang] 3.7. In any way, the current
implementation will be removed only in 4.x, and we will have to include the require static
for Java 9 module.
    
    So right now I am thinking about not marking the class or fields as deprecated, nor adding
another class with a different name. Just keep this PR and the ticket open. Then mark the
ticket as FixVersion 4.0, use the require static trick for the module-info.java for Java 9.
    
    Does that sound like a good plan?


> 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