From: Mike Schilling on
Peter Duniho wrote:
>
> One might argue that it's silly for Sun to have applied the license
> to
> sample code.

Or one (me) might argue that "silly" is a severe understatement.



From: Arne Vajhøj on
John B. Matthews wrote:
> In article <4ab51f99$0$280$14726298(a)news.sunsite.dk>,
> Arne Vajhøj <arne(a)vajhoej.dk> wrote:
>
>> If GPL is used, then any code "linked" to that code
>> must be under GPL or it is violating the license.
>
> That is correct, but the example cited by the OP includes a specific
> exception:
>
> 'Sun designates this particular file as subject to the "Classpath"
> exception as provided by Sun in the License file that accompanied this
> code.'
>
> The exception is highlighted in yellow here:
>
> <https://glassfish.dev.java.net/public/CDDL+GPL.html>
>
> This would affect the OP's rights and obligations regarding
> redistribution.
>
> A similar exception is provided for runtime library elements that are
> linked by various gcc compilers.

Ah.

I should have read the entire text.

GPL with classpath exception works much like CDDL here
except that it is GPL compatible.

Arne
From: Arne Vajhøj on
John Leonard wrote:
> If I use GPL'd code in a program, I must release the program under GPL
> license as well.

If you distribute the app outside your organization.

(and there are no linking exception)

> Many (if not all) API samples provided by Sun carry some form of GPL
> license.

Are you sure about that ?

Arne
From: Arne Vajhøj on
John Leonard wrote:
> On Sep 19, 2:16 pm, markspace <nos...(a)nowhere.com> wrote:
>> John Leonard wrote:
>>>> Sun owns the resulting code if you do that. Also, if you remove the
>>>> copyright notice, you've violated the law.
>>> I am sure that the license does not transfer ownership to Sun.
>> I think it does. Your modifications become a "derivative work" and the
>> rights to a derivative work stay with the original rights holder. That
>> would be Sun, as clearly stated at the very top of the comments block.
>>
>> You still have the right to USE it under the license Sun granted you
>> (GPL/CDDL), but Sun OWNS it.
>
> That is preposterous.

But not true so ...

Arne
From: Arne Vajhøj on
markspace wrote:
> Arne Vajh�j wrote:
>>
>> Where do you read that?
>
> <http://en.wikipedia.org/wiki/Derivative_work>

????

That one says:

"The copyright in a compilation or derivative work extends only to the
material contributed by the author of such work"

You keep copyright of what you have written. SUN keep the copyright
of what they have written. No transfer any direction.

Arne