From a1c850b267dc6892aff8ea8b5830f8cda44a8ed8 Mon Sep 17 00:00:00 2001 From: Erik Joelsson Date: Thu, 14 Dec 2017 18:20:33 +0100 Subject: [PATCH] 8193208: Add additional licensing file for the JDK Reviewed-by: asaha, tbell, ihse --- ADDITIONAL_LICENSE_INFO | 37 ++++++++++++++++++++++++++++++++++++ make/copy/Copy-java.base.gmk | 3 ++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 ADDITIONAL_LICENSE_INFO diff --git a/ADDITIONAL_LICENSE_INFO b/ADDITIONAL_LICENSE_INFO new file mode 100644 index 00000000000..ff700cd09f6 --- /dev/null +++ b/ADDITIONAL_LICENSE_INFO @@ -0,0 +1,37 @@ + ADDITIONAL INFORMATION ABOUT LICENSING + +Certain files distributed by Oracle America, Inc. and/or its affiliates are +subject to the following clarification and special exception to the GPLv2, +based on the GNU Project exception for its Classpath libraries, known as the +GNU Classpath Exception. + +Note that Oracle includes multiple, independent programs in this software +package. Some of those programs are provided under licenses deemed +incompatible with the GPLv2 by the Free Software Foundation and others. +For example, the package includes programs licensed under the Apache +License, Version 2.0 and may include FreeType. Such programs are licensed +to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding the +Classpath Exception to the necessary parts of its GPLv2 code, which permits +you to use that code in combination with other independent modules not +licensed under the GPLv2. However, note that this would not permit you to +commingle code under an incompatible license with Oracle's GPLv2 licensed +code by, for example, cutting and pasting such code into a file also +containing Oracle's GPLv2 licensed code and then distributing the result. + +Additionally, if you were to remove the Classpath Exception from any of the +files to which it applies and distribute the result, you would likely be +required to license some or all of the other code in that distribution under +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms +of some items included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to further +distribute the package. + +Failing to distribute notices associated with some files may also create +unexpected legal consequences. + +Proceed with caution and we recommend that you obtain the advice of a lawyer +skilled in open source matters before removing the Classpath Exception or +making modifications to this package which may subsequently be redistributed +and/or involve the use of third party software. diff --git a/make/copy/Copy-java.base.gmk b/make/copy/Copy-java.base.gmk index a0bcffbc12a..74759879179 100644 --- a/make/copy/Copy-java.base.gmk +++ b/make/copy/Copy-java.base.gmk @@ -219,9 +219,10 @@ endif # different license. JDK_LICENSE ?= $(wildcard $(TOPDIR)/LICENSE) JDK_NOTICE ?= $(wildcard $(TOPDIR)/ASSEMBLY_EXCEPTION) +JDK_ADDITIONAL_LICENSE_INFO ?= $(wildcard $(TOPDIR)/ADDITIONAL_LICENSE_INFO) $(eval $(call SetupCopyFiles, COPY_JDK_NOTICES, \ - FILES := $(JDK_LICENSE) $(JDK_NOTICE), \ + FILES := $(JDK_LICENSE) $(JDK_NOTICE) $(JDK_ADDITIONAL_LICENSE_INFO), \ DEST := $(LEGAL_DST_DIR), \ FLATTEN := true, \ ))