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