xref: /aosp_15_r20/external/oj-libjdwp/ASSEMBLY_EXCEPTION (revision e82f7db8c62aed3c168547abe4f9f4aeceaebfc7)
1*e82f7db8SAndroid Build Coastguard Worker
2*e82f7db8SAndroid Build Coastguard WorkerOPENJDK ASSEMBLY EXCEPTION
3*e82f7db8SAndroid Build Coastguard Worker
4*e82f7db8SAndroid Build Coastguard WorkerThe OpenJDK source code made available by Oracle America, Inc. (Oracle) at
5*e82f7db8SAndroid Build Coastguard Workeropenjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
6*e82f7db8SAndroid Build Coastguard WorkerGeneral Public License <http://www.gnu.org/copyleft/gpl.html> version 2
7*e82f7db8SAndroid Build Coastguard Workeronly ("GPL2"), with the following clarification and special exception.
8*e82f7db8SAndroid Build Coastguard Worker
9*e82f7db8SAndroid Build Coastguard Worker    Linking this OpenJDK Code statically or dynamically with other code
10*e82f7db8SAndroid Build Coastguard Worker    is making a combined work based on this library.  Thus, the terms
11*e82f7db8SAndroid Build Coastguard Worker    and conditions of GPL2 cover the whole combination.
12*e82f7db8SAndroid Build Coastguard Worker
13*e82f7db8SAndroid Build Coastguard Worker    As a special exception, Oracle gives you permission to link this
14*e82f7db8SAndroid Build Coastguard Worker    OpenJDK Code with certain code licensed by Oracle as indicated at
15*e82f7db8SAndroid Build Coastguard Worker    http://openjdk.java.net/legal/exception-modules-2007-05-08.html
16*e82f7db8SAndroid Build Coastguard Worker    ("Designated Exception Modules") to produce an executable,
17*e82f7db8SAndroid Build Coastguard Worker    regardless of the license terms of the Designated Exception Modules,
18*e82f7db8SAndroid Build Coastguard Worker    and to copy and distribute the resulting executable under GPL2,
19*e82f7db8SAndroid Build Coastguard Worker    provided that the Designated Exception Modules continue to be
20*e82f7db8SAndroid Build Coastguard Worker    governed by the licenses under which they were offered by Oracle.
21*e82f7db8SAndroid Build Coastguard Worker
22*e82f7db8SAndroid Build Coastguard WorkerAs such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
23*e82f7db8SAndroid Build Coastguard Workerto build an executable that includes those portions of necessary code that
24*e82f7db8SAndroid Build Coastguard WorkerOracle could not provide under GPL2 (or that Oracle has provided under GPL2
25*e82f7db8SAndroid Build Coastguard Workerwith the Classpath exception).  If you modify or add to the OpenJDK code,
26*e82f7db8SAndroid Build Coastguard Workerthat new GPL2 code may still be combined with Designated Exception Modules
27*e82f7db8SAndroid Build Coastguard Workerif the new code is made subject to this exception by its copyright holder.
28