You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Kristian Rosenvold <kr...@gmail.com> on 2010/06/11 08:27:10 UTC

A legal-ish question

I have a memoizer
(http://www.javaconcurrencyinpractice.com/listings/Memoizer.java) that
I'd like to include "somewhere" in our code base. It's like 30 lines of
code or so. 

Ï've seen this snippet of code (or extremely minor permutations of it)
appear a number of places, under various lisence headers, for instance:

http://www.koders.com/java/fid960BDFDD3A35D42E6652E79BA3F959A375024F0B.aspx?s=mdef%3Acompute


What's the appropriate thing to do IP-wise wrt including such a piece of
code ? The specific implementation I've linked to appears on page 108 of
the "Java Concurrency in practice" book. 

This is a *real hard* piece of code to get right, so I'm not about to
write my own.

Kristian
 




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: A legal-ish question

Posted by Jason van Zyl <ja...@sonatype.com>.
You do your coding work, I'll take care of the legal for you. The model of everyone having to check everything is stupid. Code away, if I find a problem we'll yank it.

On Jun 11, 2010, at 7:16 AM, Kristian Rosenvold wrote:

> fr., 11.06.2010 kl. 06.35 -0700, skrev Jason van Zyl:
>> On Jun 10, 2010, at 11:27 PM, Kristian Rosenvold wrote:
>> 
>>> I have a memoizer
>>> (http://www.javaconcurrencyinpractice.com/listings/Memoizer.java) that
>>> I'd like to include "somewhere" in our code base. It's like 30 lines of
>>> code or so. 
>>> 
>>> Ï've seen this snippet of code (or extremely minor permutations of it)
>>> appear a number of places, under various lisence headers, for instance:
>>> 
>>> http://www.koders.com/java/fid960BDFDD3A35D42E6652E79BA3F959A375024F0B.aspx?s=mdef%3Acompute
>>> 
>>> 
>>> What's the appropriate thing to do IP-wise wrt including such a piece of
>>> code ? The specific implementation I've linked to appears on page 108 of
>>> the "Java Concurrency in practice" book. 
>>> 
>> 
>> It's fine, bringing anything up on the legal lists here is a waste of time. 
>> will check the code with the folks at Eclipse and let you know if there is any problem. 
>> Apache has no IP checking system at all so it's honestly generally useless asking anyone here. 
>> Eclipse has a real IP clearance mechanism with real lawyers, with a real set of tools for 
>> validation using humans, Black Duck and Palimida. If you've found a public domain license 
>> then you're fine, but I'll ask the Eclipse IP team.
> 
> Sebb identified the piece of code as "public domain" via the official
> website of the book; I was looking in the hardcopy and couldn't find it
> in the printed book. So much for dead trees.
> 
> Now the link Brett sent doesn't explicitly name "Public domain" as a
> "license" with compatibility constraints, but it seems implied in the
> section on Doug Lea's concurrent library:
> http://www.apache.org/legal/resolved.html#concurrent
> 
> Kristian
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------

Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.

 -- Eric Hoffer, Reflections on the Human Condition




Re: A legal-ish question

Posted by Jesse McConnell <je...@gmail.com>.
imo where ever you drop the code just make it very clear where it came
from, a link to this thread might not hurt to add as well...point
being as others have said it should be perfectly fine for code @ the
ASF but these sorts of things have a way of rearing their ugly head
years down the road and having any sort of documented history of the
code helps immensely.

as painful as it can be to do, this sort of IP tracking is critically
important within code like this

being more involved in the IP process @ eclipse now, I can testify
that Jason is completely correct on the level of detail for IP
validation within Eclipse, its staggering at times.

cheers,
jesse

--
jesse mcconnell
jesse.mcconnell@gmail.com



On Fri, Jun 11, 2010 at 09:16, Kristian Rosenvold
<kr...@gmail.com> wrote:
> fr., 11.06.2010 kl. 06.35 -0700, skrev Jason van Zyl:
>> On Jun 10, 2010, at 11:27 PM, Kristian Rosenvold wrote:
>>
>> > I have a memoizer
>> > (http://www.javaconcurrencyinpractice.com/listings/Memoizer.java) that
>> > I'd like to include "somewhere" in our code base. It's like 30 lines of
>> > code or so.
>> >
>> > Ï've seen this snippet of code (or extremely minor permutations of it)
>> > appear a number of places, under various lisence headers, for instance:
>> >
>> > http://www.koders.com/java/fid960BDFDD3A35D42E6652E79BA3F959A375024F0B.aspx?s=mdef%3Acompute
>> >
>> >
>> > What's the appropriate thing to do IP-wise wrt including such a piece of
>> > code ? The specific implementation I've linked to appears on page 108 of
>> > the "Java Concurrency in practice" book.
>> >
>>
>> It's fine, bringing anything up on the legal lists here is a waste of time.
>>  will check the code with the folks at Eclipse and let you know if there is any problem.
>> Apache has no IP checking system at all so it's honestly generally useless asking anyone here.
>> Eclipse has a real IP clearance mechanism with real lawyers, with a real set of tools for
>> validation using humans, Black Duck and Palimida. If you've found a public domain license
>> then you're fine, but I'll ask the Eclipse IP team.
>
> Sebb identified the piece of code as "public domain" via the official
> website of the book; I was looking in the hardcopy and couldn't find it
> in the printed book. So much for dead trees.
>
> Now the link Brett sent doesn't explicitly name "Public domain" as a
> "license" with compatibility constraints, but it seems implied in the
> section on Doug Lea's concurrent library:
> http://www.apache.org/legal/resolved.html#concurrent
>
> Kristian
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: A legal-ish question

Posted by sebb <se...@gmail.com>.
On 11/06/2010, Kristian Rosenvold <kr...@gmail.com> wrote:
> fr., 11.06.2010 kl. 06.35 -0700, skrev Jason van Zyl:
>
> > On Jun 10, 2010, at 11:27 PM, Kristian Rosenvold wrote:
>  >
>  > > I have a memoizer
>  > > (http://www.javaconcurrencyinpractice.com/listings/Memoizer.java) that
>  > > I'd like to include "somewhere" in our code base. It's like 30 lines of
>  > > code or so.
>  > >
>  > > Ï've seen this snippet of code (or extremely minor permutations of it)
>  > > appear a number of places, under various lisence headers, for instance:
>  > >
>  > > http://www.koders.com/java/fid960BDFDD3A35D42E6652E79BA3F959A375024F0B.aspx?s=mdef%3Acompute
>  > >
>  > >
>  > > What's the appropriate thing to do IP-wise wrt including such a piece of
>  > > code ? The specific implementation I've linked to appears on page 108 of
>  > > the "Java Concurrency in practice" book.
>  > >
>  >
>  > It's fine, bringing anything up on the legal lists here is a waste of time.
>
> >  will check the code with the folks at Eclipse and let you know if there is any problem.
>  > Apache has no IP checking system at all so it's honestly generally useless asking anyone here.
>  > Eclipse has a real IP clearance mechanism with real lawyers, with a real set of tools for
>  > validation using humans, Black Duck and Palimida. If you've found a public domain license
>  > then you're fine, but I'll ask the Eclipse IP team.
>
>
> Sebb identified the piece of code as "public domain" via the official
>  website of the book; I was looking in the hardcopy and couldn't find it
>  in the printed book. So much for dead trees.
>
>  Now the link Brett sent doesn't explicitly name "Public domain" as a
>  "license" with compatibility constraints, but it seems implied in the
>  section on Doug Lea's concurrent library:
>  http://www.apache.org/legal/resolved.html#concurrent

The section at
http://www.apache.org/legal/resolved.html#category-a
includes the link:

"Creative Commons Copyright-Only Dedication"
which links to
http://creativecommons.org/licenses/publicdomain/

i.e. the same as in the
http://www.javaconcurrencyinpractice.com/listings.html

So I think it's clear that the link Brett supplied does apply to ASF
code so long as you use the source from the JCIP site.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: A legal-ish question

Posted by Kristian Rosenvold <kr...@gmail.com>.
fr., 11.06.2010 kl. 06.35 -0700, skrev Jason van Zyl:
> On Jun 10, 2010, at 11:27 PM, Kristian Rosenvold wrote:
> 
> > I have a memoizer
> > (http://www.javaconcurrencyinpractice.com/listings/Memoizer.java) that
> > I'd like to include "somewhere" in our code base. It's like 30 lines of
> > code or so. 
> > 
> > Ï've seen this snippet of code (or extremely minor permutations of it)
> > appear a number of places, under various lisence headers, for instance:
> > 
> > http://www.koders.com/java/fid960BDFDD3A35D42E6652E79BA3F959A375024F0B.aspx?s=mdef%3Acompute
> > 
> > 
> > What's the appropriate thing to do IP-wise wrt including such a piece of
> > code ? The specific implementation I've linked to appears on page 108 of
> > the "Java Concurrency in practice" book. 
> > 
> 
> It's fine, bringing anything up on the legal lists here is a waste of time. 
>  will check the code with the folks at Eclipse and let you know if there is any problem. 
> Apache has no IP checking system at all so it's honestly generally useless asking anyone here. 
> Eclipse has a real IP clearance mechanism with real lawyers, with a real set of tools for 
> validation using humans, Black Duck and Palimida. If you've found a public domain license 
> then you're fine, but I'll ask the Eclipse IP team.

Sebb identified the piece of code as "public domain" via the official
website of the book; I was looking in the hardcopy and couldn't find it
in the printed book. So much for dead trees.

Now the link Brett sent doesn't explicitly name "Public domain" as a
"license" with compatibility constraints, but it seems implied in the
section on Doug Lea's concurrent library:
http://www.apache.org/legal/resolved.html#concurrent

Kristian



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: A legal-ish question

Posted by Jason van Zyl <ja...@sonatype.com>.
On Jun 10, 2010, at 11:27 PM, Kristian Rosenvold wrote:

> I have a memoizer
> (http://www.javaconcurrencyinpractice.com/listings/Memoizer.java) that
> I'd like to include "somewhere" in our code base. It's like 30 lines of
> code or so. 
> 
> Ï've seen this snippet of code (or extremely minor permutations of it)
> appear a number of places, under various lisence headers, for instance:
> 
> http://www.koders.com/java/fid960BDFDD3A35D42E6652E79BA3F959A375024F0B.aspx?s=mdef%3Acompute
> 
> 
> What's the appropriate thing to do IP-wise wrt including such a piece of
> code ? The specific implementation I've linked to appears on page 108 of
> the "Java Concurrency in practice" book. 
> 

It's fine, bringing anything up on the legal lists here is a waste of time. I will check the code with the folks at Eclipse and let you know if there is any problem. Apache has no IP checking system at all so it's honestly generally useless asking anyone here. Eclipse has a real IP clearance mechanism with real lawyers, with a real set of tools for validation using humans, Black Duck and Palimida. If you've found a public domain license then you're fine, but I'll ask the Eclipse IP team.

> This is a *real hard* piece of code to get right, so I'm not about to
> write my own.
> 
> Kristian
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
---------------------------------------------------------





Re: A legal-ish question

Posted by sebb <se...@gmail.com>.
On 11/06/2010, Kristian Rosenvold <kr...@gmail.com> wrote:
> I have a memoizer
>  (http://www.javaconcurrencyinpractice.com/listings/Memoizer.java) that
>  I'd like to include "somewhere" in our code base. It's like 30 lines of
>  code or so.
>
>  Ï've seen this snippet of code (or extremely minor permutations of it)
>  appear a number of places, under various lisence headers, for instance:
>
>  http://www.koders.com/java/fid960BDFDD3A35D42E6652E79BA3F959A375024F0B.aspx?s=mdef%3Acompute
>
>
>  What's the appropriate thing to do IP-wise wrt including such a piece of
>  code ? The specific implementation I've linked to appears on page 108 of
>  the "Java Concurrency in practice" book.

If you want to include this in ASF code, then IMO this question should
be asked on the ASF legal-discuss list.

Note: the covering description page [1] for the code says

<quote>
 Written by Brian Goetz and Tim Peierls with assistance from members of
    JCP JSR-166 Expert Group and released to the public domain, as explained at
    http://creativecommons.org/licenses/publicdomain
</quote>

>  This is a *real hard* piece of code to get right, so I'm not about to
>  write my own.

+1 to that!

[1] http://www.javaconcurrencyinpractice.com/listings.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: A legal-ish question

Posted by sebb <se...@gmail.com>.
On 11/06/2010, Brett Porter <br...@apache.org> wrote:
>
>  On 11/06/2010, at 4:27 PM, Kristian Rosenvold wrote:
>
>  > I have a memoizer
>  > (http://www.javaconcurrencyinpractice.com/listings/Memoizer.java) that
>  > I'd like to include "somewhere" in our code base. It's like 30 lines of
>  > code or so.
>  >
>  > Ï've seen this snippet of code (or extremely minor permutations of it)
>  > appear a number of places, under various lisence headers, for instance:
>  >
>  > http://www.koders.com/java/fid960BDFDD3A35D42E6652E79BA3F959A375024F0B.aspx?s=mdef%3Acompute
>  >
>  >
>  > What's the appropriate thing to do IP-wise wrt including such a piece of
>  > code ? The specific implementation I've linked to appears on page 108 of
>  > the "Java Concurrency in practice" book.
>
>
> It's fine to include it under the terms of it's public domain license:
>  http://www.apache.org/legal/resolved.html#category-a

Huh? That does not mention Public Domain?

>  - Brett
>
>
>  --
>  Brett Porter
>  brett@apache.org
>  http://brettporter.wordpress.com/
>
>
>
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>  For additional commands, e-mail: dev-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: A legal-ish question

Posted by Brett Porter <br...@apache.org>.
On 11/06/2010, at 4:27 PM, Kristian Rosenvold wrote:

> I have a memoizer
> (http://www.javaconcurrencyinpractice.com/listings/Memoizer.java) that
> I'd like to include "somewhere" in our code base. It's like 30 lines of
> code or so. 
> 
> Ï've seen this snippet of code (or extremely minor permutations of it)
> appear a number of places, under various lisence headers, for instance:
> 
> http://www.koders.com/java/fid960BDFDD3A35D42E6652E79BA3F959A375024F0B.aspx?s=mdef%3Acompute
> 
> 
> What's the appropriate thing to do IP-wise wrt including such a piece of
> code ? The specific implementation I've linked to appears on page 108 of
> the "Java Concurrency in practice" book. 

It's fine to include it under the terms of it's public domain license:
http://www.apache.org/legal/resolved.html#category-a

- Brett

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org