You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2015/01/29 15:29:35 UTC

[jira] [Created] (HADOOP-11519) ExcludePrivateAnnotationsJDiffDoclet uses GPL derived code

Emmanuel Bourg created HADOOP-11519:
---------------------------------------

             Summary: ExcludePrivateAnnotationsJDiffDoclet uses GPL derived code
                 Key: HADOOP-11519
                 URL: https://issues.apache.org/jira/browse/HADOOP-11519
             Project: Hadoop Common
          Issue Type: Bug
          Components: tools
    Affects Versions: 2.6.0
            Reporter: Emmanuel Bourg


Hi,

I think there may be a license issue with the JDiff library used by {{ExcludePrivateAnnotationsJDiffDoclet}}. JDiff is licensed under the LGPL, but it actually contains a class ported from GNU Diff which is licensed under the GPL. This means that the whole library should be considered GPL and cannot be used by Apache.

The GPL file in JDiff is {{DiffMyers.java}}:
http://javadiff.cvs.sourceforge.net/viewvc/javadiff/jdiff/src/jdiff/DiffMyers.java?revision=1.2&view=markup

It was translated from {{analyze.c}} in GNU Diff:
http://git.savannah.gnu.org/cgit/diffutils.git/tree/src/analyze.c?id=v2.7

The code structure, variable names and comments are highly similar, so there is little doubt the code was copied and inherits the original GPL license.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)