Classpath Exception in OpenJDK and Subclassing

Clemens Eisserer linuxhippy at gmail.com
Tue Jan 23 07:57:26 UTC 2024


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


More information about the discuss mailing list