xref: /aosp_15_r20/external/javassist/License.html (revision f1fbf3c2ab775ce834e0af96b7a85bdc7a0eac65)
1*f1fbf3c2SXin Li<HTML>
2*f1fbf3c2SXin Li<HEAD>
3*f1fbf3c2SXin Li<TITLE>Javassist License</TITLE>
4*f1fbf3c2SXin Li<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
5*f1fbf3c2SXin Li<META content="MSHTML 5.50.4916.2300" name=GENERATOR></HEAD>
6*f1fbf3c2SXin Li
7*f1fbf3c2SXin Li<BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000ee bgColor=#ffffff>
8*f1fbf3c2SXin Li<CENTER><B><FONT size=+2>MOZILLA PUBLIC LICENSE</FONT></B> <BR><B>Version
9*f1fbf3c2SXin Li1.1</B>
10*f1fbf3c2SXin Li<P>
11*f1fbf3c2SXin Li<HR width="20%">
12*f1fbf3c2SXin Li</CENTER>
13*f1fbf3c2SXin Li<P><B>1. Definitions.</B>
14*f1fbf3c2SXin Li<UL><B>1.0.1. "Commercial Use" </B>means distribution or otherwise making the
15*f1fbf3c2SXin Li  Covered Code available to a third party.
16*f1fbf3c2SXin Li  <P><B>1.1. ''Contributor''</B> means each entity that creates or contributes
17*f1fbf3c2SXin Li  to the creation of Modifications.
18*f1fbf3c2SXin Li  <P><B>1.2. ''Contributor Version''</B> means the combination of the Original
19*f1fbf3c2SXin Li  Code, prior Modifications used by a Contributor, and the Modifications made by
20*f1fbf3c2SXin Li  that particular Contributor.
21*f1fbf3c2SXin Li  <P><B>1.3. ''Covered Code''</B> means the Original Code or Modifications or
22*f1fbf3c2SXin Li  the combination of the Original Code and Modifications, in each case including
23*f1fbf3c2SXin Li  portions thereof<B>.</B>
24*f1fbf3c2SXin Li  <P><B>1.4. ''Electronic Distribution Mechanism''</B> means a mechanism
25*f1fbf3c2SXin Li  generally accepted in the software development community for the electronic
26*f1fbf3c2SXin Li  transfer of data.
27*f1fbf3c2SXin Li  <P><B>1.5. ''Executable''</B> means Covered Code in any form other than Source
28*f1fbf3c2SXin Li  Code.
29*f1fbf3c2SXin Li  <P><B>1.6. ''Initial Developer''</B> means the individual or entity identified
30*f1fbf3c2SXin Li  as the Initial Developer in the Source Code notice required by <B>Exhibit
31*f1fbf3c2SXin Li  A</B>.
32*f1fbf3c2SXin Li  <P><B>1.7. ''Larger Work''</B> means a work which combines Covered Code or
33*f1fbf3c2SXin Li  portions thereof with code not governed by the terms of this License.
34*f1fbf3c2SXin Li  <P><B>1.8. ''License''</B> means this document.
35*f1fbf3c2SXin Li  <P><B>1.8.1. "Licensable"</B> means having the right to grant, to the maximum
36*f1fbf3c2SXin Li  extent possible, whether at the time of the initial grant or subsequently
37*f1fbf3c2SXin Li  acquired, any and all of the rights conveyed herein.
38*f1fbf3c2SXin Li  <P><B>1.9. ''Modifications''</B> means any addition to or deletion from the
39*f1fbf3c2SXin Li  substance or structure of either the Original Code or any previous
40*f1fbf3c2SXin Li  Modifications. When Covered Code is released as a series of files, a
41*f1fbf3c2SXin Li  Modification is:
42*f1fbf3c2SXin Li  <UL><B>A.</B> Any addition to or deletion from the contents of a file
43*f1fbf3c2SXin Li    containing Original Code or previous Modifications.
44*f1fbf3c2SXin Li    <P><B>B.</B> Any new file that contains any part of the Original Code or
45*f1fbf3c2SXin Li    previous Modifications. <BR>&nbsp;</P></UL><B>1.10. ''Original Code''</B>
46*f1fbf3c2SXin Li  means Source Code of computer software code which is described in the Source
47*f1fbf3c2SXin Li  Code notice required by <B>Exhibit A</B> as Original Code, and which, at the
48*f1fbf3c2SXin Li  time of its release under this License is not already Covered Code governed by
49*f1fbf3c2SXin Li  this License.
50*f1fbf3c2SXin Li  <P><B>1.10.1. "Patent Claims"</B> means any patent claim(s), now owned or
51*f1fbf3c2SXin Li  hereafter acquired, including without limitation,&nbsp; method, process, and
52*f1fbf3c2SXin Li  apparatus claims, in any patent Licensable by grantor.
53*f1fbf3c2SXin Li  <P><B>1.11. ''Source Code''</B> means the preferred form of the Covered Code
54*f1fbf3c2SXin Li  for making modifications to it, including all modules it contains, plus any
55*f1fbf3c2SXin Li  associated interface definition files, scripts used to control compilation and
56*f1fbf3c2SXin Li  installation of an Executable, or source code differential comparisons against
57*f1fbf3c2SXin Li  either the Original Code or another well known, available Covered Code of the
58*f1fbf3c2SXin Li  Contributor's choice. The Source Code can be in a compressed or archival form,
59*f1fbf3c2SXin Li  provided the appropriate decompression or de-archiving software is widely
60*f1fbf3c2SXin Li  available for no charge.
61*f1fbf3c2SXin Li  <P><B>1.12. "You'' (or "Your")&nbsp;</B> means an individual or a legal entity
62*f1fbf3c2SXin Li  exercising rights under, and complying with all of the terms of, this License
63*f1fbf3c2SXin Li  or a future version of this License issued under Section 6.1. For legal
64*f1fbf3c2SXin Li  entities, "You'' includes any entity which controls, is controlled by, or is
65*f1fbf3c2SXin Li  under common control with You. For purposes of this definition, "control''
66*f1fbf3c2SXin Li  means (a) the power, direct or indirect, to cause the direction or management
67*f1fbf3c2SXin Li  of such entity, whether by contract or otherwise, or (b) ownership of more
68*f1fbf3c2SXin Li  than fifty percent (50%) of the outstanding shares or beneficial ownership of
69*f1fbf3c2SXin Li  such entity.</P></UL><B>2. Source Code License.</B>
70*f1fbf3c2SXin Li<UL><B>2.1. The Initial Developer Grant.</B> <BR>The Initial Developer hereby
71*f1fbf3c2SXin Li  grants You a world-wide, royalty-free, non-exclusive license, subject to third
72*f1fbf3c2SXin Li  party intellectual property claims:
73*f1fbf3c2SXin Li  <UL><B>(a)</B>&nbsp;<B> </B>under intellectual property rights (other than
74*f1fbf3c2SXin Li    patent or trademark) Licensable by Initial Developer to use, reproduce,
75*f1fbf3c2SXin Li    modify, display, perform, sublicense and distribute the Original Code (or
76*f1fbf3c2SXin Li    portions thereof) with or without Modifications, and/or as part of a Larger
77*f1fbf3c2SXin Li    Work; and
78*f1fbf3c2SXin Li    <P><B>(b)</B> under Patents Claims infringed by the making, using or selling
79*f1fbf3c2SXin Li    of Original Code, to make, have made, use, practice, sell, and offer for
80*f1fbf3c2SXin Li    sale, and/or otherwise dispose of the Original Code (or portions thereof).
81*f1fbf3c2SXin Li    <UL>
82*f1fbf3c2SXin Li      <UL></UL></UL><B>(c) </B>the licenses granted in this Section 2.1(a) and (b)
83*f1fbf3c2SXin Li    are effective on the date Initial Developer first distributes Original Code
84*f1fbf3c2SXin Li    under the terms of this License.
85*f1fbf3c2SXin Li    <P><B>(d) </B>Notwithstanding Section 2.1(b) above, no patent license is
86*f1fbf3c2SXin Li    granted: 1) for code that You delete from the Original Code; 2) separate
87*f1fbf3c2SXin Li    from the Original Code;&nbsp; or 3) for infringements caused by: i) the
88*f1fbf3c2SXin Li    modification of the Original Code or ii) the combination of the Original
89*f1fbf3c2SXin Li    Code with other software or devices. <BR>&nbsp;</P></UL><B>2.2. Contributor
90*f1fbf3c2SXin Li  Grant.</B> <BR>Subject to third party intellectual property claims, each
91*f1fbf3c2SXin Li  Contributor hereby grants You a world-wide, royalty-free, non-exclusive
92*f1fbf3c2SXin Li  license
93*f1fbf3c2SXin Li  <UL> <BR><B>(a)</B>&nbsp;<B> </B>under intellectual property rights (other
94*f1fbf3c2SXin Li    than patent or trademark) Licensable by Contributor, to use, reproduce,
95*f1fbf3c2SXin Li    modify, display, perform, sublicense and distribute the Modifications
96*f1fbf3c2SXin Li    created by such Contributor (or portions thereof) either on an unmodified
97*f1fbf3c2SXin Li    basis, with other Modifications, as Covered Code and/or as part of a Larger
98*f1fbf3c2SXin Li    Work; and
99*f1fbf3c2SXin Li    <P><B>(b)</B> under Patent Claims infringed by the making, using, or selling
100*f1fbf3c2SXin Li    of&nbsp; Modifications made by that Contributor either alone and/or in<FONT
101*f1fbf3c2SXin Li    color=#000000> combination with its Contributor Version (or portions of such
102*f1fbf3c2SXin Li    combination), to make, use, sell, offer for sale, have made, and/or
103*f1fbf3c2SXin Li    otherwise dispose of: 1) Modifications made by that Contributor (or portions
104*f1fbf3c2SXin Li    thereof); and 2) the combination of&nbsp; Modifications made by that
105*f1fbf3c2SXin Li    Contributor with its Contributor Version (or portions of such
106*f1fbf3c2SXin Li    combination).</FONT>
107*f1fbf3c2SXin Li    <P><B>(c) </B>the licenses granted in Sections 2.2(a) and 2.2(b) are
108*f1fbf3c2SXin Li    effective on the date Contributor first makes Commercial Use of the Covered
109*f1fbf3c2SXin Li    Code.
110*f1fbf3c2SXin Li    <P><B>(d)&nbsp;</B>&nbsp;&nbsp; Notwithstanding Section 2.2(b) above, no
111*f1fbf3c2SXin Li    patent license is granted: 1) for any code that Contributor has deleted from
112*f1fbf3c2SXin Li    the Contributor Version; 2)&nbsp; separate from the Contributor
113*f1fbf3c2SXin Li    Version;&nbsp; 3)&nbsp; for infringements caused by: i) third party
114*f1fbf3c2SXin Li    modifications of Contributor Version or ii)&nbsp; the combination of
115*f1fbf3c2SXin Li    Modifications made by that Contributor with other software&nbsp; (except as
116*f1fbf3c2SXin Li    part of the Contributor Version) or other devices; or 4) under Patent Claims
117*f1fbf3c2SXin Li    infringed by Covered Code in the absence of Modifications made by that
118*f1fbf3c2SXin Li    Contributor.</P></UL></UL>
119*f1fbf3c2SXin Li<P><BR><B>3. Distribution Obligations.</B>
120*f1fbf3c2SXin Li<UL><B>3.1. Application of License.</B> <BR>The Modifications which You create
121*f1fbf3c2SXin Li  or to which You contribute are governed by the terms of this License,
122*f1fbf3c2SXin Li  including without limitation Section <B>2.2</B>. The Source Code version of
123*f1fbf3c2SXin Li  Covered Code may be distributed only under the terms of this License or a
124*f1fbf3c2SXin Li  future version of this License released under Section <B>6.1</B>, and You must
125*f1fbf3c2SXin Li  include a copy of this License with every copy of the Source Code You
126*f1fbf3c2SXin Li  distribute. You may not offer or impose any terms on any Source Code version
127*f1fbf3c2SXin Li  that alters or restricts the applicable version of this License or the
128*f1fbf3c2SXin Li  recipients' rights hereunder. However, You may include an additional document
129*f1fbf3c2SXin Li  offering the additional rights described in Section <B>3.5</B>.
130*f1fbf3c2SXin Li  <P><B>3.2. Availability of Source Code.</B> <BR>Any Modification which You
131*f1fbf3c2SXin Li  create or to which You contribute must be made available in Source Code form
132*f1fbf3c2SXin Li  under the terms of this License either on the same media as an Executable
133*f1fbf3c2SXin Li  version or via an accepted Electronic Distribution Mechanism to anyone to whom
134*f1fbf3c2SXin Li  you made an Executable version available; and if made available via Electronic
135*f1fbf3c2SXin Li  Distribution Mechanism, must remain available for at least twelve (12) months
136*f1fbf3c2SXin Li  after the date it initially became available, or at least six (6) months after
137*f1fbf3c2SXin Li  a subsequent version of that particular Modification has been made available
138*f1fbf3c2SXin Li  to such recipients. You are responsible for ensuring that the Source Code
139*f1fbf3c2SXin Li  version remains available even if the Electronic Distribution Mechanism is
140*f1fbf3c2SXin Li  maintained by a third party.
141*f1fbf3c2SXin Li  <P><B>3.3. Description of Modifications.</B> <BR>You must cause all Covered
142*f1fbf3c2SXin Li  Code to which You contribute to contain a file documenting the changes You
143*f1fbf3c2SXin Li  made to create that Covered Code and the date of any change. You must include
144*f1fbf3c2SXin Li  a prominent statement that the Modification is derived, directly or
145*f1fbf3c2SXin Li  indirectly, from Original Code provided by the Initial Developer and including
146*f1fbf3c2SXin Li  the name of the Initial Developer in (a) the Source Code, and (b) in any
147*f1fbf3c2SXin Li  notice in an Executable version or related documentation in which You describe
148*f1fbf3c2SXin Li  the origin or ownership of the Covered Code.
149*f1fbf3c2SXin Li  <P><B>3.4. Intellectual Property Matters</B>
150*f1fbf3c2SXin Li  <UL><B>(a) Third Party Claims</B>. <BR>If Contributor has knowledge that a
151*f1fbf3c2SXin Li    license under a third party's intellectual property rights is required to
152*f1fbf3c2SXin Li    exercise the rights granted by such Contributor under Sections 2.1 or 2.2,
153*f1fbf3c2SXin Li    Contributor must include a text file with the Source Code distribution
154*f1fbf3c2SXin Li    titled "LEGAL'' which describes the claim and the party making the claim in
155*f1fbf3c2SXin Li    sufficient detail that a recipient will know whom to contact. If Contributor
156*f1fbf3c2SXin Li    obtains such knowledge after the Modification is made available as described
157*f1fbf3c2SXin Li    in Section 3.2, Contributor shall promptly modify the LEGAL file in all
158*f1fbf3c2SXin Li    copies Contributor makes available thereafter and shall take other steps
159*f1fbf3c2SXin Li    (such as notifying appropriate mailing lists or newsgroups) reasonably
160*f1fbf3c2SXin Li    calculated to inform those who received the Covered Code that new knowledge
161*f1fbf3c2SXin Li    has been obtained.
162*f1fbf3c2SXin Li    <P><B>(b) Contributor APIs</B>. <BR>If Contributor's Modifications include
163*f1fbf3c2SXin Li    an application programming interface and Contributor has knowledge of patent
164*f1fbf3c2SXin Li    licenses which are reasonably necessary to implement that API, Contributor
165*f1fbf3c2SXin Li    must also include this information in the LEGAL file.
166*f1fbf3c2SXin Li  <BR>&nbsp;</P></UL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
167*f1fbf3c2SXin Li  <B>(c)&nbsp;&nbsp;&nbsp; Representations.</B>
168*f1fbf3c2SXin Li  <UL>Contributor represents that, except as disclosed pursuant to Section
169*f1fbf3c2SXin Li    3.4(a) above, Contributor believes that Contributor's Modifications are
170*f1fbf3c2SXin Li    Contributor's original creation(s) and/or Contributor has sufficient rights
171*f1fbf3c2SXin Li    to grant the rights conveyed by this License.</UL>
172*f1fbf3c2SXin Li  <P><BR><B>3.5. Required Notices.</B> <BR>You must duplicate the notice in
173*f1fbf3c2SXin Li  <B>Exhibit A</B> in each file of the Source Code.&nbsp; If it is not possible
174*f1fbf3c2SXin Li  to put such notice in a particular Source Code file due to its structure, then
175*f1fbf3c2SXin Li  You must include such notice in a location (such as a relevant directory)
176*f1fbf3c2SXin Li  where a user would be likely to look for such a notice.&nbsp; If You created
177*f1fbf3c2SXin Li  one or more Modification(s) You may add your name as a Contributor to the
178*f1fbf3c2SXin Li  notice described in <B>Exhibit A</B>.&nbsp; You must also duplicate this
179*f1fbf3c2SXin Li  License in any documentation for the Source Code where You describe
180*f1fbf3c2SXin Li  recipients' rights or ownership rights relating to Covered Code.&nbsp; You may
181*f1fbf3c2SXin Li  choose to offer, and to charge a fee for, warranty, support, indemnity or
182*f1fbf3c2SXin Li  liability obligations to one or more recipients of Covered Code. However, You
183*f1fbf3c2SXin Li  may do so only on Your own behalf, and not on behalf of the Initial Developer
184*f1fbf3c2SXin Li  or any Contributor. You must make it absolutely clear than any such warranty,
185*f1fbf3c2SXin Li  support, indemnity or liability obligation is offered by You alone, and You
186*f1fbf3c2SXin Li  hereby agree to indemnify the Initial Developer and every Contributor for any
187*f1fbf3c2SXin Li  liability incurred by the Initial Developer or such Contributor as a result of
188*f1fbf3c2SXin Li  warranty, support, indemnity or liability terms You offer.
189*f1fbf3c2SXin Li  <P><B>3.6. Distribution of Executable Versions.</B> <BR>You may distribute
190*f1fbf3c2SXin Li  Covered Code in Executable form only if the requirements of Section
191*f1fbf3c2SXin Li  <B>3.1-3.5</B> have been met for that Covered Code, and if You include a
192*f1fbf3c2SXin Li  notice stating that the Source Code version of the Covered Code is available
193*f1fbf3c2SXin Li  under the terms of this License, including a description of how and where You
194*f1fbf3c2SXin Li  have fulfilled the obligations of Section <B>3.2</B>. The notice must be
195*f1fbf3c2SXin Li  conspicuously included in any notice in an Executable version, related
196*f1fbf3c2SXin Li  documentation or collateral in which You describe recipients' rights relating
197*f1fbf3c2SXin Li  to the Covered Code. You may distribute the Executable version of Covered Code
198*f1fbf3c2SXin Li  or ownership rights under a license of Your choice, which may contain terms
199*f1fbf3c2SXin Li  different from this License, provided that You are in compliance with the
200*f1fbf3c2SXin Li  terms of this License and that the license for the Executable version does not
201*f1fbf3c2SXin Li  attempt to limit or alter the recipient's rights in the Source Code version
202*f1fbf3c2SXin Li  from the rights set forth in this License. If You distribute the Executable
203*f1fbf3c2SXin Li  version under a different license You must make it absolutely clear that any
204*f1fbf3c2SXin Li  terms which differ from this License are offered by You alone, not by the
205*f1fbf3c2SXin Li  Initial Developer or any Contributor. You hereby agree to indemnify the
206*f1fbf3c2SXin Li  Initial Developer and every Contributor for any liability incurred by the
207*f1fbf3c2SXin Li  Initial Developer or such Contributor as a result of any such terms You offer.
208*f1fbf3c2SXin Li
209*f1fbf3c2SXin Li  <P><B>3.7. Larger Works.</B> <BR>You may create a Larger Work by combining
210*f1fbf3c2SXin Li  Covered Code with other code not governed by the terms of this License and
211*f1fbf3c2SXin Li  distribute the Larger Work as a single product. In such a case, You must make
212*f1fbf3c2SXin Li  sure the requirements of this License are fulfilled for the Covered
213*f1fbf3c2SXin LiCode.</P></UL><B>4. Inability to Comply Due to Statute or Regulation.</B>
214*f1fbf3c2SXin Li<UL>If it is impossible for You to comply with any of the terms of this
215*f1fbf3c2SXin Li  License with respect to some or all of the Covered Code due to statute,
216*f1fbf3c2SXin Li  judicial order, or regulation then You must: (a) comply with the terms of this
217*f1fbf3c2SXin Li  License to the maximum extent possible; and (b) describe the limitations and
218*f1fbf3c2SXin Li  the code they affect. Such description must be included in the LEGAL file
219*f1fbf3c2SXin Li  described in Section <B>3.4</B> and must be included with all distributions of
220*f1fbf3c2SXin Li  the Source Code. Except to the extent prohibited by statute or regulation,
221*f1fbf3c2SXin Li  such description must be sufficiently detailed for a recipient of ordinary
222*f1fbf3c2SXin Li  skill to be able to understand it.</UL><B>5. Application of this License.</B>
223*f1fbf3c2SXin Li<UL>This License applies to code to which the Initial Developer has attached
224*f1fbf3c2SXin Li  the notice in <B>Exhibit A</B> and to related Covered Code.</UL><B>6. Versions
225*f1fbf3c2SXin Liof the License.</B>
226*f1fbf3c2SXin Li<UL><B>6.1. New Versions</B>. <BR>Netscape Communications Corporation
227*f1fbf3c2SXin Li  (''Netscape'') may publish revised and/or new versions of the License from
228*f1fbf3c2SXin Li  time to time. Each version will be given a distinguishing version number.
229*f1fbf3c2SXin Li  <P><B>6.2. Effect of New Versions</B>. <BR>Once Covered Code has been
230*f1fbf3c2SXin Li  published under a particular version of the License, You may always continue
231*f1fbf3c2SXin Li  to use it under the terms of that version. You may also choose to use such
232*f1fbf3c2SXin Li  Covered Code under the terms of any subsequent version of the License
233*f1fbf3c2SXin Li  published by Netscape. No one other than Netscape has the right to modify the
234*f1fbf3c2SXin Li  terms applicable to Covered Code created under this License.
235*f1fbf3c2SXin Li  <P><B>6.3. Derivative Works</B>. <BR>If You create or use a modified version
236*f1fbf3c2SXin Li  of this License (which you may only do in order to apply it to code which is
237*f1fbf3c2SXin Li  not already Covered Code governed by this License), You must (a) rename Your
238*f1fbf3c2SXin Li  license so that the phrases ''Mozilla'', ''MOZILLAPL'', ''MOZPL'',
239*f1fbf3c2SXin Li  ''Netscape'', "MPL", ''NPL'' or any confusingly similar phrase do not appear
240*f1fbf3c2SXin Li  in your license (except to note that your license differs from this License)
241*f1fbf3c2SXin Li  and (b) otherwise make it clear that Your version of the license contains
242*f1fbf3c2SXin Li  terms which differ from the Mozilla Public License and Netscape Public
243*f1fbf3c2SXin Li  License. (Filling in the name of the Initial Developer, Original Code or
244*f1fbf3c2SXin Li  Contributor in the notice described in <B>Exhibit A</B> shall not of
245*f1fbf3c2SXin Li  themselves be deemed to be modifications of this License.)</P></UL><B>7.
246*f1fbf3c2SXin LiDISCLAIMER OF WARRANTY.</B>
247*f1fbf3c2SXin Li<UL>COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, WITHOUT
248*f1fbf3c2SXin Li  WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
249*f1fbf3c2SXin Li  LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE,
250*f1fbf3c2SXin Li  FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE
251*f1fbf3c2SXin Li  QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED
252*f1fbf3c2SXin Li  CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
253*f1fbf3c2SXin Li  OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR
254*f1fbf3c2SXin Li  CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
255*f1fbf3c2SXin Li  LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
256*f1fbf3c2SXin Li  DISCLAIMER.</UL><B>8. TERMINATION.</B>
257*f1fbf3c2SXin Li<UL><B>8.1.&nbsp; </B>This License and the rights granted hereunder will
258*f1fbf3c2SXin Li  terminate automatically if You fail to comply with terms herein and fail to
259*f1fbf3c2SXin Li  cure such breach within 30 days of becoming aware of the breach. All
260*f1fbf3c2SXin Li  sublicenses to the Covered Code which are properly granted shall survive any
261*f1fbf3c2SXin Li  termination of this License. Provisions which, by their nature, must remain in
262*f1fbf3c2SXin Li  effect beyond the termination of this License shall survive.
263*f1fbf3c2SXin Li  <P><B>8.2.&nbsp; </B>If You initiate litigation by asserting a patent
264*f1fbf3c2SXin Li  infringement claim (excluding declatory judgment actions) against Initial
265*f1fbf3c2SXin Li  Developer or a Contributor (the Initial Developer or Contributor against whom
266*f1fbf3c2SXin Li  You file such action is referred to as "Participant")&nbsp; alleging that:
267*f1fbf3c2SXin Li  <P><B>(a)&nbsp; </B>such Participant's Contributor Version directly or
268*f1fbf3c2SXin Li  indirectly infringes any patent, then any and all rights granted by such
269*f1fbf3c2SXin Li  Participant to You under Sections 2.1 and/or 2.2 of this License shall, upon
270*f1fbf3c2SXin Li  60 days notice from Participant terminate prospectively, unless if within 60
271*f1fbf3c2SXin Li  days after receipt of notice You either: (i)&nbsp; agree in writing to pay
272*f1fbf3c2SXin Li  Participant a mutually agreeable reasonable royalty for Your past and future
273*f1fbf3c2SXin Li  use of Modifications made by such Participant, or (ii) withdraw Your
274*f1fbf3c2SXin Li  litigation claim with respect to the Contributor Version against such
275*f1fbf3c2SXin Li  Participant.&nbsp; If within 60 days of notice, a reasonable royalty and
276*f1fbf3c2SXin Li  payment arrangement are not mutually agreed upon in writing by the parties or
277*f1fbf3c2SXin Li  the litigation claim is not withdrawn, the rights granted by Participant to
278*f1fbf3c2SXin Li  You under Sections 2.1 and/or 2.2 automatically terminate at the expiration of
279*f1fbf3c2SXin Li  the 60 day notice period specified above.
280*f1fbf3c2SXin Li  <P><B>(b)</B>&nbsp; any software, hardware, or device, other than such
281*f1fbf3c2SXin Li  Participant's Contributor Version, directly or indirectly infringes any
282*f1fbf3c2SXin Li  patent, then any rights granted to You by such Participant under Sections
283*f1fbf3c2SXin Li  2.1(b) and 2.2(b) are revoked effective as of the date You first made, used,
284*f1fbf3c2SXin Li  sold, distributed, or had made, Modifications made by that Participant.
285*f1fbf3c2SXin Li  <P><B>8.3.&nbsp; </B>If You assert a patent infringement claim against
286*f1fbf3c2SXin Li  Participant alleging that such Participant's Contributor Version directly or
287*f1fbf3c2SXin Li  indirectly infringes any patent where such claim is resolved (such as by
288*f1fbf3c2SXin Li  license or settlement) prior to the initiation of patent infringement
289*f1fbf3c2SXin Li  litigation, then the reasonable value of the licenses granted by such
290*f1fbf3c2SXin Li  Participant under Sections 2.1 or 2.2 shall be taken into account in
291*f1fbf3c2SXin Li  determining the amount or value of any payment or license.
292*f1fbf3c2SXin Li  <P><B>8.4.</B>&nbsp; In the event of termination under Sections 8.1 or 8.2
293*f1fbf3c2SXin Li  above,&nbsp; all end user license agreements (excluding distributors and
294*f1fbf3c2SXin Li  resellers) which have been validly granted by You or any distributor hereunder
295*f1fbf3c2SXin Li  prior to termination shall survive termination.</P></UL><B>9. LIMITATION OF
296*f1fbf3c2SXin LiLIABILITY.</B>
297*f1fbf3c2SXin Li<UL>UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING
298*f1fbf3c2SXin Li  NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY
299*f1fbf3c2SXin Li  OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY
300*f1fbf3c2SXin Li  OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL,
301*f1fbf3c2SXin Li  INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
302*f1fbf3c2SXin Li  LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
303*f1fbf3c2SXin Li  MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH
304*f1fbf3c2SXin Li  PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS
305*f1fbf3c2SXin Li  LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
306*f1fbf3c2SXin Li  INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
307*f1fbf3c2SXin Li  PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
308*f1fbf3c2SXin Li  LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND
309*f1fbf3c2SXin Li  LIMITATION MAY NOT APPLY TO YOU.</UL><B>10. U.S. GOVERNMENT END USERS.</B>
310*f1fbf3c2SXin Li<UL>The Covered Code is a ''commercial item,'' as that term is defined in 48
311*f1fbf3c2SXin Li  C.F.R. 2.101 (Oct. 1995), consisting of ''commercial computer software'' and
312*f1fbf3c2SXin Li  ''commercial computer software documentation,'' as such terms are used in 48
313*f1fbf3c2SXin Li  C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R.
314*f1fbf3c2SXin Li  227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users
315*f1fbf3c2SXin Li  acquire Covered Code with only those rights set forth herein.</UL><B>11.
316*f1fbf3c2SXin LiMISCELLANEOUS.</B>
317*f1fbf3c2SXin Li<UL>This License represents the complete agreement concerning subject matter
318*f1fbf3c2SXin Li  hereof. If any provision of this License is held to be unenforceable, such
319*f1fbf3c2SXin Li  provision shall be reformed only to the extent necessary to make it
320*f1fbf3c2SXin Li  enforceable. This License shall be governed by California law provisions
321*f1fbf3c2SXin Li  (except to the extent applicable law, if any, provides otherwise), excluding
322*f1fbf3c2SXin Li  its conflict-of-law provisions. With respect to disputes in which at least one
323*f1fbf3c2SXin Li  party is a citizen of, or an entity chartered or registered to do business in
324*f1fbf3c2SXin Li  the United States of America, any litigation relating to this License shall be
325*f1fbf3c2SXin Li  subject to the jurisdiction of the Federal Courts of the Northern District of
326*f1fbf3c2SXin Li  California, with venue lying in Santa Clara County, California, with the
327*f1fbf3c2SXin Li  losing party responsible for costs, including without limitation, court costs
328*f1fbf3c2SXin Li  and reasonable attorneys' fees and expenses. The application of the United
329*f1fbf3c2SXin Li  Nations Convention on Contracts for the International Sale of Goods is
330*f1fbf3c2SXin Li  expressly excluded. Any law or regulation which provides that the language of
331*f1fbf3c2SXin Li  a contract shall be construed against the drafter shall not apply to this
332*f1fbf3c2SXin Li  License.</UL><B>12. RESPONSIBILITY FOR CLAIMS.</B>
333*f1fbf3c2SXin Li<UL>As between Initial Developer and the Contributors, each party is
334*f1fbf3c2SXin Li  responsible for claims and damages arising, directly or indirectly, out of its
335*f1fbf3c2SXin Li  utilization of rights under this License and You agree to work with Initial
336*f1fbf3c2SXin Li  Developer and Contributors to distribute such responsibility on an equitable
337*f1fbf3c2SXin Li  basis. Nothing herein is intended or shall be deemed to constitute any
338*f1fbf3c2SXin Li  admission of liability.</UL><B>13. MULTIPLE-LICENSED CODE.</B>
339*f1fbf3c2SXin Li<UL>Initial Developer may designate portions of the Covered Code as
340*f1fbf3c2SXin Li  "Multiple-Licensed".&nbsp; "Multiple-Licensed" means that the Initial
341*f1fbf3c2SXin Li  Developer permits you to utilize portions of the Covered Code under Your
342*f1fbf3c2SXin Li  choice of the MPL or the alternative licenses, if any, specified by the
343*f1fbf3c2SXin Li  Initial Developer in the file described in Exhibit A.</UL>
344*f1fbf3c2SXin Li<P><BR><B>EXHIBIT A -Mozilla Public License.</B>
345*f1fbf3c2SXin Li<UL>The contents of this file are subject to the Mozilla Public License
346*f1fbf3c2SXin Li  Version 1.1 (the "License"); you may not use this file except in compliance
347*f1fbf3c2SXin Li  with the License. You may obtain a copy of the License at
348*f1fbf3c2SXin Li  <BR>http://www.mozilla.org/MPL/
349*f1fbf3c2SXin Li  <P>Software distributed under the License is distributed on an "AS IS" basis,
350*f1fbf3c2SXin Li  WITHOUT WARRANTY OF <BR>ANY KIND, either express or implied. See the License
351*f1fbf3c2SXin Li  for the specific language governing rights and <BR>limitations under the
352*f1fbf3c2SXin Li  License.
353*f1fbf3c2SXin Li  <P>The Original Code is Javassist.
354*f1fbf3c2SXin Li  <P>The Initial Developer of the Original Code is Shigeru Chiba.
355*f1fbf3c2SXin Li  Portions created by the Initial Developer are<BR>&nbsp;
356*f1fbf3c2SXin Li  Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.
357*f1fbf3c2SXin Li  <P>Contributor(s):  __Bill Burke, Jason T. Greene______________.
358*f1fbf3c2SXin Li
359*f1fbf3c2SXin Li<p>Alternatively, the contents of this software may be used under the
360*f1fbf3c2SXin Literms of the GNU Lesser General Public License Version 2.1 or later
361*f1fbf3c2SXin Li(the "LGPL"), or the Apache License Version 2.0 (the "AL"),
362*f1fbf3c2SXin Liin which case the provisions of the LGPL or the AL are applicable
363*f1fbf3c2SXin Liinstead of those above. If you wish to allow use of your version of
364*f1fbf3c2SXin Lithis software only under the terms of either the LGPL or the AL, and not to allow others to
365*f1fbf3c2SXin Liuse your version of this software under the terms of the MPL, indicate
366*f1fbf3c2SXin Liyour decision by deleting the provisions above and replace them with
367*f1fbf3c2SXin Lithe notice and other provisions required by the LGPL or the AL. If you do not
368*f1fbf3c2SXin Lidelete the provisions above, a recipient may use your version of this
369*f1fbf3c2SXin Lisoftware under the terms of any one of the MPL, the LGPL or the AL.
370*f1fbf3c2SXin Li
371*f1fbf3c2SXin Li  <P></P></UL>
372*f1fbf3c2SXin Li</BODY>
373*f1fbf3c2SXin Li</HTML>
374