3381 |
3381 |
3382 --- end of LICENSE --- |
3382 --- end of LICENSE --- |
3383 |
3383 |
3384 ------------------------------------------------------------------------------- |
3384 ------------------------------------------------------------------------------- |
3385 |
3385 |
|
3386 %% This notice is provided with respect to Mozilla Network Security |
|
3387 Services (NSS), which is supplied with the JDK test suite in the OpenJDK |
|
3388 source code repository. It is licensed under Mozilla Public License (MPL), |
|
3389 version 2.0. |
|
3390 |
|
3391 The NSS libraries are supplied in executable form, built from unmodified |
|
3392 NSS source code labeled with the "NSS_3.13.1_RTM" release tag. |
|
3393 |
|
3394 The NSS source code is available in the OpenJDK source code repository at: |
|
3395 jdk/test/sun/security/pkcs11/nss/src |
|
3396 |
|
3397 The NSS libraries are available in the OpenJDK source code repository at: |
|
3398 jdk/test/sun/security/pkcs11/nss/lib |
|
3399 |
|
3400 --- begin of LICENSE --- |
|
3401 |
|
3402 Mozilla Public License Version 2.0 |
|
3403 ================================== |
|
3404 |
|
3405 1. Definitions |
|
3406 -------------- |
|
3407 |
|
3408 1.1. "Contributor" |
|
3409 means each individual or legal entity that creates, contributes to |
|
3410 the creation of, or owns Covered Software. |
|
3411 |
|
3412 1.2. "Contributor Version" |
|
3413 means the combination of the Contributions of others (if any) used |
|
3414 by a Contributor and that particular Contributor's Contribution. |
|
3415 |
|
3416 1.3. "Contribution" |
|
3417 means Covered Software of a particular Contributor. |
|
3418 |
|
3419 1.4. "Covered Software" |
|
3420 means Source Code Form to which the initial Contributor has attached |
|
3421 the notice in Exhibit A, the Executable Form of such Source Code |
|
3422 Form, and Modifications of such Source Code Form, in each case |
|
3423 including portions thereof. |
|
3424 |
|
3425 1.5. "Incompatible With Secondary Licenses" |
|
3426 means |
|
3427 |
|
3428 (a) that the initial Contributor has attached the notice described |
|
3429 in Exhibit B to the Covered Software; or |
|
3430 |
|
3431 (b) that the Covered Software was made available under the terms of |
|
3432 version 1.1 or earlier of the License, but not also under the |
|
3433 terms of a Secondary License. |
|
3434 |
|
3435 1.6. "Executable Form" |
|
3436 means any form of the work other than Source Code Form. |
|
3437 |
|
3438 1.7. "Larger Work" |
|
3439 means a work that combines Covered Software with other material, in |
|
3440 a separate file or files, that is not Covered Software. |
|
3441 |
|
3442 1.8. "License" |
|
3443 means this document. |
|
3444 |
|
3445 1.9. "Licensable" |
|
3446 means having the right to grant, to the maximum extent possible, |
|
3447 whether at the time of the initial grant or subsequently, any and |
|
3448 all of the rights conveyed by this License. |
|
3449 |
|
3450 1.10. "Modifications" |
|
3451 means any of the following: |
|
3452 |
|
3453 (a) any file in Source Code Form that results from an addition to, |
|
3454 deletion from, or modification of the contents of Covered |
|
3455 Software; or |
|
3456 |
|
3457 (b) any new file in Source Code Form that contains any Covered |
|
3458 Software. |
|
3459 |
|
3460 1.11. "Patent Claims" of a Contributor |
|
3461 means any patent claim(s), including without limitation, method, |
|
3462 process, and apparatus claims, in any patent Licensable by such |
|
3463 Contributor that would be infringed, but for the grant of the |
|
3464 License, by the making, using, selling, offering for sale, having |
|
3465 made, import, or transfer of either its Contributions or its |
|
3466 Contributor Version. |
|
3467 |
|
3468 1.12. "Secondary License" |
|
3469 means either the GNU General Public License, Version 2.0, the GNU |
|
3470 Lesser General Public License, Version 2.1, the GNU Affero General |
|
3471 Public License, Version 3.0, or any later versions of those |
|
3472 licenses. |
|
3473 |
|
3474 1.13. "Source Code Form" |
|
3475 means the form of the work preferred for making modifications. |
|
3476 |
|
3477 1.14. "You" (or "Your") |
|
3478 means an individual or a legal entity exercising rights under this |
|
3479 License. For legal entities, "You" includes any entity that |
|
3480 controls, is controlled by, or is under common control with You. For |
|
3481 purposes of this definition, "control" means (a) the power, direct |
|
3482 or indirect, to cause the direction or management of such entity, |
|
3483 whether by contract or otherwise, or (b) ownership of more than |
|
3484 fifty percent (50%) of the outstanding shares or beneficial |
|
3485 ownership of such entity. |
|
3486 |
|
3487 2. License Grants and Conditions |
|
3488 -------------------------------- |
|
3489 |
|
3490 2.1. Grants |
|
3491 |
|
3492 Each Contributor hereby grants You a world-wide, royalty-free, |
|
3493 non-exclusive license: |
|
3494 |
|
3495 (a) under intellectual property rights (other than patent or trademark) |
|
3496 Licensable by such Contributor to use, reproduce, make available, |
|
3497 modify, display, perform, distribute, and otherwise exploit its |
|
3498 Contributions, either on an unmodified basis, with Modifications, or |
|
3499 as part of a Larger Work; and |
|
3500 |
|
3501 (b) under Patent Claims of such Contributor to make, use, sell, offer |
|
3502 for sale, have made, import, and otherwise transfer either its |
|
3503 Contributions or its Contributor Version. |
|
3504 |
|
3505 2.2. Effective Date |
|
3506 |
|
3507 The licenses granted in Section 2.1 with respect to any Contribution |
|
3508 become effective for each Contribution on the date the Contributor first |
|
3509 distributes such Contribution. |
|
3510 |
|
3511 2.3. Limitations on Grant Scope |
|
3512 |
|
3513 The licenses granted in this Section 2 are the only rights granted under |
|
3514 this License. No additional rights or licenses will be implied from the |
|
3515 distribution or licensing of Covered Software under this License. |
|
3516 Notwithstanding Section 2.1(b) above, no patent license is granted by a |
|
3517 Contributor: |
|
3518 |
|
3519 (a) for any code that a Contributor has removed from Covered Software; |
|
3520 or |
|
3521 |
|
3522 (b) for infringements caused by: (i) Your and any other third party's |
|
3523 modifications of Covered Software, or (ii) the combination of its |
|
3524 Contributions with other software (except as part of its Contributor |
|
3525 Version); or |
|
3526 |
|
3527 (c) under Patent Claims infringed by Covered Software in the absence of |
|
3528 its Contributions. |
|
3529 |
|
3530 This License does not grant any rights in the trademarks, service marks, |
|
3531 or logos of any Contributor (except as may be necessary to comply with |
|
3532 the notice requirements in Section 3.4). |
|
3533 |
|
3534 2.4. Subsequent Licenses |
|
3535 |
|
3536 No Contributor makes additional grants as a result of Your choice to |
|
3537 distribute the Covered Software under a subsequent version of this |
|
3538 License (see Section 10.2) or under the terms of a Secondary License (if |
|
3539 permitted under the terms of Section 3.3). |
|
3540 |
|
3541 2.5. Representation |
|
3542 |
|
3543 Each Contributor represents that the Contributor believes its |
|
3544 Contributions are its original creation(s) or it has sufficient rights |
|
3545 to grant the rights to its Contributions conveyed by this License. |
|
3546 |
|
3547 2.6. Fair Use |
|
3548 |
|
3549 This License is not intended to limit any rights You have under |
|
3550 applicable copyright doctrines of fair use, fair dealing, or other |
|
3551 equivalents. |
|
3552 |
|
3553 2.7. Conditions |
|
3554 |
|
3555 Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted |
|
3556 in Section 2.1. |
|
3557 |
|
3558 3. Responsibilities |
|
3559 ------------------- |
|
3560 |
|
3561 3.1. Distribution of Source Form |
|
3562 |
|
3563 All distribution of Covered Software in Source Code Form, including any |
|
3564 Modifications that You create or to which You contribute, must be under |
|
3565 the terms of this License. You must inform recipients that the Source |
|
3566 Code Form of the Covered Software is governed by the terms of this |
|
3567 License, and how they can obtain a copy of this License. You may not |
|
3568 attempt to alter or restrict the recipients' rights in the Source Code |
|
3569 Form. |
|
3570 |
|
3571 3.2. Distribution of Executable Form |
|
3572 |
|
3573 If You distribute Covered Software in Executable Form then: |
|
3574 |
|
3575 (a) such Covered Software must also be made available in Source Code |
|
3576 Form, as described in Section 3.1, and You must inform recipients of |
|
3577 the Executable Form how they can obtain a copy of such Source Code |
|
3578 Form by reasonable means in a timely manner, at a charge no more |
|
3579 than the cost of distribution to the recipient; and |
|
3580 |
|
3581 (b) You may distribute such Executable Form under the terms of this |
|
3582 License, or sublicense it under different terms, provided that the |
|
3583 license for the Executable Form does not attempt to limit or alter |
|
3584 the recipients' rights in the Source Code Form under this License. |
|
3585 |
|
3586 3.3. Distribution of a Larger Work |
|
3587 |
|
3588 You may create and distribute a Larger Work under terms of Your choice, |
|
3589 provided that You also comply with the requirements of this License for |
|
3590 the Covered Software. If the Larger Work is a combination of Covered |
|
3591 Software with a work governed by one or more Secondary Licenses, and the |
|
3592 Covered Software is not Incompatible With Secondary Licenses, this |
|
3593 License permits You to additionally distribute such Covered Software |
|
3594 under the terms of such Secondary License(s), so that the recipient of |
|
3595 the Larger Work may, at their option, further distribute the Covered |
|
3596 Software under the terms of either this License or such Secondary |
|
3597 License(s). |
|
3598 |
|
3599 3.4. Notices |
|
3600 |
|
3601 You may not remove or alter the substance of any license notices |
|
3602 (including copyright notices, patent notices, disclaimers of warranty, |
|
3603 or limitations of liability) contained within the Source Code Form of |
|
3604 the Covered Software, except that You may alter any license notices to |
|
3605 the extent required to remedy known factual inaccuracies. |
|
3606 |
|
3607 3.5. Application of Additional Terms |
|
3608 |
|
3609 You may choose to offer, and to charge a fee for, warranty, support, |
|
3610 indemnity or liability obligations to one or more recipients of Covered |
|
3611 Software. However, You may do so only on Your own behalf, and not on |
|
3612 behalf of any Contributor. You must make it absolutely clear that any |
|
3613 such warranty, support, indemnity, or liability obligation is offered by |
|
3614 You alone, and You hereby agree to indemnify every Contributor for any |
|
3615 liability incurred by such Contributor as a result of warranty, support, |
|
3616 indemnity or liability terms You offer. You may include additional |
|
3617 disclaimers of warranty and limitations of liability specific to any |
|
3618 jurisdiction. |
|
3619 |
|
3620 4. Inability to Comply Due to Statute or Regulation |
|
3621 --------------------------------------------------- |
|
3622 |
|
3623 If it is impossible for You to comply with any of the terms of this |
|
3624 License with respect to some or all of the Covered Software due to |
|
3625 statute, judicial order, or regulation then You must: (a) comply with |
|
3626 the terms of this License to the maximum extent possible; and (b) |
|
3627 describe the limitations and the code they affect. Such description must |
|
3628 be placed in a text file included with all distributions of the Covered |
|
3629 Software under this License. Except to the extent prohibited by statute |
|
3630 or regulation, such description must be sufficiently detailed for a |
|
3631 recipient of ordinary skill to be able to understand it. |
|
3632 |
|
3633 5. Termination |
|
3634 -------------- |
|
3635 |
|
3636 5.1. The rights granted under this License will terminate automatically |
|
3637 if You fail to comply with any of its terms. However, if You become |
|
3638 compliant, then the rights granted under this License from a particular |
|
3639 Contributor are reinstated (a) provisionally, unless and until such |
|
3640 Contributor explicitly and finally terminates Your grants, and (b) on an |
|
3641 ongoing basis, if such Contributor fails to notify You of the |
|
3642 non-compliance by some reasonable means prior to 60 days after You have |
|
3643 come back into compliance. Moreover, Your grants from a particular |
|
3644 Contributor are reinstated on an ongoing basis if such Contributor |
|
3645 notifies You of the non-compliance by some reasonable means, this is the |
|
3646 first time You have received notice of non-compliance with this License |
|
3647 from such Contributor, and You become compliant prior to 30 days after |
|
3648 Your receipt of the notice. |
|
3649 |
|
3650 5.2. If You initiate litigation against any entity by asserting a patent |
|
3651 infringement claim (excluding declaratory judgment actions, |
|
3652 counter-claims, and cross-claims) alleging that a Contributor Version |
|
3653 directly or indirectly infringes any patent, then the rights granted to |
|
3654 You by any and all Contributors for the Covered Software under Section |
|
3655 2.1 of this License shall terminate. |
|
3656 |
|
3657 5.3. In the event of termination under Sections 5.1 or 5.2 above, all |
|
3658 end user license agreements (excluding distributors and resellers) which |
|
3659 have been validly granted by You or Your distributors under this License |
|
3660 prior to termination shall survive termination. |
|
3661 |
|
3662 ************************************************************************ |
|
3663 * * |
|
3664 * 6. Disclaimer of Warranty * |
|
3665 * ------------------------- * |
|
3666 * * |
|
3667 * Covered Software is provided under this License on an "as is" * |
|
3668 * basis, without warranty of any kind, either expressed, implied, or * |
|
3669 * statutory, including, without limitation, warranties that the * |
|
3670 * Covered Software is free of defects, merchantable, fit for a * |
|
3671 * particular purpose or non-infringing. The entire risk as to the * |
|
3672 * quality and performance of the Covered Software is with You. * |
|
3673 * Should any Covered Software prove defective in any respect, You * |
|
3674 * (not any Contributor) assume the cost of any necessary servicing, * |
|
3675 * repair, or correction. This disclaimer of warranty constitutes an * |
|
3676 * essential part of this License. No use of any Covered Software is * |
|
3677 * authorized under this License except under this disclaimer. * |
|
3678 * * |
|
3679 ************************************************************************ |
|
3680 |
|
3681 ************************************************************************ |
|
3682 * * |
|
3683 * 7. Limitation of Liability * |
|
3684 * -------------------------- * |
|
3685 * * |
|
3686 * Under no circumstances and under no legal theory, whether tort * |
|
3687 * (including negligence), contract, or otherwise, shall any * |
|
3688 * Contributor, or anyone who distributes Covered Software as * |
|
3689 * permitted above, be liable to You for any direct, indirect, * |
|
3690 * special, incidental, or consequential damages of any character * |
|
3691 * including, without limitation, damages for lost profits, loss of * |
|
3692 * goodwill, work stoppage, computer failure or malfunction, or any * |
|
3693 * and all other commercial damages or losses, even if such party * |
|
3694 * shall have been informed of the possibility of such damages. This * |
|
3695 * limitation of liability shall not apply to liability for death or * |
|
3696 * personal injury resulting from such party's negligence to the * |
|
3697 * extent applicable law prohibits such limitation. Some * |
|
3698 * jurisdictions do not allow the exclusion or limitation of * |
|
3699 * incidental or consequential damages, so this exclusion and * |
|
3700 * limitation may not apply to You. * |
|
3701 * * |
|
3702 ************************************************************************ |
|
3703 |
|
3704 8. Litigation |
|
3705 ------------- |
|
3706 |
|
3707 Any litigation relating to this License may be brought only in the |
|
3708 courts of a jurisdiction where the defendant maintains its principal |
|
3709 place of business and such litigation shall be governed by laws of that |
|
3710 jurisdiction, without reference to its conflict-of-law provisions. |
|
3711 Nothing in this Section shall prevent a party's ability to bring |
|
3712 cross-claims or counter-claims. |
|
3713 |
|
3714 9. Miscellaneous |
|
3715 ---------------- |
|
3716 |
|
3717 This License represents the complete agreement concerning the subject |
|
3718 matter hereof. If any provision of this License is held to be |
|
3719 unenforceable, such provision shall be reformed only to the extent |
|
3720 necessary to make it enforceable. Any law or regulation which provides |
|
3721 that the language of a contract shall be construed against the drafter |
|
3722 shall not be used to construe this License against a Contributor. |
|
3723 |
|
3724 10. Versions of the License |
|
3725 --------------------------- |
|
3726 |
|
3727 10.1. New Versions |
|
3728 |
|
3729 Mozilla Foundation is the license steward. Except as provided in Section |
|
3730 10.3, no one other than the license steward has the right to modify or |
|
3731 publish new versions of this License. Each version will be given a |
|
3732 distinguishing version number. |
|
3733 |
|
3734 10.2. Effect of New Versions |
|
3735 |
|
3736 You may distribute the Covered Software under the terms of the version |
|
3737 of the License under which You originally received the Covered Software, |
|
3738 or under the terms of any subsequent version published by the license |
|
3739 steward. |
|
3740 |
|
3741 10.3. Modified Versions |
|
3742 |
|
3743 If you create software not governed by this License, and you want to |
|
3744 create a new license for such software, you may create and use a |
|
3745 modified version of this License if you rename the license and remove |
|
3746 any references to the name of the license steward (except to note that |
|
3747 such modified license differs from this License). |
|
3748 |
|
3749 10.4. Distributing Source Code Form that is Incompatible With Secondary |
|
3750 Licenses |
|
3751 |
|
3752 If You choose to distribute Source Code Form that is Incompatible With |
|
3753 Secondary Licenses under the terms of this version of the License, the |
|
3754 notice described in Exhibit B of this License must be attached. |
|
3755 |
|
3756 Exhibit A - Source Code Form License Notice |
|
3757 ------------------------------------------- |
|
3758 |
|
3759 This Source Code Form is subject to the terms of the Mozilla Public |
|
3760 License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3761 file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
3762 |
|
3763 If it is not possible or desirable to put the notice in a particular |
|
3764 file, then You may include the notice in a location (such as a LICENSE |
|
3765 file in a relevant directory) where a recipient would be likely to look |
|
3766 for such a notice. |
|
3767 |
|
3768 You may add additional accurate notices of copyright ownership. |
|
3769 |
|
3770 Exhibit B - "Incompatible With Secondary Licenses" Notice |
|
3771 --------------------------------------------------------- |
|
3772 |
|
3773 This Source Code Form is "Incompatible With Secondary Licenses", as |
|
3774 defined by the Mozilla Public License, v. 2.0. |
|
3775 |
|
3776 --- end of LICENSE --- |
|
3777 |
|
3778 ------------------------------------------------------------------------------- |
|
3779 |