corretto-8 icon indicating copy to clipboard operation
corretto-8 copied to clipboard

Correto licensing and Classpath Exceptions

Open psinghsp opened this issue 5 years ago • 4 comments

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

psinghsp avatar Dec 06 '19 18:12 psinghsp

Thanks for the question. We’ll get back with an answer soon.

ziyiluo avatar Dec 07 '19 00:12 ziyiluo

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.

davecurrie avatar Dec 09 '19 21:12 davecurrie

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.

psinghsp avatar Dec 09 '19 22:12 psinghsp

Following files do not have license header:

c.zip

psinghsp avatar Dec 09 '19 22:12 psinghsp