Classpath Exception in OpenJDK and Subclassing
Serous Alex
alex_serous at outlook.com
Tue Jan 23 10:54:08 UTC 2024
Hello Clemens,
Thank you very much for your experience.
Could anyone advice me an appropriate channel that may clarify this issue once and for all?
I believe it would be good for the Java Community if these kind of uncertainities were explained by the developers, because they cover very popular aspects of
programming in Java.
Best Regards,
Alex
========================================================================================================
Hi Alex,
> 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)?
Unfortunatly I don't have an answer to this question, however at least
one commercial java runtime implementation is based on the assumption
this is possible.
I once asked Leaning Technologies, the company behind the in-browser
JVM "CheerpJ", for the sources of their platform specific runtime
classes and they declined my request citing the linking exception.
Best regards, Clemens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/discuss/attachments/20240123/bf377c9d/attachment-0001.htm>
More information about the discuss
mailing list