Skip to content

Commit 8310ec3

Browse files
author
erikj
committed
8193208: Add additional licensing file for the JDK
Reviewed-by: asaha, tbell, ihse
1 parent b897fc2 commit 8310ec3

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

ADDITIONAL_LICENSE_INFO

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
ADDITIONAL INFORMATION ABOUT LICENSING
2+
3+
Certain files distributed by Oracle America, Inc. and/or its affiliates are
4+
subject to the following clarification and special exception to the GPLv2,
5+
based on the GNU Project exception for its Classpath libraries, known as the
6+
GNU Classpath Exception.
7+
8+
Note that Oracle includes multiple, independent programs in this software
9+
package. Some of those programs are provided under licenses deemed
10+
incompatible with the GPLv2 by the Free Software Foundation and others.
11+
For example, the package includes programs licensed under the Apache
12+
License, Version 2.0 and may include FreeType. Such programs are licensed
13+
to you under their original licenses.
14+
15+
Oracle facilitates your further distribution of this package by adding the
16+
Classpath Exception to the necessary parts of its GPLv2 code, which permits
17+
you to use that code in combination with other independent modules not
18+
licensed under the GPLv2. However, note that this would not permit you to
19+
commingle code under an incompatible license with Oracle's GPLv2 licensed
20+
code by, for example, cutting and pasting such code into a file also
21+
containing Oracle's GPLv2 licensed code and then distributing the result.
22+
23+
Additionally, if you were to remove the Classpath Exception from any of the
24+
files to which it applies and distribute the result, you would likely be
25+
required to license some or all of the other code in that distribution under
26+
the GPLv2 as well, and since the GPLv2 is incompatible with the license terms
27+
of some items included in the distribution by Oracle, removing the Classpath
28+
Exception could therefore effectively compromise your ability to further
29+
distribute the package.
30+
31+
Failing to distribute notices associated with some files may also create
32+
unexpected legal consequences.
33+
34+
Proceed with caution and we recommend that you obtain the advice of a lawyer
35+
skilled in open source matters before removing the Classpath Exception or
36+
making modifications to this package which may subsequently be redistributed
37+
and/or involve the use of third party software.

make/copy/Copy-java.base.gmk

+2-1
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,10 @@ endif
219219
# different license.
220220
JDK_LICENSE ?= $(wildcard $(TOPDIR)/LICENSE)
221221
JDK_NOTICE ?= $(wildcard $(TOPDIR)/ASSEMBLY_EXCEPTION)
222+
JDK_ADDITIONAL_LICENSE_INFO ?= $(wildcard $(TOPDIR)/ADDITIONAL_LICENSE_INFO)
222223

223224
$(eval $(call SetupCopyFiles, COPY_JDK_NOTICES, \
224-
FILES := $(JDK_LICENSE) $(JDK_NOTICE), \
225+
FILES := $(JDK_LICENSE) $(JDK_NOTICE) $(JDK_ADDITIONAL_LICENSE_INFO), \
225226
DEST := $(LEGAL_DST_DIR), \
226227
FLATTEN := true, \
227228
))

0 commit comments

Comments
 (0)