src/jdk.dynalink/share/classes/jdk/dynalink/DynamicLinkerFactory.java
changeset 50695 36ca515343e0
parent 47216 71c04702a3d5
equal deleted inserted replaced
50694:17d6de3b25fc 50695:36ca515343e0
    31  * license:
    31  * license:
    32  */
    32  */
    33 /*
    33 /*
    34    Copyright 2009-2013 Attila Szegedi
    34    Copyright 2009-2013 Attila Szegedi
    35 
    35 
    36    Licensed under both the Apache License, Version 2.0 (the "Apache License")
    36    Redistribution and use in source and binary forms, with or without
    37    and the BSD License (the "BSD License"), with licensee being free to
    37    modification, are permitted provided that the following conditions are
    38    choose either of the two at their discretion.
    38    met:
    39 
    39    * Redistributions of source code must retain the above copyright
    40    You may not use this file except in compliance with either the Apache
    40      notice, this list of conditions and the following disclaimer.
    41    License or the BSD License.
    41    * Redistributions in binary form must reproduce the above copyright
    42 
    42      notice, this list of conditions and the following disclaimer in the
    43    If you choose to use this file in compliance with the Apache License, the
    43      documentation and/or other materials provided with the distribution.
    44    following notice applies to you:
    44    * Neither the name of the copyright holder nor the names of
    45 
    45      contributors may be used to endorse or promote products derived from
    46        You may obtain a copy of the Apache License at
    46      this software without specific prior written permission.
    47 
    47 
    48            http://www.apache.org/licenses/LICENSE-2.0
    48    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
    49 
    49    IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    50        Unless required by applicable law or agreed to in writing, software
    50    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
    51        distributed under the License is distributed on an "AS IS" BASIS,
    51    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER
    52        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
    52    BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    53        implied. See the License for the specific language governing
    53    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    54        permissions and limitations under the License.
    54    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
    55 
    55    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    56    If you choose to use this file in compliance with the BSD License, the
    56    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    57    following notice applies to you:
    57    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
    58 
    58    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    59        Redistribution and use in source and binary forms, with or without
       
    60        modification, are permitted provided that the following conditions are
       
    61        met:
       
    62        * Redistributions of source code must retain the above copyright
       
    63          notice, this list of conditions and the following disclaimer.
       
    64        * Redistributions in binary form must reproduce the above copyright
       
    65          notice, this list of conditions and the following disclaimer in the
       
    66          documentation and/or other materials provided with the distribution.
       
    67        * Neither the name of the copyright holder nor the names of
       
    68          contributors may be used to endorse or promote products derived from
       
    69          this software without specific prior written permission.
       
    70 
       
    71        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
       
    72        IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
       
    73        TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
       
    74        PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER
       
    75        BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
       
    76        CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
       
    77        SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
       
    78        BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
       
    79        WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
       
    80        OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
       
    81        ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
       
    82 */
    59 */
    83 
    60 
    84 package jdk.dynalink;
    61 package jdk.dynalink;
    85 
    62 
    86 import java.lang.invoke.MethodHandle;
    63 import java.lang.invoke.MethodHandle;