forked from openjdk/jdk17
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
467 changed files
with
12,963 additions
and
6,215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
|
||
OPENJDK ASSEMBLY EXCEPTION | ||
|
||
The OpenJDK source code made available by Sun at openjdk.java.net and | ||
openjdk.dev.java.net ("OpenJDK Code") is distributed under the terms of the | ||
GNU General Public License <http://www.gnu.org/copyleft/gpl.html> version 2 | ||
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at | ||
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU | ||
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2 | ||
only ("GPL2"), with the following clarification and special exception. | ||
|
||
Linking this OpenJDK Code statically or dynamically with other code | ||
is making a combined work based on this library. Thus, the terms | ||
and conditions of GPL2 cover the whole combination. | ||
|
||
As a special exception, Sun gives you permission to link this | ||
OpenJDK Code with certain code licensed by Sun as indicated at | ||
As a special exception, Oracle gives you permission to link this | ||
OpenJDK Code with certain code licensed by Oracle as indicated at | ||
http://openjdk.java.net/legal/exception-modules-2007-05-08.html | ||
("Designated Exception Modules") to produce an executable, | ||
regardless of the license terms of the Designated Exception Modules, | ||
and to copy and distribute the resulting executable under GPL2, | ||
provided that the Designated Exception Modules continue to be | ||
governed by the licenses under which they were offered by Sun. | ||
governed by the licenses under which they were offered by Oracle. | ||
|
||
As such, it allows licensees and sublicensees of Sun's GPL2 OpenJDK Code to | ||
build an executable that includes those portions of necessary code that Sun | ||
could not provide under GPL2 (or that Sun has provided under GPL2 with the | ||
Classpath exception). If you modify or add to the OpenJDK code, that new | ||
GPL2 code may still be combined with Designated Exception Modules if the | ||
new code is made subject to this exception by its copyright holder. | ||
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code | ||
to build an executable that includes those portions of necessary code that | ||
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 | ||
with the Classpath exception). If you modify or add to the OpenJDK code, | ||
that new GPL2 code may still be combined with Designated Exception Modules | ||
if the new code is made subject to this exception by its copyright holder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# | ||
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. | ||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
# | ||
# This code is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 2 only, as | ||
# published by the Free Software Foundation. Oracle designates this | ||
# particular file as subject to the "Classpath" exception as provided | ||
# by Oracle in the LICENSE file that accompanied this code. | ||
# | ||
# This code is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
# version 2 for more details (a copy is included in the LICENSE file that | ||
# accompanied this code). | ||
# | ||
# You should have received a copy of the GNU General Public License version | ||
# 2 along with this work; if not, write to the Free Software Foundation, | ||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
# | ||
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | ||
# or visit www.oracle.com if you need additional information or have any | ||
# questions. | ||
# | ||
|
||
# Copy all built libraries into exploded jdk | ||
LIB_TARGETS := $(filter $(LIB_OUTPUTDIR)/%, $(TARGETS)) | ||
ifeq ($(OPENJDK_TARGET_OS), windows) | ||
$(eval $(call SetupCopyFiles, COPY_LIBS_BIN, \ | ||
SRC := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \ | ||
DEST := $(JDK_OUTPUTDIR)/bin, \ | ||
FILES := $(filter-out %.lib, $(LIB_TARGETS)), \ | ||
)) | ||
|
||
$(eval $(call SetupCopyFiles, COPY_LIBS_LIB, \ | ||
SRC := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \ | ||
DEST := $(JDK_OUTPUTDIR)/lib, \ | ||
FILES := $(filter %.lib, $(LIB_TARGETS)))) | ||
|
||
TARGETS += $(COPY_LIBS_BIN) $(COPY_LIBS_LIB) | ||
else | ||
$(eval $(call SetupCopyFiles, COPY_LIBS, \ | ||
SRC := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \ | ||
DEST := $(JDK_OUTPUTDIR)/lib, \ | ||
FILES := $(filter %$(SHARED_LIBRARY_SUFFIX), $(LIB_TARGETS)), \ | ||
)) | ||
$(eval $(call SetupCopyFiles, LINK_LIBS, \ | ||
SRC := $(SUPPORT_OUTPUTDIR)/modules_libs/java.base, \ | ||
DEST := $(JDK_OUTPUTDIR)/lib, \ | ||
FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(LIB_TARGETS)), \ | ||
MACRO := link-file-relative, \ | ||
)) | ||
|
||
TARGETS += $(COPY_LIBS) $(LINK_LIBS) | ||
endif |
Oops, something went wrong.