ASSEMBLY_EXCEPTION
author jlahoda
Thu, 11 Apr 2019 14:49:04 +0200
changeset 54512 a84c46287f28
parent 41274 e31e26d0f9bf
permissions -rw-r--r--
8215407: javac should reject class files with bad EnclosingMethod attributes Summary: Reject classfiles with broken EnclosingMethod attribute. Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
fd16c54261b3 Initial load
duke
parents:
diff changeset
     1
fd16c54261b3 Initial load
duke
parents:
diff changeset
     2
OPENJDK ASSEMBLY EXCEPTION
fd16c54261b3 Initial load
duke
parents:
diff changeset
     3
41274
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
     4
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
     5
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
     6
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
0
fd16c54261b3 Initial load
duke
parents:
diff changeset
     7
only ("GPL2"), with the following clarification and special exception.
fd16c54261b3 Initial load
duke
parents:
diff changeset
     8
fd16c54261b3 Initial load
duke
parents:
diff changeset
     9
    Linking this OpenJDK Code statically or dynamically with other code
fd16c54261b3 Initial load
duke
parents:
diff changeset
    10
    is making a combined work based on this library.  Thus, the terms
fd16c54261b3 Initial load
duke
parents:
diff changeset
    11
    and conditions of GPL2 cover the whole combination.
fd16c54261b3 Initial load
duke
parents:
diff changeset
    12
41274
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
    13
    As a special exception, Oracle gives you permission to link this
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
    14
    OpenJDK Code with certain code licensed by Oracle as indicated at
0
fd16c54261b3 Initial load
duke
parents:
diff changeset
    15
    http://openjdk.java.net/legal/exception-modules-2007-05-08.html
fd16c54261b3 Initial load
duke
parents:
diff changeset
    16
    ("Designated Exception Modules") to produce an executable,
fd16c54261b3 Initial load
duke
parents:
diff changeset
    17
    regardless of the license terms of the Designated Exception Modules,
fd16c54261b3 Initial load
duke
parents:
diff changeset
    18
    and to copy and distribute the resulting executable under GPL2,
fd16c54261b3 Initial load
duke
parents:
diff changeset
    19
    provided that the Designated Exception Modules continue to be
41274
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
    20
    governed by the licenses under which they were offered by Oracle.
0
fd16c54261b3 Initial load
duke
parents:
diff changeset
    21
41274
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
    22
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
    23
to build an executable that includes those portions of necessary code that
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
    24
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
    25
with the Classpath exception).  If you modify or add to the OpenJDK code,
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
    26
that new GPL2 code may still be combined with Designated Exception Modules
e31e26d0f9bf 8166799: ASSEMBLY_EXCEPTION contains historical company name
iris
parents: 0
diff changeset
    27
if the new code is made subject to this exception by its copyright holder.