corretto-8
corretto-8 copied to clipboard
Correto licensing and Classpath Exceptions
Hi
I could not find where to ask this - so filing a bug.
I downloaded the source of Amazon Corretto. There are around 2700+ Java files without Classpath Exception in the header. Does that mean that I have to delete these files from source and build my own Corretto distribution to be safe from GPL licensing terms?
Thanks
Thanks for the question. We’ll get back with an answer soon.
Hi.
Corretto is a distribution of OpenJDK, which is mostly GPLv2 with Classpath Exception. However, the Hotspot JVM included in OpenJDK is GPLv2 since it is used to run code and is not linked to directly by Java programs. This is not legal advice and we recommend you speak to your own counsel about the implications of running programs using OpenJDK if you are not clear.
Thanks for the advice. We are working with our lawyers.
The question is not about Hotspot VM code.
There are a lot of Java files in "sun" folder related to Swing, AWT, Resources which do not have a license header. What is the license for these files? I can provide a list of these files if needed - but a quick scan of src.zip of Java files without license header reveals which Java files do not have license header.