beanshell.license revision 3113
97a9a944b5887e91042b019776c41d5dd74557aferikabeleOracle elects to license this component under the Sun Public License Version 1.0.
97a9a944b5887e91042b019776c41d5dd74557aferikabele *****************************************************************************
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive * This file is part of the BeanShell Java Scripting distribution. *
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive * Documentation and updates may be found at http://www.beanshell.org/ *
b686b6a420bde7f78c416b90be11db94cb789979nd * Sun Public License Notice: *
b686b6a420bde7f78c416b90be11db94cb789979nd * The contents of this file are subject to the Sun Public License Version *
b686b6a420bde7f78c416b90be11db94cb789979nd * 1.0 (the "License"); you may not use this file except in compliance with *
b686b6a420bde7f78c416b90be11db94cb789979nd * the License. A copy of the License is available at http://www.sun.com *
b686b6a420bde7f78c416b90be11db94cb789979nd * The Original Code is BeanShell. The Initial Developer of the Original *
b686b6a420bde7f78c416b90be11db94cb789979nd * Code is Pat Niemeyer. Portions created by Pat Niemeyer are Copyright *
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz * (C) 2000. All Rights Reserved. *
b686b6a420bde7f78c416b90be11db94cb789979nd * GNU Public License Notice: *
4b5981e276e93df97c34e4da05ca5cf8bbd937dand * Alternatively, the contents of this file may be used under the terms of *
b686b6a420bde7f78c416b90be11db94cb789979nd * the GNU Lesser General Public License (the "LGPL"), in which case the *
b686b6a420bde7f78c416b90be11db94cb789979nd * provisions of LGPL are applicable instead of those above. If you wish to *
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd * allow use of your version of this file only under the terms of the LGPL *
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7nd * and not to allow others to use your version of this file under the SPL, *
d28579afd45cc42da1422161721fb12f9cf366b9nd * indicate your decision by deleting the provisions above and replace *
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd * them with the notice and other provisions required by the LGPL. If you *
1ac39787115a288f5e848344b1b1e8dccb1c58f1nd * do not delete the provisions above, a recipient may use your version of *
1ac39787115a288f5e848344b1b1e8dccb1c58f1nd * this file under either the SPL or the LGPL. *
b686b6a420bde7f78c416b90be11db94cb789979nd * Patrick Niemeyer (pat@pat.net) *
b686b6a420bde7f78c416b90be11db94cb789979nd * Author of Learning Java, O'Reilly & Associates *
b686b6a420bde7f78c416b90be11db94cb789979nd *****************************************************************************
06ba4a61654b3763ad65f52283832ebf058fdf1csliveSUN PUBLIC LICENSE Version 1.0
06ba4a61654b3763ad65f52283832ebf058fdf1cslive1. Definitions.
97a9a944b5887e91042b019776c41d5dd74557aferikabele 1.0.1. "Commercial Use" means distribution or otherwise making the
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Covered Code available to a third party.
06ba4a61654b3763ad65f52283832ebf058fdf1cslive 1.1. "Contributor" means each entity that creates or contributes to
06ba4a61654b3763ad65f52283832ebf058fdf1cslive the creation of Modifications.
06ba4a61654b3763ad65f52283832ebf058fdf1cslive 1.2. "Contributor Version" means the combination of the Original Code,
06ba4a61654b3763ad65f52283832ebf058fdf1cslive prior Modifications used by a Contributor, and the Modifications made
06ba4a61654b3763ad65f52283832ebf058fdf1cslive by that particular Contributor.
06ba4a61654b3763ad65f52283832ebf058fdf1cslive 1.3. "Covered Code" means the Original Code or Modifications or the
06ba4a61654b3763ad65f52283832ebf058fdf1cslive combination of the Original Code and Modifications, in each case
06ba4a61654b3763ad65f52283832ebf058fdf1cslive including portions thereof and corresponding documentation released
06ba4a61654b3763ad65f52283832ebf058fdf1cslive with the source code.
97a9a944b5887e91042b019776c41d5dd74557aferikabele 1.4. "Electronic Distribution Mechanism" means a mechanism generally
06ba4a61654b3763ad65f52283832ebf058fdf1cslive accepted in the software development community for the electronic
b686b6a420bde7f78c416b90be11db94cb789979nd transfer of data.
b686b6a420bde7f78c416b90be11db94cb789979nd 1.5. "Executable" means Covered Code in any form other than Source
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen 1.6. "Initial Developer" means the individual or entity identified as
b686b6a420bde7f78c416b90be11db94cb789979nd the Initial Developer in the Source Code notice required by Exhibit A.
b686b6a420bde7f78c416b90be11db94cb789979nd 1.7. "Larger Work" means a work which combines Covered Code or
b686b6a420bde7f78c416b90be11db94cb789979nd portions thereof with code not governed by the terms of this License.
b686b6a420bde7f78c416b90be11db94cb789979nd 1.8. "License" means this document.
b686b6a420bde7f78c416b90be11db94cb789979nd 1.8.1. "Licensable" means having the right to grant, to the maximum
b686b6a420bde7f78c416b90be11db94cb789979nd extent possible, whether at the time of the initial grant or
b6d2c204c150843e48f6787c1090ae75b718896ecovener subsequently acquired, any and all of the rights conveyed herein.
b686b6a420bde7f78c416b90be11db94cb789979nd 1.9. "Modifications" means any addition to or deletion from the
b686b6a420bde7f78c416b90be11db94cb789979nd substance or structure of either the Original Code or any previous
b686b6a420bde7f78c416b90be11db94cb789979nd Modifications. When Covered Code is released as a series of files, a
b686b6a420bde7f78c416b90be11db94cb789979nd Modification is:
06ba4a61654b3763ad65f52283832ebf058fdf1cslive A. Any addition to or deletion from the contents of a file containing
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Original Code or previous Modifications.
f5cbf3a7818c08d2f19c04fdf4f47257eea7d3c6nd B. Any new file that contains any part of the Original Code or
06ba4a61654b3763ad65f52283832ebf058fdf1cslive previous Modifications.
06ba4a61654b3763ad65f52283832ebf058fdf1cslive 1.10. "Original Code" means Source Code of computer software code
06ba4a61654b3763ad65f52283832ebf058fdf1cslive which is described in the Source Code notice required by Exhibit A as
06ba4a61654b3763ad65f52283832ebf058fdf1cslive Original Code, and which, at the time of its release under this
06ba4a61654b3763ad65f52283832ebf058fdf1cslive License is not already Covered Code governed by this License.
f5cbf3a7818c08d2f19c04fdf4f47257eea7d3c6nd 1.10.1. "Patent Claims" means any patent claim(s), now owned or
f5cbf3a7818c08d2f19c04fdf4f47257eea7d3c6nd hereafter acquired, including without limitation, method, process, and
f5cbf3a7818c08d2f19c04fdf4f47257eea7d3c6nd apparatus claims, in any patent Licensable by grantor.
06ba4a61654b3763ad65f52283832ebf058fdf1cslive 1.11. "Source Code" means the preferred form of the Covered Code for
06ba4a61654b3763ad65f52283832ebf058fdf1cslive making modifications to it, including all modules it contains, plus
06ba4a61654b3763ad65f52283832ebf058fdf1cslive any associated documentation, interface definition files, scripts used
06ba4a61654b3763ad65f52283832ebf058fdf1cslive to control compilation and installation of an Executable, or source
06ba4a61654b3763ad65f52283832ebf058fdf1cslive code differential comparisons against either the Original Code or
06ba4a61654b3763ad65f52283832ebf058fdf1cslive another well known, available Covered Code of the Contributor's
06ba4a61654b3763ad65f52283832ebf058fdf1cslive choice. The Source Code can be in a compressed or archival form,
f5cbf3a7818c08d2f19c04fdf4f47257eea7d3c6nd provided the appropriate decompression or de-archiving software is
f5cbf3a7818c08d2f19c04fdf4f47257eea7d3c6nd widely available for no charge.
f5cbf3a7818c08d2f19c04fdf4f47257eea7d3c6nd 1.12. "You" (or "Your") means an individual or a legal entity
06ba4a61654b3763ad65f52283832ebf058fdf1cslive exercising rights under, and complying with all of the terms of, this
f5cbf3a7818c08d2f19c04fdf4f47257eea7d3c6nd License or a future version of this License issued under Section 6.1.
f5cbf3a7818c08d2f19c04fdf4f47257eea7d3c6nd For legal entities, "You" includes any entity which controls, is
b686b6a420bde7f78c416b90be11db94cb789979nd controlled by, or is under common control with You. For purposes of
b6d2c204c150843e48f6787c1090ae75b718896ecovener this definition, "control" means (a) the power, direct or indirect, to
b6d2c204c150843e48f6787c1090ae75b718896ecovener cause the direction or management of such entity, whether by contract
b6d2c204c150843e48f6787c1090ae75b718896ecovener or otherwise, or (b) ownership of more than fifty percent (50%) of the
b6d2c204c150843e48f6787c1090ae75b718896ecovener outstanding shares or beneficial ownership of such entity.
63de18ba5e922ffaab500317d7d1d0ad6b27b7e2covener2. Source Code License.
4cc6016bd30b0852222630a0ed62805e36f345d1nd2.1 The Initial Developer Grant.
4cc6016bd30b0852222630a0ed62805e36f345d1nd The Initial Developer hereby grants You a world-wide, royalty-free,
4cc6016bd30b0852222630a0ed62805e36f345d1nd non-exclusive license, subject to third party intellectual property
4cc6016bd30b0852222630a0ed62805e36f345d1nd (a) under intellectual property rights (other than patent or
4cc6016bd30b0852222630a0ed62805e36f345d1nd trademark) Licensable by Initial Developer to use, reproduce, modify,
4cc6016bd30b0852222630a0ed62805e36f345d1nd display, perform, sublicense and distribute the Original Code (or
4cc6016bd30b0852222630a0ed62805e36f345d1nd portions thereof) with or without Modifications, and/or as part of a
94aca1822ea6eaaecfa4ee8fb58b7c3264efd944nd Larger Work; and
b622a4d68a26af5386003d4c69a950bc1e157005rbowen (b) under Patent Claims infringed by the making, using or selling of
4cc6016bd30b0852222630a0ed62805e36f345d1nd Original Code, to make, have made, use, practice, sell, and offer for
4cc6016bd30b0852222630a0ed62805e36f345d1nd sale, and/or otherwise dispose of the Original Code (or portions
4cc6016bd30b0852222630a0ed62805e36f345d1nd (c) the licenses granted in this Section 2.1(a) and (b) are effective
90361ddfb3a8abaa0f8fb1729732062c78d8dc50niq on the date Initial Developer first distributes Original Code under
4cc6016bd30b0852222630a0ed62805e36f345d1nd the terms of this License.
4cc6016bd30b0852222630a0ed62805e36f345d1nd (d) Notwithstanding Section 2.1(b) above, no patent license is
4cc6016bd30b0852222630a0ed62805e36f345d1nd granted: 1) for code that You delete from the Original Code; 2)
4cc6016bd30b0852222630a0ed62805e36f345d1nd separate from the Original Code; or 3) for infringements caused by:
4cc6016bd30b0852222630a0ed62805e36f345d1nd i) the modification of the Original Code or ii) the combination of the
4cc6016bd30b0852222630a0ed62805e36f345d1nd Original Code with other software or devices.
4cc6016bd30b0852222630a0ed62805e36f345d1nd2.2. Contributor Grant.
b622a4d68a26af5386003d4c69a950bc1e157005rbowen Subject to third party intellectual property claims, each Contributor
b622a4d68a26af5386003d4c69a950bc1e157005rbowen hereby grants You a world-wide, royalty-free, non-exclusive license
b622a4d68a26af5386003d4c69a950bc1e157005rbowen (a) under intellectual property rights (other than patent or
4cc6016bd30b0852222630a0ed62805e36f345d1nd trademark) Licensable by Contributor, to use, reproduce, modify,
4cc6016bd30b0852222630a0ed62805e36f345d1nd display, perform, sublicense and distribute the Modifications created
4cc6016bd30b0852222630a0ed62805e36f345d1nd by such Contributor (or portions thereof) either on an unmodified
4cc6016bd30b0852222630a0ed62805e36f345d1nd basis, with other Modifications, as Covered Code and/or as part of a
4cc6016bd30b0852222630a0ed62805e36f345d1nd Larger Work; and
4cc6016bd30b0852222630a0ed62805e36f345d1nd (b) under Patent Claims infringed by the making, using, or selling of
4cc6016bd30b0852222630a0ed62805e36f345d1nd Modifications made by that Contributor either alone and/or in
4cc6016bd30b0852222630a0ed62805e36f345d1nd combination with its Contributor Version (or portions of such
4cc6016bd30b0852222630a0ed62805e36f345d1nd combination), to make, use, sell, offer for sale, have made, and/or
4cc6016bd30b0852222630a0ed62805e36f345d1nd otherwise dispose of: 1) Modifications made by that Contributor (or
4cc6016bd30b0852222630a0ed62805e36f345d1nd portions thereof); and 2) the combination of Modifications made by
4cc6016bd30b0852222630a0ed62805e36f345d1nd that Contributor with its Contributor Version (or portions of such
4cc6016bd30b0852222630a0ed62805e36f345d1nd combination).
4cc6016bd30b0852222630a0ed62805e36f345d1nd (c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective
4cc6016bd30b0852222630a0ed62805e36f345d1nd on the date Contributor first makes Commercial Use of the Covered
4cc6016bd30b0852222630a0ed62805e36f345d1nd (d) notwithstanding Section 2.2(b) above, no patent license is
4cc6016bd30b0852222630a0ed62805e36f345d1nd granted: 1) for any code that Contributor has deleted from the
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Contributor Version; 2) separate from the Contributor Version; 3) for
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen infringements caused by: i) third party modifications of Contributor
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Version or ii) the combination of Modifications made by that
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Contributor with other software (except as part of the Contributor
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Version) or other devices; or 4) under Patent Claims infringed by
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Covered Code in the absence of Modifications made by that Contributor.
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen3. Distribution Obligations.
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen3.1. Application of License.
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen The Modifications which You create or to which You contribute are
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen governed by the terms of this License, including without limitation
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Section 2.2. The Source Code version of Covered Code may be
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen distributed only under the terms of this License or a future version
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen of this License released under Section 6.1, and You must include a
3739b903eb6f5b0944056b2e98d5d8877d003c6figalic copy of this License with every copy of the Source Code You
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen distribute. You may not offer or impose any terms on any Source Code
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen version that alters or restricts the applicable version of this
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen License or the recipients' rights hereunder. However, You may include
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen an additional document offering the additional rights described in
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Section 3.5.
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen3.2. Availability of Source Code.
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Any Modification which You create or to which You contribute must be
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen made available in Source Code form under the terms of this License
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen either on the same media as an Executable version or via an accepted
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Electronic Distribution Mechanism to anyone to whom you made an
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Executable version available; and if made available via Electronic
3739b903eb6f5b0944056b2e98d5d8877d003c6figalic Distribution Mechanism, must remain available for at least twelve (12)
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen months after the date it initially became available, or at least six
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen (6) months after a subsequent version of that particular Modification
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen has been made available to such recipients. You are responsible for
4f32f36773e84a2ec9a930f85b44d31fc0c0c2cfigalic ensuring that the Source Code version remains available even if the
4f32f36773e84a2ec9a930f85b44d31fc0c0c2cfigalic Electronic Distribution Mechanism is maintained by a third party.
4f32f36773e84a2ec9a930f85b44d31fc0c0c2cfigalic3.3. Description of Modifications.
4f32f36773e84a2ec9a930f85b44d31fc0c0c2cfigalic You must cause all Covered Code to which You contribute to contain a
3739b903eb6f5b0944056b2e98d5d8877d003c6figalic file documenting the changes You made to create that Covered Code and
4f32f36773e84a2ec9a930f85b44d31fc0c0c2cfigalic the date of any change. You must include a prominent statement that
4f32f36773e84a2ec9a930f85b44d31fc0c0c2cfigalic the Modification is derived, directly or indirectly, from Original
4f32f36773e84a2ec9a930f85b44d31fc0c0c2cfigalic Code provided by the Initial Developer and including the name of the
4f32f36773e84a2ec9a930f85b44d31fc0c0c2cfigalic Initial Developer in (a) the Source Code, and (b) in any notice in an
9750e43c0e01cbb2cda812fef5f341de512f03f5rbowen Executable version or related documentation in which You describe the
b686b6a420bde7f78c416b90be11db94cb789979nd origin or ownership of the Covered Code.
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd3.4. Intellectual Property Matters.
d28579afd45cc42da1422161721fb12f9cf366b9nd (a) Third Party Claims.
1ac39787115a288f5e848344b1b1e8dccb1c58f1nd If Contributor has knowledge that a license under a third party's
1ac39787115a288f5e848344b1b1e8dccb1c58f1nd intellectual property rights is required to exercise the rights
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd granted by such Contributor under Sections 2.1 or 2.2, Contributor
9c1260efa52c82c2a58e5b5f20cd6902563d95f5rbowen must include a text file with the Source Code distribution titled
b686b6a420bde7f78c416b90be11db94cb789979nd "LEGAL'' which describes the claim and the party making the claim in
1acae7fb634ac2b01682507175e072b168995e0dcolm sufficient detail that a recipient will know whom to contact. If
are Contributor's original creation(s) and/or Contributor has
Sun Microsystems, Inc. ("Sun") may publish revised and/or new versions
Participant to You under Sections 2.1 and/or 2.2 of this License
Sections 2.1 and/or 2.2 automatically terminate at the expiration of
10. U.S. GOVERNMENT END USERS.
C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software"
12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
U.S. Government End Users acquire Covered Code with only those rights