Is third party code included in langtools sources?

Andrew John Hughes gnu_andrew at member.fsf.org
Fri Aug 15 18:15:19 UTC 2008


On 05/08/2008, Yulia Novozhilova <Yulia.Novozhilova at sun.com> wrote:
> Hi,
>
>  Could you please, help me to answer a question:
>  Is third party code included in langtools sources?
>  If "no" then _why_  the THIRD_PARTY_README and ASSEMBLY_EXCEPTION files are
> included into the repository?
>
>  Actually I'm working on the Debian/Ubuntu native packaging for NetBeans
> IDE.
>  NetBeans uses javac that is a fork of the langtools repository:
>  http://hg.openjdk.java.net/jdk7/tl/langtools/
>
>  So I have to create a debian package for it.  The problem is that Debian
> policy is strict about license:
>  I must point the license for each file in the upstream source (files from
> langtools repository). Currently I can't explain why
>  THIRD_PARTY_README and ASSEMBLY_EXCEPTION are in the upstream. Are there
> any files that need them?
>
>  Thanks in advance,
>  -Yulia
>
> Hi,
>    the NetBeans javac is a fork of the javac from the OpenJDK. More
> precisely, we use a fork of the langtools repository:
>  http://hg.openjdk.java.net/jdk7/tl/langtools/
>
>  The THIRD_PARTY_README and ASSEMBLY_EXCEPTION files originate in this
> repository. I am not sure if we can simply delete them. Better solution, in
> my opinion, would be to ask the maintainers of OpenJDK/langtools repository
> whether these files could be removed from the original langtools repository
> (I do not think these are needed for langtools, but IANAL). We could adopt
> the change in our fork easily.
>
>  Jan
>
>  Yulia Novozhilova wrote:
>
> > Hi,
> >
> > As nobody responds I think it is better to use the same license and
> copyright files for packaging as we've used for javaparser-6.0:
> >
> http://java.netbeans.org/files/documents/25/1798/nb-javaparser-6.0-src.zip
> >
> > nb-javaparser-6.0-src.zip doesn't contain THIRD_PARTY_README and
> ASSEMBLY_EXCEPTION, so
> >
> > Honza, could you please, ___remove___ these files from the
> >
> >
> http://java.netbeans.org/files/documents/25/2033/nb-javaparser-6.1-src.zip
> ?
> >
> > Thanks in advance,
> > Yulia
> >
> >
> > Yulia Novozhilova wrote:
> >
> > > Hi all,
> > >
> > > Could someone explain me how to determine what license .java file (for
> example) is under?
> > > I definitely don't understand why we need THIRD_PARTY_README and
> ASSEMBLY_EXCEPTION for javaparser upstream.
> > > Does third party code is included there? How can I check that?
> > > I've looked through the source code  in
> http://java.netbeans.org/files/documents/25/2033/nb-javaparser-6.1-src.zip
> > > and couldn't find any copyright mentioned in THIRD_PARTY_README.
> > >
> > > Furthermore for NetBeans we remove all license files from the upstream,
> including THIRDPARTYLICENSEREADME.txt and leave
> > > one LICENSE file with GNU and CDDL licenses.
> > >
> > > Thanks in advance,
> > > Yulia
> > >
> > > Dalibor Topic wrote:
> > >
> > > > Marek Slama wrote:
> > > >
> > > > > Question: What is THIRD_PARTY_README good for?
> > > > >
> > > >
> > > > In OpenJDK, we use that file to track licenses of third party code
> included in the source code,
> > > > so that downstream knows what the ingredients are. See
> http://hg.openjdk.java.net/jdk7/jdk7/file/3300a35a0bd5/THIRD_PARTY_README
> for an example.
> > > >
> > > > > It is necessary to include this?
> > > > >
> > > > It makes the life of the packager easier, in general, since Debian,
> for example, wants to know what
> > > > licenses all the code in a project is under, including third party
> code that's included in the sources.
> > > >
> > > > cheers,
> > > > dalibor topic
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>

The more obvious question for me is why NetBeans needs a fork of this
in the first place.  The Debian OpenJDK team have already gone through
the extensive task of verifying this code legally to package OpenJDK
6, which is now in unstable and testing:

http://release.debian.org/migration/testing.pl?package=openjdk-6

Having another copy in another package seems ludicrous and a
duplication of existing work.
-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the core-libs-dev mailing list