OpenJDK and JNI -- licensing

Volker Simonis volker.simonis at gmail.com
Wed Jul 8 10:53:45 UTC 2009


I thought, GPL'd code can only use GPL'd code. Otherwise I could
always write a wrapper which is GPL+exception in order to use any kind
of code together with GPL'd code by means of that wrapper.

On 7/8/09, Andrew Haley <aph at redhat.com> wrote:
> Volker Simonis wrote:
>  > Yes, I understand that conflict. But the HotSpot library libjvm.so
>  > itself is build mostly from files which are pure GPL and some files
>  > (in particular "jni.h") which are GPL + class path exception).
>  >
>  > So how can "jni.cpp" (which is GPL only) include "jni.h" (which is GPL
>  > + class path) and finally be statically linked with other GPL only
>  > files into a GPL-only "libjvm.so"???
>
>
> Why not?  GPL'd code can use GPL+exception code.  What makes you
>  think otherwise?
>
>
>  Andrew.
>



More information about the discuss mailing list