Classpath Exception in OpenJDK and Subclassing

Serous Alex alex_serous at outlook.com
Sun Jan 21 11:46:02 UTC 2024


Hello,

I have a question about extending and implementing openjdk classes and interfaces.
As far as I understood (see the last paragraph of OpenJDK license), the "CLASSPATH" EXCEPTION TO THE GPL allows one to link to certain classes of the library and to copy and distribute the resulting executable under terms of ones choice.
However, I cannot find anywhere does the term "link" used in the exception cover also subclassing and interface implementation?
In other words, is one allowed to implement, for example, the Callable<T> interface or extend the Thread class and copy and distribute the resulting executable under terms of ones choice (ofc, complying also with other requirements of the last paragraph of the openjdk license file)?

Thank you in advance for the answer.
Best Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/discuss/attachments/20240121/fb6786b2/attachment-0001.htm>


More information about the discuss mailing list