1.1 --- a/src/share/tools/hsdis/hsdis-demo.c Thu Jul 26 06:16:09 2018 -0400 1.2 +++ b/src/share/tools/hsdis/hsdis-demo.c Thu Jul 26 17:38:44 2018 -0400 1.3 @@ -2,19 +2,41 @@ 1.4 * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. 1.5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.6 * 1.7 - * This code is free software; you can redistribute it and/or modify it 1.8 - * under the terms of the GNU General Public License version 2 only, as 1.9 - * published by the Free Software Foundation. 1.10 + * The Universal Permissive License (UPL), Version 1.0 1.11 * 1.12 - * This code is distributed in the hope that it will be useful, but WITHOUT 1.13 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.14 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.15 - * version 2 for more details (a copy is included in the LICENSE file that 1.16 - * accompanied this code). 1.17 + * Subject to the condition set forth below, permission is hereby granted to 1.18 + * any person obtaining a copy of this software, associated documentation 1.19 + * and/or data (collectively the "Software"), free of charge and under any 1.20 + * and all copyright rights in the Software, and any and all patent rights 1.21 + * owned or freely licensable by each licensor hereunder covering either (i) 1.22 + * the unmodified Software as contributed to or provided by such licensor, 1.23 + * or (ii) the Larger Works (as defined below), to deal in both 1.24 * 1.25 - * You should have received a copy of the GNU General Public License version 1.26 - * 2 along with this work; if not, write to the Free Software Foundation, 1.27 - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.28 + * (a) the Software, and 1.29 + * 1.30 + * (b) any piece of software and/or hardware listed in the lrgrwrks.txt file 1.31 + * if one is included with the Software (each a “Larger Work” to which the 1.32 + * Software is contributed by such licensors), 1.33 + * 1.34 + * without restriction, including without limitation the rights to copy, 1.35 + * create derivative works of, display, perform, and distribute the Software 1.36 + * and make, use, sell, offer for sale, import, export, have made, and have 1.37 + * sold the Software and the Larger Work(s), and to sublicense the foregoing 1.38 + * rights on either these or other terms. 1.39 + * 1.40 + * This license is subject to the following condition: 1.41 + * 1.42 + * The above copyright notice and either this complete permission notice or 1.43 + * at a minimum a reference to the UPL must be included in all copies or 1.44 + * substantial portions of the Software. 1.45 + * 1.46 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 1.47 + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1.48 + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 1.49 + * NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 1.50 + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 1.51 + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 1.52 + * USE OR OTHER DEALINGS IN THE SOFTWARE. 1.53 * 1.54 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1.55 * or visit www.oracle.com if you need additional information or have any