1*4882a593Smuzhiyun 2*4882a593SmuzhiyunSUN PUBLIC LICENSE Version 1.0 3*4882a593Smuzhiyun 4*4882a593Smuzhiyun1. Definitions. 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun1.0.1. "Commercial Use" means distribution or otherwise making the 7*4882a593SmuzhiyunCovered Code available to a third party. 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun1.1. "Contributor" means each entity that creates or contributes to 10*4882a593Smuzhiyunthe creation of Modifications. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun1.2. "Contributor Version" means the combination of the Original Code, 13*4882a593Smuzhiyunprior Modifications used by a Contributor, and the Modifications made 14*4882a593Smuzhiyunby that particular Contributor. 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun1.3. "Covered Code" means the Original Code or Modifications or the 17*4882a593Smuzhiyuncombination of the Original Code and Modifications, in each case 18*4882a593Smuzhiyunincluding portions thereof and corresponding documentation released 19*4882a593Smuzhiyunwith the source code. 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun1.4. "Electronic Distribution Mechanism" means a mechanism generally 22*4882a593Smuzhiyunaccepted in the software development community for the electronic 23*4882a593Smuzhiyuntransfer of data. 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun1.5. "Executable" means Covered Code in any form other than Source 26*4882a593SmuzhiyunCode. 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun1.6. "Initial Developer" means the individual or entity identified as 29*4882a593Smuzhiyunthe Initial Developer in the Source Code notice required by Exhibit 30*4882a593SmuzhiyunA. 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun1.7. "Larger Work" means a work which combines Covered Code or 33*4882a593Smuzhiyunportions thereof with code not governed by the terms of this 34*4882a593SmuzhiyunLicense. 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun1.8. "License" means this document. 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun1.8.1. "Licensable" means having the right to grant, to the maximum 39*4882a593Smuzhiyunextent possible, whether at the time of the initial grant or 40*4882a593Smuzhiyunsubsequently acquired, any and all of the rights conveyed herein. 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun1.9. "Modifications" means any addition to or deletion from the 43*4882a593Smuzhiyunsubstance or structure of either the Original Code or any previous 44*4882a593SmuzhiyunModifications. When Covered Code is released as a series of files, a 45*4882a593SmuzhiyunModification is: 46*4882a593Smuzhiyun 47*4882a593SmuzhiyunA. Any addition to or deletion from the contents of a file containing 48*4882a593SmuzhiyunOriginal Code or previous Modifications. 49*4882a593Smuzhiyun 50*4882a593SmuzhiyunB. Any new file that contains any part of the Original Code or 51*4882a593Smuzhiyunprevious Modifications. 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun1.10. "Original Code"../ means Source Code of computer software code 54*4882a593Smuzhiyunwhich is described in the Source Code notice required by Exhibit A as 55*4882a593SmuzhiyunOriginal Code, and which, at the time of its release under this 56*4882a593SmuzhiyunLicense is not already Covered Code governed by this License. 57*4882a593Smuzhiyun 58*4882a593Smuzhiyun1.10.1. "Patent Claims" means any patent claim(s), now owned or 59*4882a593Smuzhiyunhereafter acquired, including without limitation, method, process, and 60*4882a593Smuzhiyunapparatus claims, in any patent Licensable by grantor. 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun1.11. "Source Code"../ means the preferred form of the Covered Code 63*4882a593Smuzhiyunfor 64*4882a593Smuzhiyunmaking modifications to it, including all modules it contains, plus 65*4882a593Smuzhiyunany associated documentation, interface definition files, scripts used 66*4882a593Smuzhiyunto control compilation and installation of an Executable, or source 67*4882a593Smuzhiyuncode differential comparisons against either the Original Code or 68*4882a593Smuzhiyunanother well known, available Covered Code of the Contributor`s 69*4882a593Smuzhiyunchoice. The Source Code can be in a compressed or archival form, 70*4882a593Smuzhiyunprovided the appropriate decompression or de-archiving software is 71*4882a593Smuzhiyunwidely available for no charge. 72*4882a593Smuzhiyun 73*4882a593Smuzhiyun1.12. "You" (or "Your") means an individual or a legal entity 74*4882a593Smuzhiyunexercising rights under, and complying with all of the terms of, this 75*4882a593SmuzhiyunLicense or a future version of this License issued under Section 6.1. 76*4882a593SmuzhiyunFor legal entities, "You" includes any entity which controls, is 77*4882a593Smuzhiyuncontrolled by, or is under common control with You. For purposes of 78*4882a593Smuzhiyunthis definition, "control"../ means (a) the power, direct or indirect, 79*4882a593Smuzhiyunto 80*4882a593Smuzhiyuncause the direction or management of such entity, whether by contract 81*4882a593Smuzhiyunor otherwise, or (b) ownership of more than fifty percent (50%) of the 82*4882a593Smuzhiyunoutstanding shares or beneficial ownership of such entity. 83*4882a593Smuzhiyun 84*4882a593Smuzhiyun2. Source Code License. 85*4882a593Smuzhiyun 86*4882a593Smuzhiyun2.1 The Initial Developer Grant. 87*4882a593Smuzhiyun 88*4882a593SmuzhiyunThe Initial Developer hereby grants You a world-wide, royalty-free, 89*4882a593Smuzhiyunnon-exclusive license, subject to third party intellectual property 90*4882a593Smuzhiyunclaims: 91*4882a593Smuzhiyun 92*4882a593Smuzhiyun(a) under intellectual property rights (other than patent or 93*4882a593Smuzhiyuntrademark) Licensable by Initial Developer to use, reproduce, modify, 94*4882a593Smuzhiyundisplay, perform, sublicense and distribute the Original Code (or 95*4882a593Smuzhiyunportions thereof) with or without Modifications, and/or as part of a 96*4882a593SmuzhiyunLarger Work; and 97*4882a593Smuzhiyun 98*4882a593Smuzhiyun(b) under Patent Claims infringed by the making, using or selling of 99*4882a593SmuzhiyunOriginal Code, to make, have made, use, practice, sell, and offer for 100*4882a593Smuzhiyunsale, and/or otherwise dispose of the Original Code (or portions 101*4882a593Smuzhiyunthereof). 102*4882a593Smuzhiyun 103*4882a593Smuzhiyun(c) the licenses granted in this Section 2.1(a) and (b) are effective 104*4882a593Smuzhiyunon the date Initial Developer first distributes Original Code under 105*4882a593Smuzhiyunthe terms of this License. 106*4882a593Smuzhiyun 107*4882a593Smuzhiyun(d) Notwithstanding Section 2.1(b) above, no patent license is 108*4882a593Smuzhiyungranted: 1) for code that You delete from the Original Code; 2) 109*4882a593Smuzhiyunseparate from the Original Code; or 3) for infringements caused 110*4882a593Smuzhiyunby: 111*4882a593Smuzhiyun 112*4882a593Smuzhiyuni) the modification of the Original Code or ii) the combination of the 113*4882a593SmuzhiyunOriginal Code with other software or devices. 114*4882a593Smuzhiyun 115*4882a593Smuzhiyun2.2. Contributor Grant. 116*4882a593Smuzhiyun 117*4882a593SmuzhiyunSubject to third party intellectual property claims, each Contributor 118*4882a593Smuzhiyunhereby grants You a world-wide, royalty-free, non-exclusive license 119*4882a593Smuzhiyun 120*4882a593Smuzhiyun(a) under intellectual property rights (other than patent 121*4882a593Smuzhiyunor 122*4882a593Smuzhiyuntrademark) Licensable by Contributor, to use, reproduce, modify, 123*4882a593Smuzhiyundisplay, perform, sublicense and distribute the Modifications created 124*4882a593Smuzhiyunby such Contributor (or portions thereof) either on an unmodified 125*4882a593Smuzhiyunbasis, with other Modifications, as Covered Code and/or as part of a 126*4882a593SmuzhiyunLarger Work; and 127*4882a593Smuzhiyun 128*4882a593Smuzhiyunb) under Patent Claims infringed by the making, using, or selling of 129*4882a593SmuzhiyunModifications made by that Contributor either alone and/or in 130*4882a593Smuzhiyuncombination with its Contributor Version (or portions of such 131*4882a593Smuzhiyuncombination), to make, use, sell, offer for sale, have made, and/or 132*4882a593Smuzhiyunotherwise dispose of: 1) Modifications made by that Contributor (or 133*4882a593Smuzhiyunportions thereof); and 2) the combination of Modifications made by 134*4882a593Smuzhiyunthat Contributor with its Contributor Version (or portions of such 135*4882a593Smuzhiyuncombination). 136*4882a593Smuzhiyun 137*4882a593Smuzhiyun(c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective 138*4882a593Smuzhiyunon the date Contributor first makes Commercial Use of the Covered 139*4882a593SmuzhiyunCode. 140*4882a593Smuzhiyun 141*4882a593Smuzhiyun(d) notwithstanding Section 2.2(b) above, no patent license is 142*4882a593Smuzhiyungranted: 1) for any code that Contributor has deleted from the 143*4882a593SmuzhiyunContributor Version; 2) separate from the Contributor Version; 3) for 144*4882a593Smuzhiyuninfringements caused by: i) third party modifications of Contributor 145*4882a593SmuzhiyunVersion or ii) the combination of Modifications made by that 146*4882a593SmuzhiyunContributor with other software (except as part of the Contributor 147*4882a593SmuzhiyunVersion) or other devices; or 4) under Patent Claims infringed by 148*4882a593SmuzhiyunCovered Code in the absence of Modifications made by that 149*4882a593SmuzhiyunContributor. 150*4882a593Smuzhiyun 151*4882a593Smuzhiyun3. Distribution Obligations. 152*4882a593Smuzhiyun 153*4882a593Smuzhiyun3.1. Application of License. 154*4882a593Smuzhiyun 155*4882a593SmuzhiyunThe Modifications which You create or to which You contribute are 156*4882a593Smuzhiyungoverned by the terms of this License, including without limitation 157*4882a593SmuzhiyunSection 2.2. The Source Code version of Covered Code may be 158*4882a593Smuzhiyundistributed only under the terms of this License or a future version 159*4882a593Smuzhiyunof this License released under Section 6.1, and You must include a 160*4882a593Smuzhiyuncopy of this License with every copy of the Source Code You 161*4882a593Smuzhiyundistribute. You may not offer or impose any terms on any Source Code 162*4882a593Smuzhiyunversion that alters or restricts the applicable version of this 163*4882a593SmuzhiyunLicense or the recipients` rights hereunder. However, You may include 164*4882a593Smuzhiyunan additional document offering the additional rights described in 165*4882a593SmuzhiyunSection 3.5. 166*4882a593Smuzhiyun 167*4882a593Smuzhiyun3.2. Availability of Source Code. 168*4882a593Smuzhiyun 169*4882a593SmuzhiyunAny Modification which You create or to which You contribute must be 170*4882a593Smuzhiyunmade available in Source Code form under the terms of this License 171*4882a593Smuzhiyuneither on the same media as an Executable version or via an accepted 172*4882a593SmuzhiyunElectronic Distribution Mechanism to anyone to whom you made an 173*4882a593SmuzhiyunExecutable version available; and if made available via Electronic 174*4882a593SmuzhiyunDistribution Mechanism, must remain available for at least twelve (12) 175*4882a593Smuzhiyunmonths after the date it initially became available, or at least six 176*4882a593Smuzhiyun(6) months after a subsequent version of that particular Modification 177*4882a593Smuzhiyunhas been made available to such recipients. You are responsible for 178*4882a593Smuzhiyunensuring that the Source Code version remains available even if the 179*4882a593SmuzhiyunElectronic Distribution Mechanism is maintained by a third party. 180*4882a593Smuzhiyun 181*4882a593Smuzhiyun3.3. Description of Modifications. 182*4882a593Smuzhiyun 183*4882a593SmuzhiyunYou must cause all Covered Code to which You contribute to contain a 184*4882a593Smuzhiyunfile documenting the changes You made to create that Covered Code and 185*4882a593Smuzhiyunthe date of any change. You must include a prominent statement that 186*4882a593Smuzhiyunthe Modification is derived, directly or indirectly, from Original 187*4882a593SmuzhiyunCode provided by the Initial Developer and including the name of the 188*4882a593SmuzhiyunInitial Developer in (a) the Source Code, and (b) in any notice in an 189*4882a593SmuzhiyunExecutable version or related documentation in which You describe the 190*4882a593Smuzhiyunorigin or ownership of the Covered Code. 191*4882a593Smuzhiyun 192*4882a593Smuzhiyun3.4. Intellectual Property Matters. 193*4882a593Smuzhiyun 194*4882a593Smuzhiyun(a) Third Party Claims. 195*4882a593Smuzhiyun 196*4882a593SmuzhiyunIf Contributor has knowledge that a license under a third party`s 197*4882a593Smuzhiyunintellectual property rights is required to exercise the rights 198*4882a593Smuzhiyungranted by such Contributor under Sections 2.1 or 2.2, Contributor 199*4882a593Smuzhiyunmust include a text file with the Source Code distribution titled 200*4882a593Smuzhiyun"../LEGAL`` which describes the claim and the party making the claim in 201*4882a593Smuzhiyunsufficient detail that a recipient will know whom to contact. If 202*4882a593SmuzhiyunContributor obtains such knowledge after the Modification is made 203*4882a593Smuzhiyunavailable as described in Section 3.2, Contributor shall promptly 204*4882a593Smuzhiyunmodify the LEGAL file in all copies Contributor makes available 205*4882a593Smuzhiyunthereafter and shall take other steps (such as notifying appropriate 206*4882a593Smuzhiyunmailing lists or newsgroups) reasonably calculated to inform those who 207*4882a593Smuzhiyunreceived the Covered Code that new knowledge has been obtained. 208*4882a593Smuzhiyun 209*4882a593Smuzhiyun(b) Contributor APIs. 210*4882a593Smuzhiyun 211*4882a593SmuzhiyunIf Contributor`s Modifications include an application programming 212*4882a593Smuzhiyuninterface ("API"../) and Contributor has knowledge of patent licenses 213*4882a593Smuzhiyunwhich are reasonably necessary to implement that API, Contributor must 214*4882a593Smuzhiyunalso include this information in the LEGAL file. 215*4882a593Smuzhiyun 216*4882a593Smuzhiyun(c) Representations. 217*4882a593Smuzhiyun 218*4882a593SmuzhiyunContributor represents that, except as disclosed pursuant to Section 219*4882a593Smuzhiyun3.4(a) above, Contributor believes that Contributor`s Modifications 220*4882a593Smuzhiyunare Contributor`s original creation(s) and/or Contributor has 221*4882a593Smuzhiyunsufficient rights to grant the rights conveyed by this 222*4882a593SmuzhiyunLicense 223*4882a593Smuzhiyun 224*4882a593Smuzhiyun. 225*4882a593Smuzhiyun 226*4882a593Smuzhiyun3.5. Required Notices. 227*4882a593Smuzhiyun 228*4882a593SmuzhiyunYou must duplicate the notice in Exhibit A in each file of the Source 229*4882a593SmuzhiyunCode. If it is not possible to put such notice in a particular Source 230*4882a593SmuzhiyunCode file due to its structure, then You must include such notice in a 231*4882a593Smuzhiyunlocation (such as a relevant directory) where a user would be likely 232*4882a593Smuzhiyunto look for such a notice. If You created one or more Modification(s) 233*4882a593SmuzhiyunYou may add your name as a Contributor to the notice described in 234*4882a593SmuzhiyunExhibit A. You must also duplicate this License in any documentation 235*4882a593Smuzhiyunfor the Source Code where You describe recipients` rights or ownership 236*4882a593Smuzhiyunrights relating to Covered Code. You may choose to offer, and to 237*4882a593Smuzhiyuncharge a fee for, warranty, support, indemnity or liability 238*4882a593Smuzhiyunobligations to one or more recipients of Covered Code. However, You 239*4882a593Smuzhiyunmay do so only on Your own behalf, and not on behalf of the Initial 240*4882a593SmuzhiyunDeveloper or any Contributor. You must make it absolutely clear than 241*4882a593Smuzhiyunany such warranty, support, indemnity or liability obligation is 242*4882a593Smuzhiyunoffered by You alone, and You hereby agree to indemnify the Initial 243*4882a593SmuzhiyunDeveloper and every Contributor for any liability incurred by the 244*4882a593SmuzhiyunInitial Developer or such Contributor as a result of warranty, 245*4882a593Smuzhiyunsupport, indemnity or liability terms You offer. 246*4882a593Smuzhiyun 247*4882a593Smuzhiyun3.6. Distribution of Executable Versions. 248*4882a593Smuzhiyun 249*4882a593SmuzhiyunYou may distribute Covered Code in Executable form only if the 250*4882a593Smuzhiyunrequirements of Section 3.1-3.5 have been met for that Covered Code, 251*4882a593Smuzhiyunand if You include a notice stating that the Source Code version of 252*4882a593Smuzhiyunthe Covered Code is available under the terms of this License, 253*4882a593Smuzhiyunincluding a description of how and where You have fulfilled the 254*4882a593Smuzhiyunobligations of Section 3.2. The notice must be conspicuously included 255*4882a593Smuzhiyunin any notice in an Executable version, related documentation or 256*4882a593Smuzhiyuncollateral in which You describe recipients` rights relating to the 257*4882a593SmuzhiyunCovered Code. You may distribute the Executable version of Covered 258*4882a593SmuzhiyunCode or ownership rights under a license of Your choice, which may 259*4882a593Smuzhiyuncontain terms different from this License, provided that You are in 260*4882a593Smuzhiyuncompliance with the terms of this License and that the license for the 261*4882a593SmuzhiyunExecutable version does not attempt to limit or alter the recipient`s 262*4882a593Smuzhiyunrights in the Source Code version from the rights set forth in this 263*4882a593SmuzhiyunLicense. If You distribute the Executable version under a different 264*4882a593Smuzhiyunlicense You must make it absolutely clear that any terms which differ 265*4882a593Smuzhiyunfrom this License are offered by You alone, not by the Initial 266*4882a593SmuzhiyunDeveloper or any Contributor. You hereby agree to indemnify the 267*4882a593SmuzhiyunInitial Developer and every Contributor for any liability incurred by 268*4882a593Smuzhiyunthe Initial Developer or such Contributor as a result of any such 269*4882a593Smuzhiyunterms You offer. 270*4882a593Smuzhiyun 271*4882a593Smuzhiyun3.7. Larger Works. 272*4882a593Smuzhiyun 273*4882a593SmuzhiyunYou may create a Larger Work by combining Covered Code with other 274*4882a593Smuzhiyuncode 275*4882a593Smuzhiyunnot governed by the terms of this License and distribute the Larger 276*4882a593SmuzhiyunWork as a single product. In such a case, You must make sure the 277*4882a593Smuzhiyunrequirements of this License are fulfilled for the Covered Code. 278*4882a593Smuzhiyun 279*4882a593Smuzhiyun4. Inability to Comply Due to Statute or Regulation. 280*4882a593Smuzhiyun 281*4882a593SmuzhiyunIf it is impossible for You to comply with any of the terms of this 282*4882a593SmuzhiyunLicense with respect to some or all of the Covered Code due to 283*4882a593Smuzhiyunstatute, judicial order, or regulation then You must: (a) comply with 284*4882a593Smuzhiyunthe terms of this License to the maximum extent possible; and (b) 285*4882a593Smuzhiyundescribe the limitations and the code they affect. Such description 286*4882a593Smuzhiyunmust be included in the LEGAL file described in Section 3.4 and must 287*4882a593Smuzhiyunbe included with all distributions of the Source Code. Except to the 288*4882a593Smuzhiyunextent prohibited by statute or regulation, such description must be 289*4882a593Smuzhiyunsufficiently detailed for a recipient of ordinary skill to be able to 290*4882a593Smuzhiyununderstand it. 291*4882a593Smuzhiyun 292*4882a593Smuzhiyun5. Application of this License. 293*4882a593Smuzhiyun 294*4882a593SmuzhiyunThis License applies to code to which the Initial Developer has 295*4882a593Smuzhiyunattached the notice in Exhibit A and to related Covered Code. 296*4882a593Smuzhiyun 297*4882a593Smuzhiyun6. Versions of the License. 298*4882a593Smuzhiyun 299*4882a593Smuzhiyun6.1. New Versions. 300*4882a593Smuzhiyun 301*4882a593SmuzhiyunSun Microsystems, Inc. ("Sun") may publish revised and/or new versions 302*4882a593Smuzhiyunof the License from time to time. Each version will be given a 303*4882a593Smuzhiyundistinguishing version number. 304*4882a593Smuzhiyun 305*4882a593Smuzhiyun6.2. Effect of New Versions. 306*4882a593Smuzhiyun 307*4882a593SmuzhiyunOnce Covered Code has been published under a particular version of 308*4882a593Smuzhiyunthe 309*4882a593SmuzhiyunLicense, You may always continue to use it under the terms of that 310*4882a593Smuzhiyunversion. You may also choose to use such Covered Code under the terms 311*4882a593Smuzhiyunof any subsequent version of the License published by Sun. No one 312*4882a593Smuzhiyunother than Sun has the right to modify the terms applicable to Covered 313*4882a593SmuzhiyunCode created under this License. 314*4882a593Smuzhiyun 315*4882a593Smuzhiyun6.3. Derivative Works. 316*4882a593Smuzhiyun 317*4882a593SmuzhiyunIf You create or use a modified version of this License (which you 318*4882a593Smuzhiyunmay 319*4882a593Smuzhiyunonly do in order to apply it to code which is not already Covered Code 320*4882a593Smuzhiyungoverned by this License), You must: (a) rename Your license so that 321*4882a593Smuzhiyunthe phrases "Sun," "Sun Public License," or "SPL"../ or any confusingly 322*4882a593Smuzhiyunsimilar phrase do not appear in your license (except to note that your 323*4882a593Smuzhiyunlicense differs from this License) and (b) otherwise make it clear 324*4882a593Smuzhiyunthat Your version of the license contains terms which differ from the 325*4882a593SmuzhiyunSun Public License. (Filling in the name of the Initial Developer, 326*4882a593SmuzhiyunOriginal Code or Contributor in the notice described in Exhibit A 327*4882a593Smuzhiyunshall not of themselves be deemed to be modifications of this 328*4882a593SmuzhiyunLicense.) 329*4882a593Smuzhiyun 330*4882a593Smuzhiyun7. DISCLAIMER OF WARRANTY. 331*4882a593Smuzhiyun 332*4882a593SmuzhiyunCOVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "../AS IS`` BASIS, 333*4882a593SmuzhiyunWITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, 334*4882a593SmuzhiyunWITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF 335*4882a593SmuzhiyunDEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. 336*4882a593SmuzhiyunTHE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE 337*4882a593SmuzhiyunIS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, 338*4882a593SmuzhiyunYOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE 339*4882a593SmuzhiyunCOST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER 340*4882a593SmuzhiyunOF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF 341*4882a593SmuzhiyunANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS 342*4882a593SmuzhiyunDISCLAIMER. 343*4882a593Smuzhiyun 344*4882a593Smuzhiyun8. TERMINATION. 345*4882a593Smuzhiyun 346*4882a593Smuzhiyun8.1. This License and the rights granted hereunder will terminate 347*4882a593Smuzhiyunautomatically if You fail to comply with terms herein and fail to cure 348*4882a593Smuzhiyunsuch breach within 30 days of becoming aware of the breach. All 349*4882a593Smuzhiyunsublicenses to the Covered Code which are properly granted shall 350*4882a593Smuzhiyunsurvive any termination of this License. Provisions which, by their 351*4882a593Smuzhiyunnature, must remain in effect beyond the termination of this License 352*4882a593Smuzhiyunshall survive. 353*4882a593Smuzhiyun 354*4882a593Smuzhiyun8.2. If You initiate litigation by asserting a patent infringement 355*4882a593Smuzhiyunclaim (excluding declaratory judgment actions) against Initial Developer 356*4882a593Smuzhiyunor a Contributor (the Initial Developer or Contributor against whom 357*4882a593SmuzhiyunYou file such action is referred to as "Participant") alleging 358*4882a593Smuzhiyunthat: 359*4882a593Smuzhiyun 360*4882a593Smuzhiyun(a) such Participant`s Contributor Version directly or indirectly 361*4882a593Smuzhiyuninfringes any patent, then any and all rights granted by such 362*4882a593SmuzhiyunParticipant to You under Sections 2.1 and/or 2.2 of this License 363*4882a593Smuzhiyunshall, upon 60 days notice from Participant terminate prospectively, 364*4882a593Smuzhiyununless if within 60 days after receipt of notice You either: (i) 365*4882a593Smuzhiyunagree in writing to pay Participant a mutually agreeable reasonable 366*4882a593Smuzhiyunroyalty for Your past and future use of Modifications made by such 367*4882a593SmuzhiyunParticipant, or (ii) withdraw Your litigation claim with respect to 368*4882a593Smuzhiyunthe Contributor Version against such Participant. If within 60 days 369*4882a593Smuzhiyunof notice, a reasonable royalty and payment arrangement are not 370*4882a593Smuzhiyunmutually agreed upon in writing by the parties or the litigation claim 371*4882a593Smuzhiyunis not withdrawn, the rights granted by Participant to You under 372*4882a593SmuzhiyunSections 2.1 and/or 2.2 automatically terminate at the expiration of 373*4882a593Smuzhiyunthe 60 day notice period specified above. 374*4882a593Smuzhiyun 375*4882a593Smuzhiyun(b) any software, hardware, or device, other than such Participant`s 376*4882a593SmuzhiyunContributor Version, directly or indirectly infringes any patent, then 377*4882a593Smuzhiyunany rights granted to You by such Participant under Sections 2.1(b) 378*4882a593Smuzhiyunand 2.2(b) are revoked effective as of the date You first made, used, 379*4882a593Smuzhiyunsold, distributed, or had made, Modifications made by that 380*4882a593SmuzhiyunParticipant. 381*4882a593Smuzhiyun 382*4882a593Smuzhiyun8.3. If You assert a patent infringement claim against Participant 383*4882a593Smuzhiyunalleging that such Participant`s Contributor Version directly or 384*4882a593Smuzhiyunindirectly infringes any patent where such claim is resolved (such as 385*4882a593Smuzhiyunby license or settlement) prior to the initiation of patent 386*4882a593Smuzhiyuninfringement litigation, then the reasonable value of the licenses 387*4882a593Smuzhiyungranted by such Participant under Sections 2.1 or 2.2 shall be taken 388*4882a593Smuzhiyuninto account in determining the amount or value of any payment or 389*4882a593Smuzhiyunlicense. 390*4882a593Smuzhiyun 391*4882a593Smuzhiyun8.4. In the event of termination under Sections 8.1 or 8.2 above, 392*4882a593Smuzhiyunall 393*4882a593Smuzhiyunend user license agreements (excluding distributors and resellers) 394*4882a593Smuzhiyunwhich have been validly granted by You or any distributor hereunder 395*4882a593Smuzhiyunprior to termination shall survive termination. 396*4882a593Smuzhiyun 397*4882a593Smuzhiyun9. LIMITATION OF LIABILITY. 398*4882a593Smuzhiyun 399*4882a593SmuzhiyunUNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT 400*4882a593Smuzhiyun(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL 401*4882a593SmuzhiyunDEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, 402*4882a593SmuzhiyunOR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR 403*4882a593SmuzhiyunANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY 404*4882a593SmuzhiyunCHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, 405*4882a593SmuzhiyunWORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER 406*4882a593SmuzhiyunCOMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN 407*4882a593SmuzhiyunINFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF 408*4882a593SmuzhiyunLIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY 409*4882a593SmuzhiyunRESULTING FROM SUCH PARTY`S NEGLIGENCE TO THE EXTENT APPLICABLE LAW 410*4882a593SmuzhiyunPROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE 411*4882a593SmuzhiyunEXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO 412*4882a593SmuzhiyunTHIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 413*4882a593Smuzhiyun 414*4882a593Smuzhiyun10. U.S. GOVERNMENT END USERS. 415*4882a593Smuzhiyun 416*4882a593SmuzhiyunThe Covered Code is a "commercial item," as that term is defined in 417*4882a593Smuzhiyun48 418*4882a593SmuzhiyunC.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" 419*4882a593Smuzhiyunand "commercial computer software documentation,"../ as such terms are 420*4882a593Smuzhiyunused in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 421*4882a593Smuzhiyun12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all 422*4882a593SmuzhiyunU.S. Government End Users acquire Covered Code with only those rights 423*4882a593Smuzhiyunset forth herein. 424*4882a593Smuzhiyun 425*4882a593Smuzhiyun11. MISCELLANEOUS. 426*4882a593Smuzhiyun 427*4882a593SmuzhiyunThis License represents the complete agreement concerning subject 428*4882a593Smuzhiyunmatter hereof. If any provision of this License is held to be 429*4882a593Smuzhiyununenforceable, such provision shall be reformed only to the extent 430*4882a593Smuzhiyunnecessary to make it enforceable. This License shall be governed by 431*4882a593SmuzhiyunCalifornia law provisions (except to the extent applicable law, if 432*4882a593Smuzhiyunany, provides otherwise), excluding its conflict-of-law provisions. 433*4882a593SmuzhiyunWith respect to disputes in which at least one party is a citizen of, 434*4882a593Smuzhiyunor an entity chartered or registered to do business in the United 435*4882a593SmuzhiyunStates of America, any litigation relating to this License shall be 436*4882a593Smuzhiyunsubject to the jurisdiction of the Federal Courts of the Northern 437*4882a593SmuzhiyunDistrict of California, with venue lying in Santa Clara County, 438*4882a593SmuzhiyunCalifornia, with the losing party responsible for costs, including 439*4882a593Smuzhiyunwithout limitation, court costs and reasonable attorneys` fees and 440*4882a593Smuzhiyunexpenses. The application of the United Nations Convention on 441*4882a593SmuzhiyunContracts for the International Sale of Goods is expressly excluded. 442*4882a593SmuzhiyunAny law or regulation which provides that the language of a contract 443*4882a593Smuzhiyunshall be construed against the drafter shall not apply to this 444*4882a593SmuzhiyunLicense. 445*4882a593Smuzhiyun 446*4882a593Smuzhiyun12. RESPONSIBILITY FOR CLAIMS. 447*4882a593Smuzhiyun 448*4882a593SmuzhiyunAs between Initial Developer and the Contributors, each party is 449*4882a593Smuzhiyunresponsible for claims and damages arising, directly or indirectly, 450*4882a593Smuzhiyunout of its utilization of rights under this License and You agree to 451*4882a593Smuzhiyunwork with Initial Developer and Contributors to distribute such 452*4882a593Smuzhiyunresponsibility on an equitable basis. Nothing herein is intended or 453*4882a593Smuzhiyunshall be deemed to constitute any admission of liability. 454*4882a593Smuzhiyun 455*4882a593Smuzhiyun13. MULTIPLE-LICENSED CODE. 456*4882a593Smuzhiyun 457*4882a593SmuzhiyunInitial Developer may designate portions of the Covered Code as 458*4882a593Smuzhiyun?Multiple-Licensed?. ?Multiple-Licensed? means that the Initial 459*4882a593SmuzhiyunDeveloper permits you to utilize portions of the Covered Code under 460*4882a593SmuzhiyunYour choice of the alternative licenses, if any, specified by the 461*4882a593SmuzhiyunInitial Developer in the file described in Exhibit A. 462*4882a593Smuzhiyun 463*4882a593SmuzhiyunExhibit A -Sun Public License Notice. 464*4882a593Smuzhiyun 465*4882a593SmuzhiyunThe contents of this file are subject to the Sun Public License 466*4882a593Smuzhiyun 467*4882a593SmuzhiyunVersion 1.0 (the License); you may not use this file except in 468*4882a593Smuzhiyun 469*4882a593Smuzhiyuncompliance with the License. A copy of the License is available at 470*4882a593Smuzhiyun 471*4882a593Smuzhiyunhttp://www.sun.com/ 472*4882a593Smuzhiyun 473*4882a593SmuzhiyunThe Original Code is _________________. The Initial Developer of the 474*4882a593Smuzhiyun 475*4882a593SmuzhiyunOriginal Code is ___________. Portions created by ______ are Copyright 476*4882a593Smuzhiyun 477*4882a593Smuzhiyun(C)_________. All Rights Reserved. 478*4882a593Smuzhiyun 479*4882a593SmuzhiyunContributor(s): ______________________________________. 480*4882a593Smuzhiyun 481*4882a593SmuzhiyunAlternatively, the contents of this file may be used under the terms 482*4882a593Smuzhiyun 483*4882a593Smuzhiyunof the _____ license (the ?[___] License?), in which case the 484*4882a593Smuzhiyun 485*4882a593Smuzhiyunprovisions of [______] License are applicable instead of those above. 486*4882a593Smuzhiyun 487*4882a593SmuzhiyunIf you wish to allow use of your version of this file only under the 488*4882a593Smuzhiyun 489*4882a593Smuzhiyunterms of the [____] License and not to allow others to use your 490*4882a593Smuzhiyun 491*4882a593Smuzhiyunversion of this file under the SPL, indicate your decision by deleting 492*4882a593Smuzhiyun 493*4882a593Smuzhiyunthe provisions above and replace them with the notice and other 494*4882a593Smuzhiyun 495*4882a593Smuzhiyunprovisions required by the [___] License. If you do not delete the 496*4882a593Smuzhiyun 497*4882a593Smuzhiyunprovisions above, a recipient may use your version of this file under 498*4882a593Smuzhiyun 499*4882a593Smuzhiyuneither the SPL or the [___] License. 500*4882a593Smuzhiyun[NOTE: The text of this Exhibit A may differ slightly from the text of 501*4882a593Smuzhiyun 502*4882a593Smuzhiyunthe notices in the Source Code files of the Original Code. You should 503*4882a593Smuzhiyun 504*4882a593Smuzhiyunuse the text of this Exhibit A rather than the text found in the 505*4882a593Smuzhiyun 506*4882a593SmuzhiyunOriginal Code Source Code for Your Modifications.] 507*4882a593Smuzhiyun 508