OpenJDK and JNI -- licensing

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

Volker Simonis wrote:
> Yes, I understand that conflict. But the HotSpot library
> 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 ""???

Why not?  GPL'd code can use GPL+exception code.  What makes you
think otherwise?


More information about the discuss mailing list