commons-issues mailing list archives

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


ASF GitHub Bot commented on LANG-1339:

Github user kinow commented on the issue:
    >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 for Java 9.
    Does that sound like a good plan?

> Some classes depend on the java.desktop profile
> -----------------------------------------------
>                 Key: LANG-1339
>                 URL:
>             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

This message was sent by Atlassian JIRA

View raw message