forked from dragonwell-project/dragonwell8
-
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.
Add 'jaxws/' from commit '63c69d5899508e75c5347a444443352e51fbe891'
- Loading branch information
Showing
3,735 changed files
with
557,742 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
^build/ | ||
^dist/ | ||
^drop/ | ||
^drop_included/ | ||
^webrev/ | ||
/nbproject/private/ | ||
^.hgtip | ||
.DS_Store |
Large diffs are not rendered by default.
Oops, something went wrong.
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,2 @@ | ||
project=jdk8 | ||
bugids=dup |
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,27 @@ | ||
|
||
OPENJDK ASSEMBLY EXCEPTION | ||
|
||
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, 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 Oracle. | ||
|
||
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. |
Large diffs are not rendered by default.
Oops, something went wrong.
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,19 @@ | ||
README: | ||
|
||
This file should be located at the top of the Mercurial repository. | ||
|
||
See http://openjdk.java.net/ for more information about the OpenJDK. | ||
|
||
See ../README-builds.html for complete details on build machine requirements. | ||
|
||
Simple Build Instructions: | ||
This repository can be loaded as a NetBeans project, built with ant, or | ||
built with GNU make, e.g. | ||
ant | ||
-OR- | ||
cd make && gnumake | ||
|
||
The built files that will be imported into the jdk build will be in the | ||
"dist" directory. | ||
Help information is available by running "ant -projecthelp" or "make help". | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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,41 @@ | ||
OpenJDK Trademark Notice | ||
Version 1.1, 2008/3/10 | ||
|
||
OpenJDK (the "Name") is a trademark of Sun Microsystems, Inc. (the "Owner"). | ||
Owner permits any person obtaining a copy of this software (the "Software") | ||
which is based on original software retrieved from one of the following | ||
websites: http://download.java.net/openjdk, http://hg.openjdk.java.net/jdk6, | ||
or http://openjdk.java.net (each a "Website", with the original software made | ||
available by the Owner on a Website being known as the "Website Software") to | ||
use the Name in package names and version strings of the Software subject to | ||
the following conditions: | ||
|
||
- The Software is a substantially complete implementation of the OpenJDK | ||
development kit or runtime environment code made available by Owner on a | ||
Website, and the vast majority of the Software code is identical to the | ||
upstream Website Software; | ||
|
||
- No permission is hereby granted to use the Name in any other manner, | ||
unless such use constitutes "fair use." | ||
|
||
- The Owner makes no warranties of any kind respecting the Name and all | ||
representations and warranties, including any implied warranty of | ||
merchantability, fitness for a particular purpose or non-infringement | ||
are hereby disclaimed; and | ||
|
||
- This notice and the following legend are included in all copies of the | ||
Software or portions of it: | ||
|
||
OpenJDK is a trademark or registered trademark of Sun Microsystems, | ||
Inc. in the United States and other countries. | ||
|
||
The Name may also be used in connection with descriptions of the Software that | ||
constitute "fair use," such as "derived from the OpenJDK code base" or "based | ||
on the OpenJDK source code." | ||
|
||
Owner intends to revise this Notice as necessary in order to meet the needs of | ||
the OpenJDK Community. Please send questions or comments about this Notice to | ||
Sun Microsystems at openjdk-tm@sun.com. Revisions to this Notice will be | ||
announced on the public mailing list announce@openjdk.java.net, to which you | ||
may subscribe by visiting http://mail.openjdk.java.net. The latest version of | ||
this Notice may be found at http://openjdk.java.net/legal. |
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,92 @@ | ||
# | ||
# Copyright (c) 2007, 2011, 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. | ||
# | ||
|
||
# This is the JDK used to build and run the bootstrap version of javac. | ||
# The bootstrap javac is used to compile both boostrap versions of the | ||
# other tools, and product versions of all the tools. | ||
# Override this path as needed, either on the command line or in | ||
# one of the standard user build.properties files (see build.xml) | ||
javac.jar=${bootstrap.dir}/lib/javac.jar | ||
|
||
# The tools.jar is needed in the classpath to compile these sources | ||
jdk.home=${java.home}/.. | ||
tools.jar=${jdk.home}/lib/tools.jar | ||
|
||
# options for the <javac> tasks used to compile the tools | ||
javac.source = 7 | ||
javac.target = 7 | ||
javac.debug = true | ||
javac.no.jdk.warnings = -XDignore.symbol.file=true | ||
# set the following to -version to verify the versions of javac being used | ||
javac.version.opt = | ||
# in time, there should be no exceptions to -Xlint:all | ||
#javac.lint.opts = -Xlint:all,-unchecked,-deprecation,-fallthrough,-cast,-serial | ||
javac.lint.opts= | ||
|
||
# JVM memory size | ||
javac.memoryInitialSize = 256m | ||
javac.memoryMaximumSize = 512m | ||
|
||
#------------------------------------------------------------ | ||
|
||
# Root of output directories | ||
output.dir=. | ||
|
||
# Built files | ||
build.dir=${output.dir}/build | ||
build.classes.dir=${build.dir}/classes | ||
|
||
# Distributed results | ||
dist.dir=${output.dir}/dist | ||
dist.lib.dir=${dist.dir}/lib | ||
dist.classes.jar=${dist.lib.dir}/classes.jar | ||
dist.src.zip=${dist.lib.dir}/src.zip | ||
|
||
# Sanity information | ||
sanity.info= Sanity Settings:${line.separator}\ | ||
ant.home=${ant.home}${line.separator}\ | ||
ant.version=${ant.version}${line.separator}\ | ||
ant.java.version=${ant.java.version}${line.separator}\ | ||
java.home=${java.home}${line.separator}\ | ||
java.version=${java.version}${line.separator}\ | ||
os.name=${os.name}${line.separator}\ | ||
os.arch=${os.arch}${line.separator}\ | ||
os.version=${os.version}${line.separator}\ | ||
bootstrap.dir=${bootstrap.dir}${line.separator}\ | ||
javac.jar=${javac.jar}${line.separator}\ | ||
javac.memoryInitialSize=${javac.memoryInitialSize}${line.separator}\ | ||
javac.memoryMaximumSize=${javac.memoryMaximumSize}${line.separator}\ | ||
javac.source=${javac.source}${line.separator}\ | ||
javac.debug=${javac.debug}${line.separator}\ | ||
javac.target=${javac.target}${line.separator}\ | ||
javac.version.opt=${javac.version.opt}${line.separator}\ | ||
javac.lint.opts=${javac.lint.opts}${line.separator}\ | ||
javac.no.jdk.warnings=${javac.no.jdk.warnings}${line.separator}\ | ||
output.dir=${output.dir}${line.separator}\ | ||
build.dir=${build.dir}${line.separator}\ | ||
dist.dir=${dist.dir}${line.separator}\ | ||
${line.separator} | ||
|
||
#------------------------------------------------------------ |
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,198 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2009, 2010, 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. | ||
--> | ||
|
||
<project name="jaxws" default="all" basedir="."> | ||
|
||
<!-- For 'ant -p' or 'ant -projecthelp' --> | ||
|
||
<description> | ||
Ant build script for the ${ant.project.name} part of the jdk. | ||
|
||
Input Properties: (see build.properties for the ant defaults) | ||
bootstrap.dir - dir with lib/javac.jar, added to javac bootclasspath | ||
javac.debug - true or false for debug classfiles | ||
javac.target - classfile version target | ||
javac.source - source version | ||
|
||
Run 'make help' for help using the Makefile. | ||
</description> | ||
|
||
<!-- Project build properties. --> | ||
<property file="build.properties"/> | ||
|
||
<property name="jaxws.src.dir" value="src/share/jaxws_classes"/> | ||
<property name="jaf.src.dir" value="src/share/jaf_classes"/> | ||
<path id="src.dir.id"> | ||
<pathelement path="${jaxws.src.dir}"/> | ||
<pathelement path="${jaf.src.dir}"/> | ||
</path> | ||
|
||
<!-- Initialization of directories needed for build. --> | ||
<target name="init"> | ||
<mkdir dir="${build.dir}"/> | ||
<mkdir dir="${build.classes.dir}"/> | ||
<mkdir dir="${dist.dir}"/> | ||
<mkdir dir="${dist.lib.dir}"/> | ||
</target> | ||
|
||
<!-- Sanity checks and settings --> | ||
<target name="sanity" | ||
depends="-javac-jar-exists" | ||
description="Display settings of configuration values"> | ||
<echo message="${sanity.info}"/> | ||
</target> | ||
|
||
<!-- Check for bootstrap javac.jar file, warn if missing. --> | ||
<condition property="javac.jar.exists"> | ||
<available file="${javac.jar}" type="file"/> | ||
</condition> | ||
<target name="-javac-jar-exists" | ||
unless="javac.jar.exists"> | ||
<echo message="WARNING: Cannot find ${javac.jar}"/> | ||
</target> | ||
|
||
<!-- Create src.zip. --> | ||
<target name="-dist-src-zip" depends="init"> | ||
<zip file="${dist.src.zip}" basedir="${jaxws.src.dir}"/> | ||
<zip file="${dist.src.zip}" basedir="${jaf.src.dir}" update="true"/> | ||
</target> | ||
|
||
<!-- Creation of distribution files to jdk build process. --> | ||
<target name="dist" | ||
depends="init, build, -dist-classes-jar, -dist-src-zip" | ||
description="Create all built distribution files."> | ||
</target> | ||
<target name="-dist-classes-jar-uptodate" | ||
depends="init"> | ||
<condition property="dist.classes.jar.uptodate"> | ||
<and> | ||
<available file="${dist.classes.jar}" type="file"/> | ||
<uptodate targetfile="${dist.classes.jar}"> | ||
<srcfiles dir="${build.classes.dir}" includes="**"/> | ||
</uptodate> | ||
</and> | ||
</condition> | ||
</target> | ||
<target name="-dist-classes-jar" | ||
depends="init, -dist-classes-jar-uptodate" | ||
unless="dist.classes.jar.uptodate"> | ||
<delete file="${dist.classes.jar}"/> | ||
<jar file="${dist.classes.jar}" basedir="${build.classes.dir}"/> | ||
</target> | ||
|
||
<!-- Special build area setup. --> | ||
<target name="-build-setup" depends="init"> | ||
<mkdir dir="${build.classes.dir}"/> | ||
<copy todir="${build.classes.dir}"> | ||
<fileset dir="${jaxws.src.dir}" | ||
includes="**/*.xsd, **/*.default, **/*.properties" | ||
excludes="**/*.java, **/*.package.html"/> | ||
</copy> | ||
<replaceregexp match="#(.*)$" replace="#" flags="gm"> | ||
<fileset dir="${build.classes.dir}" includes="**/*.properties"/> | ||
</replaceregexp> | ||
|
||
<mkdir dir="${build.classes.dir}/META-INF/services"/> | ||
<copy todir="${build.classes.dir}/META-INF" | ||
file="${jaf.src.dir}/META-INF/mailcap.default"/> | ||
<copy todir="${build.classes.dir}/META-INF" | ||
file="${jaf.src.dir}/META-INF/mimetypes.default"/> | ||
<copy todir="${build.classes.dir}/META-INF/services" | ||
file="${jaxws.src.dir}/com/sun/tools/etc/META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin"/> | ||
<copy todir="${build.classes.dir}/META-INF/services" | ||
file="${jaxws.src.dir}/com/sun/tools/etc/META-INF/services/com.sun.tools.internal.xjc.Plugin"/> | ||
<mkdir dir="${build.classes.dir}/com/sun/tools/internal/xjc/runtime"/> | ||
<copy todir="${build.classes.dir}/com/sun/tools/internal/xjc/runtime"> | ||
<fileset dir="${jaxws.src.dir}/com/sun/tools/internal/xjc/runtime" | ||
includes="**/*.java" | ||
excludes="**/*.package.html"/> | ||
</copy> | ||
</target> | ||
|
||
<!-- Build (compilation) of sources to class files. --> | ||
<target name="build" | ||
depends="compile, -build-setup"> | ||
</target> | ||
<target name="compile" | ||
depends="init"> | ||
<mkdir dir="${build.classes.dir}"/> | ||
<javac | ||
includeAntRuntime="false" | ||
classpath="${build.classes.dir}:${tools.jar}" | ||
fork="true" | ||
destdir="${build.classes.dir}" | ||
memoryInitialSize="${javac.memoryInitialSize}" | ||
memoryMaximumSize="${javac.memoryMaximumSize}" | ||
source="${javac.source}" | ||
debug="${javac.debug}" | ||
target="${javac.target}"> | ||
<compilerarg value="-J-Xbootclasspath/p:${javac.jar}"/> | ||
<compilerarg line="${javac.version.opt} ${javac.lint.opts} ${javac.no.jdk.warnings}"/> | ||
<src refid="src.dir.id"/> | ||
</javac> | ||
</target> | ||
|
||
<!-- Test. (FIXME: Need to know how to run tests.) --> | ||
<target name="test" | ||
depends="init, dist"> | ||
<echo message="FIXME: How do you run the tests"/> | ||
</target> | ||
|
||
<!-- Populate source area if needed. --> | ||
<target name="source" | ||
depends="init" | ||
description="Populate all source file directories"> | ||
</target> | ||
|
||
<!-- Clean up compiled files. --> | ||
<target name="clean" | ||
description="Delete all generated files"> | ||
<delete dir="${build.dir}"/> | ||
<delete dir="${dist.dir}"/> | ||
</target> | ||
|
||
<!-- Clean up compiled files and all imported source files. --> | ||
<target name="clobber" | ||
depends="clean" | ||
description="Delete all generated files, including imported sources"> | ||
</target> | ||
|
||
<target name="-banner"> | ||
<echo message="+---------------------------------------+"/> | ||
<echo message="+ Starting ant project ${ant.project.name} +"/> | ||
<echo message="+---------------------------------------+"/> | ||
</target> | ||
|
||
<!-- Do everything but test. --> | ||
<target name="all" | ||
depends="-banner, sanity, dist" | ||
description="Build everything."> | ||
<echo message="+---------------------------------------+"/> | ||
<echo message="+ Finishing ant project ${ant.project.name}"/> | ||
<echo message="+---------------------------------------+"/> | ||
</target> | ||
|
||
</project> |
Oops, something went wrong.