OpenJDK and JNI -- licensing

Andrew Haley aph at redhat.com
Wed Jul 8 10:44:08 UTC 2009


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