Merge
This commit is contained in:
commit
eceef28d8c
6
.hgtags
6
.hgtags
@ -70,3 +70,9 @@ ff9031a745d9cc52318f2148e43ca3b07ee08098 jdk7-b92
|
||||
b5dab6a313fdff4c043250e4d9c8f66fd624d27e jdk7-b93
|
||||
8bb281f0f91582104d65d032be22522bfd2d8110 jdk7-b94
|
||||
654298d26561b76dfe3cfcffbbd7078080837300 jdk7-b95
|
||||
d260f892491e040ae385a8e6df59557a7d721abf jdk7-b96
|
||||
7e406ebed9a5968b584f3c3e6b60893b5d6d9741 jdk7-b97
|
||||
db6e660120446c407e2d908d52ec046592b21726 jdk7-b98
|
||||
c4c8a5bc54f66abc68cd185d9294042121922154 jdk7-b99
|
||||
2d6ba7a221915bdf0311acc5641c7f3875cb793e jdk7-b100
|
||||
2548ac036b8fca3326d058d758e6df8355a42469 jdk7-b101
|
||||
|
@ -70,3 +70,9 @@ cf26288a114be67c39f2758959ce50b60f5ae330 jdk7-b85
|
||||
5fc102ff48f0e787ce9cc77249841d5ff0941b75 jdk7-b93
|
||||
d7f35c61afa092b6357c2c4bce3f298f16620f71 jdk7-b94
|
||||
fd3663286e77b9f13c39eee124db2beb079b3ca6 jdk7-b95
|
||||
cf71cb5151166f35433afebaf67dbf34a704a170 jdk7-b96
|
||||
5e197c942c6ebd8b92f324a31049c5f1d26d40ef jdk7-b97
|
||||
6cea9984d73d74de0cd01f30d07ac0a1ed196117 jdk7-b98
|
||||
e7f18db469a3e947b7096bfd12e87380e5a042cd jdk7-b99
|
||||
b218a53ec7d3d42be61d31d6917a6c5c037b6f56 jdk7-b100
|
||||
4193eaf5f1b82794c6a0fb1a8d11af43d1b1d611 jdk7-b101
|
||||
|
76
Makefile
76
Makefile
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1995, 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
|
||||
@ -29,10 +29,6 @@ ifndef TOPDIR
|
||||
TOPDIR:=.
|
||||
endif
|
||||
|
||||
ifndef CONTROL_TOPDIR
|
||||
CONTROL_TOPDIR=$(TOPDIR)
|
||||
endif
|
||||
|
||||
# Openjdk sources (only used if SKIP_OPENJDK_BUILD!=true)
|
||||
OPENJDK_SOURCETREE=$(TOPDIR)/openjdk
|
||||
OPENJDK_BUILDDIR:=$(shell \
|
||||
@ -120,7 +116,7 @@ endif
|
||||
all_product_build::
|
||||
@$(FINISH_ECHO)
|
||||
|
||||
# Generis build of basic repo series
|
||||
# Generic build of basic repo series
|
||||
generic_build_repo_series::
|
||||
$(MKDIR) -p $(OUTPUTDIR)
|
||||
$(MKDIR) -p $(OUTPUTDIR)/j2sdk-image
|
||||
@ -179,11 +175,15 @@ endif
|
||||
# The install process needs to know what the DEBUG_NAME is, so
|
||||
# look for INSTALL_DEBUG_NAME in the install rules.
|
||||
#
|
||||
# NOTE: On windows, do not use $(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME).
|
||||
# Due to the use of short paths in $(ABS_OUTPUTDIR), this may
|
||||
# not be the same location.
|
||||
#
|
||||
|
||||
# Location of fresh bootdir output
|
||||
ABS_BOOTDIR_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk
|
||||
FRESH_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/j2sdk-image
|
||||
FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME)/j2sdk-image
|
||||
FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-$(DEBUG_NAME)/j2sdk-image
|
||||
|
||||
create_fresh_product_bootdir: FRC
|
||||
@$(START_ECHO)
|
||||
@ -248,10 +248,14 @@ build_product_image:
|
||||
generic_build_repo_series
|
||||
@$(FINISH_ECHO)
|
||||
|
||||
# NOTE: On windows, do not use $(ABS_OUTPUTDIR)-$(DEBUG_NAME).
|
||||
# Due to the use of short paths in $(ABS_OUTPUTDIR), this may
|
||||
# not be the same location.
|
||||
|
||||
generic_debug_build:
|
||||
@$(START_ECHO)
|
||||
$(MAKE) \
|
||||
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)-$(DEBUG_NAME) \
|
||||
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-$(DEBUG_NAME) \
|
||||
DEBUG_NAME=$(DEBUG_NAME) \
|
||||
GENERATE_DOCS=false \
|
||||
$(BOOT_CYCLE_DEBUG_SETTINGS) \
|
||||
@ -348,8 +352,8 @@ endif
|
||||
|
||||
clobber::
|
||||
$(RM) -r $(OUTPUTDIR)/*
|
||||
$(RM) -r $(OUTPUTDIR)-debug/*
|
||||
$(RM) -r $(OUTPUTDIR)-fastdebug/*
|
||||
$(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-debug/*
|
||||
$(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-fastdebug/*
|
||||
-($(RMDIR) -p $(OUTPUTDIR) > $(DEV_NULL) 2>&1; $(TRUE))
|
||||
|
||||
clean: clobber
|
||||
@ -550,6 +554,56 @@ ifeq ($(BUNDLE_RULES_AVAILABLE), true)
|
||||
include $(BUNDLE_RULES)
|
||||
endif
|
||||
|
||||
################################################################
|
||||
# rule to test
|
||||
################################################################
|
||||
|
||||
.NOTPARALLEL: test
|
||||
|
||||
test: test_clean test_start test_summary
|
||||
|
||||
test_start:
|
||||
@$(ECHO) "Tests started at `$(DATE)`"
|
||||
|
||||
test_clean:
|
||||
$(RM) $(OUTPUTDIR)/test_failures.txt $(OUTPUTDIR)/test_log.txt
|
||||
|
||||
test_summary: $(OUTPUTDIR)/test_failures.txt
|
||||
@$(ECHO) "#################################################"
|
||||
@$(ECHO) "Tests completed at `$(DATE)`"
|
||||
@( $(EGREP) '^TEST STATS:' $(OUTPUTDIR)/test_log.txt \
|
||||
|| $(ECHO) "No TEST STATS seen in log" )
|
||||
@$(ECHO) "For complete details see: $(OUTPUTDIR)/test_log.txt"
|
||||
@$(ECHO) "#################################################"
|
||||
@if [ -s $< ] ; then \
|
||||
$(ECHO) "ERROR: Test failure count: `$(CAT) $< | $(WC) -l`"; \
|
||||
$(CAT) $<; \
|
||||
exit 1; \
|
||||
else \
|
||||
$(ECHO) "Success! No failures detected"; \
|
||||
fi
|
||||
|
||||
# Get failure list from log
|
||||
$(OUTPUTDIR)/test_failures.txt: $(OUTPUTDIR)/test_log.txt
|
||||
@$(RM) $@
|
||||
@( $(EGREP) '^FAILED:' $< || $(ECHO) "" ) > $@
|
||||
|
||||
# Get log file of all tests run
|
||||
JDK_TO_TEST := $(shell \
|
||||
if [ -d "$(ABS_OUTPUTDIR)/j2sdk-image" ] ; then \
|
||||
$(ECHO) "$(ABS_OUTPUTDIR)/j2sdk-image"; \
|
||||
elif [ -d "$(ABS_OUTPUTDIR)/bin" ] ; then \
|
||||
$(ECHO) "$(ABS_OUTPUTDIR)"; \
|
||||
elif [ "$(PRODUCT_HOME)" != "" -a -d "$(PRODUCT_HOME)/bin" ] ; then \
|
||||
$(ECHO) "$(PRODUCT_HOME)"; \
|
||||
fi \
|
||||
)
|
||||
$(OUTPUTDIR)/test_log.txt:
|
||||
$(RM) $@
|
||||
( $(CD) test && \
|
||||
$(MAKE) NO_STOPPING=- PRODUCT_HOME=$(JDK_TO_TEST) \
|
||||
) | tee $@
|
||||
|
||||
################################################################
|
||||
# JPRT rule to build
|
||||
################################################################
|
||||
@ -560,7 +614,7 @@ include ./make/jprt.gmk
|
||||
# PHONY
|
||||
################################################################
|
||||
|
||||
.PHONY: all \
|
||||
.PHONY: all test test_start test_summary test_clean \
|
||||
generic_build_repo_series \
|
||||
what clobber insane \
|
||||
dev dev-build dev-sanity dev-clobber \
|
||||
|
@ -65,8 +65,9 @@
|
||||
<li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
|
||||
<li><a href="#compilers">Compilers</a>
|
||||
<ul>
|
||||
<li><a href="#msvc">Microsoft Visual Studio</a> </li>
|
||||
<li><a href="#mssdk">Microsoft Platform SDK</a> </li>
|
||||
<li><a href="#msvc32">Microsoft Visual Studio Professional/Express for 32 bit</a> </li>
|
||||
<li><a href="#msvc64">Microsoft Visual Studio Professional for 64 bit</a> </li>
|
||||
<li><a href="#mssdk64">Microsoft Windows SDK for 64 bit</a> </li>
|
||||
<li><a href="#gcc">Linux gcc/binutils</a> </li>
|
||||
<li><a href="#studio">Sun Studio</a> </li>
|
||||
</ul>
|
||||
@ -789,11 +790,11 @@
|
||||
</li>
|
||||
<li>
|
||||
Install the
|
||||
<a href="#msvc">Microsoft Visual Studio Compilers</a>).
|
||||
<a href="#msvc32">Microsoft Visual Studio Compilers</a>).
|
||||
</li>
|
||||
<li>
|
||||
Setup all environment variables for compilers
|
||||
(see <a href="#msvc">compilers</a>).
|
||||
(see <a href="#msvc32">compilers</a>).
|
||||
</li>
|
||||
<li>
|
||||
Install
|
||||
@ -958,7 +959,7 @@
|
||||
are also an option, although these compilers have not
|
||||
been extensively used yet.
|
||||
</blockquote>
|
||||
<strong><a name="msvc">Windows i586: Microsoft Visual Studio Compilers</a></strong>
|
||||
<strong><a name="msvc32">Windows i586: Microsoft Visual Studio 2010 Compilers</a></strong>
|
||||
<blockquote>
|
||||
<p>
|
||||
<b>BEGIN WARNING</b>: At this time (Spring/Summer 2010) JDK 7 is starting a transition to
|
||||
@ -971,14 +972,13 @@ So for now you should be able to build with either VS2003 or VS2010.
|
||||
We do not guarantee that VS2008 will work, although there is sufficient
|
||||
makefile support to make at least basic JDK builds plausible.
|
||||
Visual Studio 2010 Express compilers are now able to build all the
|
||||
open source repositories, but this is 32 bit only, since
|
||||
we have not yet seen the 7.1 Windows SDK with the 64 bit
|
||||
compilers. <b>END WARNING.</b>
|
||||
open source repositories, but this is 32 bit only. To build 64 bit
|
||||
Windows binaries use the the 7.1 Windows SDK.<b>END WARNING.</b>
|
||||
<p>
|
||||
The 32-bit OpenJDK Windows build
|
||||
requires
|
||||
Microsoft Visual Studio C++ 2010 (VS2010) Professional
|
||||
Edition compiler.
|
||||
Edition or Express compiler.
|
||||
The compiler and other tools are expected to reside
|
||||
in the location defined by the variable
|
||||
<tt>VS100COMNTOOLS</tt> which
|
||||
@ -1001,14 +1001,33 @@ compilers. <b>END WARNING.</b>
|
||||
The path <tt>/usr/bin</tt> must be after the path to the
|
||||
Visual Studio product.
|
||||
</blockquote>
|
||||
<strong><a name="mssdk">Windows x64: Microsoft Visual Studio Compilers</a></strong>
|
||||
<strong><a name="msvc64">Windows x64: Microsoft Visual Studio 2010 Professional Compiler</a></strong>
|
||||
<blockquote>
|
||||
On <b>X64</b>, the set up is much the same in VS2010
|
||||
For <b>X64</b>, builds, when using the VS2010 Professional
|
||||
compiler, the 64 bit build set up is much the same as 32 bit
|
||||
except that you run <tt>amd64\VCVARS64.BAT</tt>
|
||||
to set the compiler environment variables.
|
||||
Previously 64 builds had used the 64 bit compiler in
|
||||
an unbundled Windows SDK but this is no longer necessary.
|
||||
Previously 64 bit builds had used the 64 bit compiler in
|
||||
an unbundled Windows SDK but this is no longer necessary if
|
||||
you have VS2010 Professional.
|
||||
</blockquote>
|
||||
<strong><a name="mssdk64">Windows x64: Microsoft Windows 7.1 SDK 64 bit compilers.</a></strong>
|
||||
For a free alternative for 64 bit builds, use the 7.1 SDK.
|
||||
Microsoft say that to set up your paths for this run
|
||||
<pre>
|
||||
c:\Program Files\Microsoft SDKs\Windows\v7.1\bin\setenv.cmd /x64.
|
||||
</pre>
|
||||
What was tested is just directly setting up LIB, INCLUDE,
|
||||
PATH and based on the installation directories using the
|
||||
DOS short name appropriate for the system, (you will
|
||||
need to set them for yours, not just blindly copy this) eg :
|
||||
<pre>
|
||||
set VSINSTALLDIR=c:\PROGRA~2\MICROS~1.0
|
||||
set WindowsSdkDir=c:\PROGRA~1\MICROS~1\Windows\v7.1
|
||||
set PATH=%VSINSTALLDIR%\vc\bin\amd64;%VSINSTALLDIR%\Common7\IDE;%WindowsSdkDir%\bin;%PATH%
|
||||
set INCLUDE=%VSINSTALLDIR%\vc\include;%WindowsSdkDir%\include
|
||||
set LIB=%VSINSTALLDIR%\vc\lib\amd64;%WindowsSdkDir%\lib\x64
|
||||
</pre>
|
||||
</blockquote>
|
||||
<!-- ------------------------------------------------------ -->
|
||||
<h4><a name="zip">Zip and Unzip</a></h4>
|
||||
|
@ -70,3 +70,9 @@ bcd2fc089227559ac5be927923609fac29f067fa jdk7-b91
|
||||
9718d624864c29dca44373d541e93cdd309a994f jdk7-b93
|
||||
533c11186b44e3a02d6c5fe69a73260505fcfe5e jdk7-b94
|
||||
06dbf406818c789bb586c1de4c002024cd26ecd2 jdk7-b95
|
||||
edc2a2659c77dabc55cb55bb617bad89e3a05bb3 jdk7-b96
|
||||
4ec9d59374caa1e5d72fa802291b4d66955a4936 jdk7-b97
|
||||
3b99409057e4c255da946f9f540d051a5ef4ab23 jdk7-b98
|
||||
95db968660e7d87c345d5cf3dc2e3db037fb7220 jdk7-b99
|
||||
a56d734a1e970e1a21a8f4feb13053e9a33674c7 jdk7-b100
|
||||
86a239832646a74811695428984b6947c0bd6dc8 jdk7-b101
|
||||
|
@ -176,7 +176,16 @@ ifeq ($(FASTDEBUG), true)
|
||||
CXXFLAGS_DBG += $(CC_LOWER_OPT)
|
||||
endif
|
||||
|
||||
CPPFLAGS_COMMON = -D$(ARCH) -DARCH='"$(ARCH)"' -DLINUX $(VERSION_DEFINES) \
|
||||
CPP_ARCH_FLAGS = -DARCH='"$(ARCH)"'
|
||||
|
||||
# Alpha arch does not like "alpha" defined (potential general arch cleanup issue here)
|
||||
ifneq ($(ARCH),alpha)
|
||||
CPP_ARCH_FLAGS += -D$(ARCH)
|
||||
else
|
||||
CPP_ARCH_FLAGS += -D_$(ARCH)_
|
||||
endif
|
||||
|
||||
CPPFLAGS_COMMON = $(CPP_ARCH_FLAGS) -DLINUX $(VERSION_DEFINES) \
|
||||
-D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT
|
||||
|
||||
ifeq ($(ARCH_DATA_MODEL), 64)
|
||||
|
@ -30,7 +30,7 @@
|
||||
BUILDDIR = ../..
|
||||
include $(BUILDDIR)/common/Defs.gmk
|
||||
|
||||
SUBDIRS = org
|
||||
SUBDIRS = org core
|
||||
all build clean clobber::
|
||||
$(SUBDIRS-loop)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2002, 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1997, 2005, 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
|
||||
@ -24,16 +24,49 @@
|
||||
#
|
||||
|
||||
#
|
||||
# Makefile for building Java input methods
|
||||
# Makefile for building RMI/IIOP
|
||||
#
|
||||
|
||||
BUILDDIR = ../../..
|
||||
PRODUCT = sun
|
||||
include $(BUILDDIR)/common/Defs.gmk
|
||||
|
||||
SUBDIRS = indicim thaiim
|
||||
include $(BUILDDIR)/common/Subdirs.gmk
|
||||
#
|
||||
# Files to compile.
|
||||
#
|
||||
CORBA_JMK_DIRECTORY=$(TOPDIR)/make/com/sun/corba/minclude/
|
||||
include $(CORBA_JMK_DIRECTORY)javax_rmi.jmk
|
||||
include $(CORBA_JMK_DIRECTORY)javax_rmi_CORBA.jmk
|
||||
include $(CORBA_JMK_DIRECTORY)javax_transaction.jmk
|
||||
include $(CORBA_JMK_DIRECTORY)javax_activity.jmk
|
||||
include $(CORBA_JMK_DIRECTORY)sun_corba.jmk
|
||||
|
||||
all build clean clobber::
|
||||
$(SUBDIRS-loop)
|
||||
FILES_java = \
|
||||
$(javax_rmi_java) \
|
||||
$(javax_rmi_CORBA_java) \
|
||||
$(javax_transaction_java) \
|
||||
$(javax_activity_java) \
|
||||
$(sun_corba_java)
|
||||
|
||||
#
|
||||
# Resources
|
||||
#
|
||||
LOCALE_SET_DEFINITION = jre
|
||||
RESOURCE_BUNDLES_PROPERTIES = \
|
||||
com/sun/corba/se/impl/orbutil/resources/sunorb.properties
|
||||
|
||||
#
|
||||
# Rules
|
||||
#
|
||||
include $(BUILDDIR)/common/Classes.gmk
|
||||
|
||||
|
||||
#
|
||||
# Extra clean rules because we build more than one package.
|
||||
#
|
||||
clean:: classheaders.clean objects.clean
|
||||
$(RM) -r $(CLASSBINDIR)/javax/rmi
|
||||
$(RM) -r $(CLASSBINDIR)/javax/transaction
|
||||
$(RM) -r $(CLASSBINDIR)/javax/activity
|
||||
$(RM) -r $(CLASSBINDIR)/com/sun/corba/se/impl
|
||||
|
@ -70,7 +70,4 @@ REQUIRED_Group = \
|
||||
com/sun/corba/se/internal/util/IdentityHashtable.java \
|
||||
com/sun/corba/se/internal/util/Utility.java \
|
||||
com/sun/corba/se/internal/util/JDKBridge.java \
|
||||
com/sun/corba/se/internal/io/LibraryManager.java \
|
||||
com/sun/corba/se/internal/io/ObjectStreamClass.java \
|
||||
com/sun/corba/se/internal/io/TypeMismatchException.java \
|
||||
com/sun/corba/se/internal/util/RepositoryId.java
|
||||
|
@ -75,7 +75,7 @@ public class CorbaResourceUtil {
|
||||
args[1] = (arg1 != null ? arg1.toString() : "null");
|
||||
args[2] = (arg2 != null ? arg2.toString() : "null");
|
||||
|
||||
return java.text.MessageFormat.format(format, args);
|
||||
return java.text.MessageFormat.format(format, (Object[]) args);
|
||||
}
|
||||
|
||||
private static boolean resourcesInitialized = false;
|
||||
|
@ -350,7 +350,7 @@ public final class ObjectUtility {
|
||||
|
||||
if (useToString) {
|
||||
try {
|
||||
cls.getDeclaredMethod( "toString", null ) ;
|
||||
cls.getDeclaredMethod( "toString", (Class[])null ) ;
|
||||
return true ;
|
||||
} catch (Exception exc) {
|
||||
return false ;
|
||||
|
@ -108,8 +108,8 @@ public class ExceptionHandlerImpl implements ExceptionHandler
|
||||
|
||||
try {
|
||||
helperClass = Class.forName( helperName, true, loader ) ;
|
||||
Method idMethod = helperClass.getDeclaredMethod( "id", null ) ;
|
||||
setId( (String)idMethod.invoke( null, null ) ) ;
|
||||
Method idMethod = helperClass.getDeclaredMethod( "id", (Class[])null ) ;
|
||||
setId( (String)idMethod.invoke( null, (Object[])null ) ) ;
|
||||
} catch (Exception ex) {
|
||||
throw wrapper.badHelperIdMethod( ex, helperName ) ;
|
||||
}
|
||||
|
@ -589,7 +589,7 @@ abstract public class ORB {
|
||||
this.getClass().getMethod("create_operation_list", argc);
|
||||
|
||||
// OK, the method exists, so invoke it and be happy.
|
||||
Object[] argx = { oper };
|
||||
java.lang.Object[] argx = { oper };
|
||||
return (org.omg.CORBA.NVList)meth.invoke(this, argx);
|
||||
}
|
||||
catch( java.lang.reflect.InvocationTargetException exs ) {
|
||||
|
@ -187,7 +187,7 @@ public final class Bridge
|
||||
try {
|
||||
// Invoke the ObjectInputStream.latestUserDefinedLoader method
|
||||
return (ClassLoader)latestUserDefinedLoaderMethod.invoke(null,
|
||||
NO_ARGS);
|
||||
(Object[])NO_ARGS);
|
||||
} catch (InvocationTargetException ite) {
|
||||
Error err = new Error(
|
||||
"sun.corba.Bridge.latestUserDefinedLoader: " + ite ) ;
|
||||
|
@ -98,3 +98,11 @@ e0a1a502e402dbe7bf2d9102b4084a7e79a99a9b jdk7-b91
|
||||
d38f45079fe98792a7381dbb4b64f5b589ec8c58 jdk7-b94
|
||||
8bfe9058ca4661779ac1d0572329f3943e68362e hs19-b01
|
||||
91d861ba858daca645993a1ab6ba2fa06a8f4a5b jdk7-b95
|
||||
573e8ea5fd68e8e51eb6308d283ac3b3889d15e0 jdk7-b96
|
||||
573e8ea5fd68e8e51eb6308d283ac3b3889d15e0 hs19-b02
|
||||
5f42499e57adc16380780f40541e1a66cd601891 jdk7-b97
|
||||
8a045b3f5c13eaad92ff4baf15ca671845fcad1a jdk7-b98
|
||||
6a236384a379642b5a2398e2819db9ab4e711e9b jdk7-b99
|
||||
ad1977f08c4d69162a0775fe3f9576b9fd521d10 jdk7-b100
|
||||
6c3a919105b68c15b7db923ec9a00006e9560910 jdk7-b101
|
||||
ad1977f08c4d69162a0775fe3f9576b9fd521d10 hs19-b03
|
||||
|
@ -35,7 +35,7 @@ HOTSPOT_VM_COPYRIGHT=Copyright 2010
|
||||
|
||||
HS_MAJOR_VER=19
|
||||
HS_MINOR_VER=0
|
||||
HS_BUILD_NUMBER=02
|
||||
HS_BUILD_NUMBER=04
|
||||
|
||||
JDK_MAJOR_VER=1
|
||||
JDK_MINOR_VER=7
|
||||
|
@ -32,6 +32,17 @@ SLASH_JAVA ?= J:
|
||||
PATH_SEP = ;
|
||||
|
||||
# Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
|
||||
ifeq ($(ARCH_DATA_MODEL),32)
|
||||
ARCH_DATA_MODEL=32
|
||||
PLATFORM=windows-i586
|
||||
VM_PLATFORM=windows_i486
|
||||
HS_ARCH=x86
|
||||
MAKE_ARGS += ARCH=x86
|
||||
MAKE_ARGS += BUILDARCH=i486
|
||||
MAKE_ARGS += Platform_arch=x86
|
||||
MAKE_ARGS += Platform_arch_model=x86_32
|
||||
endif
|
||||
|
||||
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) x86),)
|
||||
ARCH_DATA_MODEL=32
|
||||
PLATFORM=windows-i586
|
||||
@ -43,43 +54,57 @@ ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) x86),)
|
||||
MAKE_ARGS += Platform_arch_model=x86_32
|
||||
endif
|
||||
|
||||
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) ia64),)
|
||||
ARCH_DATA_MODEL=64
|
||||
PLATFORM=windows-ia64
|
||||
VM_PLATFORM=windows_ia64
|
||||
HS_ARCH=ia64
|
||||
MAKE_ARGS += LP64=1
|
||||
MAKE_ARGS += ARCH=ia64
|
||||
MAKE_ARGS += BUILDARCH=ia64
|
||||
MAKE_ARGS += Platform_arch=ia64
|
||||
MAKE_ARGS += Platform_arch_model=ia64
|
||||
endif
|
||||
ifneq ($(ARCH_DATA_MODEL),32)
|
||||
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) ia64),)
|
||||
ARCH_DATA_MODEL=64
|
||||
PLATFORM=windows-ia64
|
||||
VM_PLATFORM=windows_ia64
|
||||
HS_ARCH=ia64
|
||||
MAKE_ARGS += LP64=1
|
||||
MAKE_ARGS += ARCH=ia64
|
||||
MAKE_ARGS += BUILDARCH=ia64
|
||||
MAKE_ARGS += Platform_arch=ia64
|
||||
MAKE_ARGS += Platform_arch_model=ia64
|
||||
endif
|
||||
|
||||
# http://support.microsoft.com/kb/888731 : this can be either
|
||||
# AMD64 for AMD, or EM64T for Intel chips.
|
||||
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) AMD64),)
|
||||
ARCH_DATA_MODEL=64
|
||||
PLATFORM=windows-amd64
|
||||
VM_PLATFORM=windows_amd64
|
||||
HS_ARCH=x86
|
||||
MAKE_ARGS += LP64=1
|
||||
MAKE_ARGS += ARCH=x86
|
||||
MAKE_ARGS += BUILDARCH=amd64
|
||||
MAKE_ARGS += Platform_arch=x86
|
||||
MAKE_ARGS += Platform_arch_model=x86_64
|
||||
endif
|
||||
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) AMD64),)
|
||||
ARCH_DATA_MODEL=64
|
||||
PLATFORM=windows-amd64
|
||||
VM_PLATFORM=windows_amd64
|
||||
HS_ARCH=x86
|
||||
MAKE_ARGS += LP64=1
|
||||
MAKE_ARGS += ARCH=x86
|
||||
MAKE_ARGS += BUILDARCH=amd64
|
||||
MAKE_ARGS += Platform_arch=x86
|
||||
MAKE_ARGS += Platform_arch_model=x86_64
|
||||
endif
|
||||
|
||||
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) EM64T),)
|
||||
ARCH_DATA_MODEL=64
|
||||
PLATFORM=windows-amd64
|
||||
VM_PLATFORM=windows_amd64
|
||||
HS_ARCH=x86
|
||||
MAKE_ARGS += LP64=1
|
||||
MAKE_ARGS += ARCH=x86
|
||||
MAKE_ARGS += BUILDARCH=amd64
|
||||
MAKE_ARGS += Platform_arch=x86
|
||||
MAKE_ARGS += Platform_arch_model=x86_64
|
||||
endif
|
||||
|
||||
# NB later OS versions than 2003 may report "Intel64"
|
||||
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) "EM64T\|Intel64"),)
|
||||
ARCH_DATA_MODEL=64
|
||||
PLATFORM=windows-amd64
|
||||
VM_PLATFORM=windows_amd64
|
||||
HS_ARCH=x86
|
||||
MAKE_ARGS += LP64=1
|
||||
MAKE_ARGS += ARCH=x86
|
||||
MAKE_ARGS += BUILDARCH=amd64
|
||||
MAKE_ARGS += Platform_arch=x86
|
||||
MAKE_ARGS += Platform_arch_model=x86_64
|
||||
ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) Intel64),)
|
||||
ARCH_DATA_MODEL=64
|
||||
PLATFORM=windows-amd64
|
||||
VM_PLATFORM=windows_amd64
|
||||
HS_ARCH=x86
|
||||
MAKE_ARGS += LP64=1
|
||||
MAKE_ARGS += ARCH=x86
|
||||
MAKE_ARGS += BUILDARCH=amd64
|
||||
MAKE_ARGS += Platform_arch=x86
|
||||
MAKE_ARGS += Platform_arch_model=x86_64
|
||||
endif
|
||||
endif
|
||||
|
||||
JDK_INCLUDE_SUBDIR=win32
|
||||
|
@ -70,3 +70,9 @@ e6a40e4bb10499fb6ee9db71ab5654e5a17ab75b jdk7-b92
|
||||
c725ca829c5aa4b50a8ed5728579ec8809fbfb1d jdk7-b93
|
||||
2de307cd3b4e71127e75dff70809c1b1fbc1a494 jdk7-b94
|
||||
07050840f98cda357aa6a8d416fdccbd03038d35 jdk7-b95
|
||||
9510ed0e1c7ab46a8b6659234e1dc7786407a72b jdk7-b96
|
||||
ca01ec32561fee1855630b68a2fcd0042257a8ef jdk7-b97
|
||||
d4adf4f2d14c7b79df0a81de884b6b57c6850802 jdk7-b98
|
||||
7ef8469021fbc824ac49d57c83a14b1bb08f1766 jdk7-b99
|
||||
d524be5ef62e8b8cb890c59a5d2c19ef0ab50d45 jdk7-b100
|
||||
17f62a566a2020fd908e77106ed885e0c4e7c14d jdk7-b101
|
||||
|
@ -55,9 +55,29 @@
|
||||
<drop-import name="jaxp_src"/>
|
||||
<!-- <drop-import name="jaxp_tests"/> -->
|
||||
|
||||
<!-- Fail and print helpful messages if source does not exist. -->
|
||||
<target name="-src-help">
|
||||
<fail message="${failed.url.src.message}">
|
||||
<condition>
|
||||
<and>
|
||||
<not>
|
||||
<available file="${jaxp_src.src.dir}" type="dir"/>
|
||||
</not>
|
||||
<istrue value="${allow.downloads}"/>
|
||||
</and>
|
||||
</condition>
|
||||
</fail>
|
||||
<fail message="${failed.nourl.src.message}">
|
||||
<condition>
|
||||
<not>
|
||||
<available file="${jaxp_src.src.dir}" type="dir"/>
|
||||
</not>
|
||||
</condition>
|
||||
</fail>
|
||||
</target>
|
||||
|
||||
<!-- Special build area preparation. -->
|
||||
<target name="-drop-build-prep" depends="init, -init-src-dirs">
|
||||
<!-- Special build area setup. -->
|
||||
<target name="-drop-build-setup" depends="init, -init-src-dirs">
|
||||
<mkdir dir="${build.classes.dir}"/>
|
||||
<copy todir="${build.classes.dir}">
|
||||
<fileset dir="${primary.src.dir}"
|
||||
@ -84,7 +104,7 @@
|
||||
|
||||
<!-- Source directory selection. -->
|
||||
<target name="-init-src-dirs"
|
||||
depends="init, -use-drop">
|
||||
depends="init, -use-drop,-src-help">
|
||||
<echo message="Using primary.src.dir=${primary.src.dir}"/>
|
||||
<pathconvert property="src.list.id" refid="src.dir.id"/>
|
||||
<echo message="Using src.dir.id=${src.list.id}"/>
|
||||
|
@ -75,6 +75,7 @@
|
||||
<target name="-@DROP@-url-should-be-used" unless="@DROP@.url.should.be.used">
|
||||
<condition property="@DROP@.url.should.be.used">
|
||||
<and>
|
||||
<istrue value="${allow.downloads}"/>
|
||||
<not>
|
||||
<isset property="@DROP@.master.bundle.copy.exists"/>
|
||||
</not>
|
||||
|
@ -104,4 +104,24 @@ sanity.info= Sanity Settings:${line.separator}\
|
||||
drops.dir=${drops.dir}${line.separator}\
|
||||
${line.separator}
|
||||
|
||||
# Failure messages when source cannot be found on the file system
|
||||
failed.nourl.src.message=\
|
||||
ERROR: Cannot find source for project ${ant.project.name}.\
|
||||
${line.separator}${line.separator}\
|
||||
HINT: Try setting drops.dir to indicate where the bundles can be found, \
|
||||
or try setting the ant property allow.downloads=true to download the bundle from the URL.\
|
||||
${line.separator}\
|
||||
e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory \
|
||||
${line.separator}
|
||||
|
||||
# Failure message when source cannot be downloaded
|
||||
failed.url.src.message=\
|
||||
ERROR: Cannot find source for project ${ant.project.name}.\
|
||||
${line.separator}${line.separator}\
|
||||
HINT: Try setting drops.dir to indicate where the bundles can be found, \
|
||||
or try checking the URL with your browser.\
|
||||
${line.separator}\
|
||||
e.g. ant -Ddrops.dir=some_directory \
|
||||
${line.separator}
|
||||
|
||||
#------------------------------------------------------------
|
||||
|
@ -36,6 +36,11 @@
|
||||
javac.debug - true or false for debug classfiles
|
||||
javac.target - classfile version target
|
||||
javac.source - source version
|
||||
drops.dir - directory that holds source drop bundles
|
||||
allow.download - permit downloads from public url (default is false)
|
||||
(used if bundles not found in drops.dir)
|
||||
|
||||
Run 'make help' for help using the Makefile.
|
||||
</description>
|
||||
|
||||
<!-- Mac is special, need to downgrade these before build.properties. -->
|
||||
@ -106,16 +111,20 @@
|
||||
<jar file="${dist.classes.jar}" basedir="${build.classes.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="-build-prep"
|
||||
depends="init, -init-src-dirs, -drop-build-prep">
|
||||
<target name="-build-setup"
|
||||
depends="init, -init-src-dirs, -drop-build-setup">
|
||||
</target>
|
||||
|
||||
<!-- Build (compilation) of sources to class files. -->
|
||||
<target name="build"
|
||||
depends="init, -init-src-dirs, -build-prep">
|
||||
depends="compile, -build-setup">
|
||||
</target>
|
||||
<target name="compile"
|
||||
depends="init, -init-src-dirs">
|
||||
<mkdir dir="${build.classes.dir}"/>
|
||||
<javac
|
||||
includeAntRuntime="false"
|
||||
classpath="${build.classes.dir}"
|
||||
includeAntRuntime="false"
|
||||
classpath="${build.classes.dir}:${tools.jar}"
|
||||
fork="true"
|
||||
destdir="${build.classes.dir}"
|
||||
memoryInitialSize="${javac.memoryInitialSize}"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2007, 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
|
||||
@ -24,13 +24,13 @@
|
||||
#
|
||||
|
||||
drops.master.copy.base=${drops.dir}
|
||||
drops.master.url.base=https://jaxp.dev.java.net/files/documents/913/147490
|
||||
|
||||
jaxp_src.bundle.name=jdk7-jaxp-m6.zip
|
||||
jaxp_src.bundle.md5.checksum=080827d779c114365f8504bd79b34604
|
||||
jaxp_src.bundle.name=jdk7-jaxp-m7.zip
|
||||
jaxp_src.bundle.md5.checksum=22e95fbdb9fb7d8b6b6fc0a1d76d1fbd
|
||||
jaxp_src.master.bundle.dir=${drops.master.copy.base}
|
||||
jaxp_src.master.bundle.url.base=${drops.master.url.base}
|
||||
jaxp_src.master.bundle.url.base=https://jaxp.dev.java.net/files/documents/913/150785
|
||||
|
||||
#jaxp_tests.bundle.name=jdk7-jaxp-tests-2009_08_28.zip
|
||||
#jaxp_tests.master.bundle.dir=${drops.master.copy.base}
|
||||
#jaxp_tests.master.bundle.url.base=https://jaxp.dev.java.net/files/documents/913/147490
|
||||
|
||||
jaxp_tests.bundle.name=jdk7-jaxp-tests-2009_08_28.zip
|
||||
jaxp_tests.master.bundle.dir=${drops.master.copy.base}
|
||||
jaxp_tests.master.bundle.url.base=${drops.master.url.base}
|
||||
|
@ -65,6 +65,11 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
# If downloads are allowed
|
||||
ifeq ($(ALLOW_DOWNLOADS),true)
|
||||
ANT_OPTIONS += -Dallow.downloads=true
|
||||
endif
|
||||
|
||||
# Figure out the platform we are using
|
||||
_SYSTEM_UNAME := $(shell uname)
|
||||
_PLATFORM_KIND = unix
|
||||
@ -159,6 +164,8 @@ help:
|
||||
@echo " $(ANT_TARGETS)"
|
||||
@echo " "
|
||||
@echo " Environment or command line variables (all optional):"
|
||||
$(call helpenvline, ALT_DROPS_DIR,\
|
||||
"Directory that contains the drop source bundles i.e. drops.dir")
|
||||
$(call helpenvline, ALT_BOOTDIR,\
|
||||
"JAVA_HOME to use when running ant")
|
||||
$(call helpenvline, ALT_LANGTOOLS_DIST,\
|
||||
|
@ -70,3 +70,9 @@ df7c033f6a11c0973ab0e74701b1248aee9b659f jdk7-b92
|
||||
797bef19197566ffb056edaa1b34db43bd9bf7b0 jdk7-b93
|
||||
8515e093efd14ac054e941ef743f76561a393a70 jdk7-b94
|
||||
ee06cfb113d554b5c8a9a53383bae2b168533829 jdk7-b95
|
||||
208fd4451232f7a522ddb20334c598656844ccb7 jdk7-b96
|
||||
dac23846092ad4956ed41b5278f8686476ae46ef jdk7-b97
|
||||
4571098071094e705e680db5324bfa15a57b1290 jdk7-b98
|
||||
818366ce23d8919cafaa4db4c51605ee2a7c8eaf jdk7-b99
|
||||
bd26d0ce0c3cb43e58a8e2770cc03f26d96ffe5c jdk7-b100
|
||||
b55ce274490082712f5e002b38d2eed505ca863d jdk7-b101
|
||||
|
@ -55,9 +55,36 @@
|
||||
<drop-import name="jaxws_src"/>
|
||||
<drop-import name="jaf_src"/>
|
||||
<!-- <drop-import name="jaxws_tests"/> -->
|
||||
|
||||
<!-- Fail and print helpful messages if source does not exist. -->
|
||||
<target name="-src-help">
|
||||
<fail message="${failed.url.src.message}">
|
||||
<condition>
|
||||
<and>
|
||||
<not>
|
||||
<and>
|
||||
<available file="${jaxws_src.src.dir}" type="dir"/>
|
||||
<available file="${jaf_src.src.dir}" type="dir"/>
|
||||
</and>
|
||||
</not>
|
||||
<istrue value="${allow.downloads}"/>
|
||||
</and>
|
||||
</condition>
|
||||
</fail>
|
||||
<fail message="${failed.nourl.src.message}">
|
||||
<condition>
|
||||
<not>
|
||||
<and>
|
||||
<available file="${jaxws_src.src.dir}" type="dir"/>
|
||||
<available file="${jaf_src.src.dir}" type="dir"/>
|
||||
</and>
|
||||
</not>
|
||||
</condition>
|
||||
</fail>
|
||||
</target>
|
||||
|
||||
<!-- Special build area preparation. -->
|
||||
<target name="-drop-build-prep" depends="init, -init-src-dirs">
|
||||
<!-- Special build area setup. -->
|
||||
<target name="-drop-build-setup" depends="init, -init-src-dirs">
|
||||
<mkdir dir="${build.classes.dir}"/>
|
||||
<copy todir="${build.classes.dir}">
|
||||
<fileset dir="${primary.src.dir}"
|
||||
@ -99,7 +126,7 @@
|
||||
|
||||
<!-- Source directory selection. -->
|
||||
<target name="-init-src-dirs"
|
||||
depends="init, -use-drop">
|
||||
depends="init, -use-drop,-src-help">
|
||||
<echo message="Using primary.src.dir=${primary.src.dir}"/>
|
||||
<pathconvert property="src.list.id" refid="src.dir.id"/>
|
||||
<echo message="Using src.dir.id=${src.list.id}"/>
|
||||
|
@ -75,6 +75,7 @@
|
||||
<target name="-@DROP@-url-should-be-used" unless="@DROP@.url.should.be.used">
|
||||
<condition property="@DROP@.url.should.be.used">
|
||||
<and>
|
||||
<istrue value="${allow.downloads}"/>
|
||||
<not>
|
||||
<isset property="@DROP@.master.bundle.copy.exists"/>
|
||||
</not>
|
||||
|
@ -104,4 +104,24 @@ sanity.info= Sanity Settings:${line.separator}\
|
||||
drops.dir=${drops.dir}${line.separator}\
|
||||
${line.separator}
|
||||
|
||||
# Failure messages when source cannot be found on the file system
|
||||
failed.nourl.src.message=\
|
||||
ERROR: Cannot find source for project ${ant.project.name}.\
|
||||
${line.separator}${line.separator}\
|
||||
HINT: Try setting drops.dir to indicate where the bundles can be found, \
|
||||
or try setting the ant property allow.downloads=true to download the bundle from the URL.\
|
||||
${line.separator}\
|
||||
e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory \
|
||||
${line.separator}
|
||||
|
||||
# Failure message when source cannot be downloaded
|
||||
failed.url.src.message=\
|
||||
ERROR: Cannot find source for project ${ant.project.name}.\
|
||||
${line.separator}${line.separator}\
|
||||
HINT: Try setting drops.dir to indicate where the bundles can be found, \
|
||||
or try checking the URL with your browser.\
|
||||
${line.separator}\
|
||||
e.g. ant -Ddrops.dir=some_directory \
|
||||
${line.separator}
|
||||
|
||||
#------------------------------------------------------------
|
||||
|
@ -36,6 +36,11 @@
|
||||
javac.debug - true or false for debug classfiles
|
||||
javac.target - classfile version target
|
||||
javac.source - source version
|
||||
drops.dir - directory that holds source drop bundles
|
||||
allow.download - permit downloads from public url (default is false)
|
||||
(used if bundles not found in drops.dir)
|
||||
|
||||
Run 'make help' for help using the Makefile.
|
||||
</description>
|
||||
|
||||
<!-- Mac is special, need to downgrade these before build.properties. -->
|
||||
@ -106,13 +111,17 @@
|
||||
<jar file="${dist.classes.jar}" basedir="${build.classes.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="-build-prep"
|
||||
depends="init, -init-src-dirs, -drop-build-prep">
|
||||
<target name="-build-setup"
|
||||
depends="init, -init-src-dirs, -drop-build-setup">
|
||||
</target>
|
||||
|
||||
<!-- Build (compilation) of sources to class files. -->
|
||||
<target name="build"
|
||||
depends="init, -init-src-dirs, -build-prep">
|
||||
depends="compile, -build-setup">
|
||||
</target>
|
||||
<target name="compile"
|
||||
depends="init, -init-src-dirs">
|
||||
<mkdir dir="${build.classes.dir}"/>
|
||||
<javac
|
||||
includeAntRuntime="false"
|
||||
classpath="${build.classes.dir}:${tools.jar}"
|
||||
|
@ -24,19 +24,18 @@
|
||||
#
|
||||
|
||||
drops.master.copy.base=${drops.dir}
|
||||
drops.master.url.base=http://kenai.com/projects/jdk7-drops/downloads/download
|
||||
|
||||
jaxws_src.bundle.name=jdk7-jaxws-2009_09_28.zip
|
||||
jaxws_src.bundle.md5.checksum=f5010ebf636db9f465a61a7a74944543
|
||||
jaxws_src.bundle.name=jdk7-jaxws-b100.zip
|
||||
jaxws_src.bundle.md5.checksum=e4fea255c6222b118bb1d0d3054d36e1
|
||||
jaxws_src.master.bundle.dir=${drops.master.copy.base}
|
||||
#jaxws_src.bundle.url.base=https://jaxws.dev.java.net/files/documents/913/142147
|
||||
jaxws_src.master.bundle.url.base=${drops.master.url.base}
|
||||
jaxws_src.master.bundle.url.base=https://jax-ws.dev.java.net/files/documents/4202/150896
|
||||
|
||||
jaf_src.bundle.name=jdk7-jaf-2009_08_28.zip
|
||||
jaf_src.bundle.md5.checksum=eb8cb7a4a7f14e211fbe2354878a2472
|
||||
jaf_src.master.bundle.dir=${drops.master.copy.base}
|
||||
jaf_src.master.bundle.url.base=${drops.master.url.base}
|
||||
jaf_src.master.bundle.url.base=http://kenai.com/projects/jdk7-drops/downloads/download
|
||||
|
||||
#jaxws_tests.bundle.name=jdk7-jaxws-tests-2009_08_28.zip
|
||||
#jaxws_tests.master.bundle.dir=${drops.master.copy.base}
|
||||
#jaxws_tests.master.bundle.url.base=http://kenai.com/projects/jdk7-drops/downloads/download
|
||||
|
||||
jaxws_tests.bundle.name=jdk7-jaxws-tests-2009_08_28.zip
|
||||
jaxws_tests.master.bundle.dir=${drops.master.copy.base}
|
||||
jaxws_tests.master.bundle.url.base=${drops.master.url.base}
|
||||
|
@ -65,6 +65,11 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
# If downloads are allowed
|
||||
ifeq ($(ALLOW_DOWNLOADS),true)
|
||||
ANT_OPTIONS += -Dallow.downloads=true
|
||||
endif
|
||||
|
||||
# Figure out the platform we are using
|
||||
_SYSTEM_UNAME := $(shell uname)
|
||||
_PLATFORM_KIND = unix
|
||||
@ -159,6 +164,8 @@ help:
|
||||
@echo " $(ANT_TARGETS)"
|
||||
@echo " "
|
||||
@echo " Environment or command line variables (all optional):"
|
||||
$(call helpenvline, ALT_DROPS_DIR,\
|
||||
"Directory that contains the drop source bundles i.e. drops.dir")
|
||||
$(call helpenvline, ALT_BOOTDIR,\
|
||||
"JAVA_HOME to use when running ant")
|
||||
$(call helpenvline, ALT_LANGTOOLS_DIST,\
|
||||
|
@ -70,3 +70,9 @@ f2dce7210cc00453c23e53edeec7156f112ca382 jdk7-b92
|
||||
219b84b9533ae4fe3c6c2083f8a8962cb579f1de jdk7-b93
|
||||
cf44386c8fe3fbdb9da14346be25d19fd1092f71 jdk7-b94
|
||||
db951e984ccf50756160fee3078c791300b0917e jdk7-b95
|
||||
51b9e5dbc2da0631414484b934ac3fb62e48a2c6 jdk7-b96
|
||||
b1903d7528d33b521df42bc9291bdcdd2f444a29 jdk7-b97
|
||||
82593186fa54ab12f17af31f86a7bf364efaf4df jdk7-b98
|
||||
2587c9f0b60dc3146b4247b8674ada456a643d6f jdk7-b99
|
||||
820b4e843d5168370a3bf166d19751a3271d8575 jdk7-b100
|
||||
d58354a69011f3d3354765fa3167567c4c4a9612 jdk7-b101
|
||||
|
@ -42,7 +42,7 @@ endif
|
||||
SUBDIRS = java security net/ssl jarsigner
|
||||
|
||||
SUBDIRS_management = jmx
|
||||
SUBDIRS_desktop = image inputmethods
|
||||
SUBDIRS_desktop = image
|
||||
SUBDIRS_enterprise = crypto/provider jndi \
|
||||
org xml rowset net/httpserver
|
||||
SUBDIRS_misc = $(SCRIPT_SUBDIR) tracing servicetag nio demo
|
||||
|
@ -1,79 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2002, 2008, 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.
|
||||
#
|
||||
|
||||
#
|
||||
# Makefile for indic input method.
|
||||
#
|
||||
|
||||
BUILDDIR = ../../../..
|
||||
|
||||
PACKAGE = com.sun.inputmethods.internal.indicim
|
||||
PRODUCT = sun
|
||||
|
||||
CLASSDESTDIR = $(TEMPDIR)/classes
|
||||
SERVICESDIR=META-INF/services
|
||||
IMJAR = $(IMJARDIR)/indicim.jar
|
||||
IMJARDIR=$(LIBDIR)/im
|
||||
include $(BUILDDIR)/common/Defs.gmk
|
||||
|
||||
#
|
||||
# Files
|
||||
#
|
||||
AUTO_FILES_JAVA_DIRS = com/sun/inputmethods/internal/indicim
|
||||
|
||||
FILES_copy = \
|
||||
$(CLASSDESTDIR)/com/sun/inputmethods/internal/indicim/resources/DisplayNames.properties
|
||||
|
||||
PROVIDER_CONF_FILE = \
|
||||
$(CLASSDESTDIR)/$(SERVICESDIR)/java.awt.im.spi.InputMethodDescriptor
|
||||
|
||||
#
|
||||
# Rules
|
||||
#
|
||||
include $(BUILDDIR)/common/Classes.gmk
|
||||
|
||||
build: $(IMJAR)
|
||||
|
||||
#
|
||||
# Extra rules to build im.
|
||||
#
|
||||
|
||||
$(CLASSDESTDIR)/com/sun/inputmethods/internal/indicim/resources/% : $(SHARE_SRC)/classes/com/sun/inputmethods/internal/indicim/resources/%
|
||||
$(install-file)
|
||||
|
||||
$(CLASSDESTDIR)/$(SERVICESDIR)/java.awt.im.spi.InputMethodDescriptor : $(SHARE_SRC)/classes/com/sun/inputmethods/internal/indicim/java.awt.im.spi.InputMethodDescriptor
|
||||
$(install-file)
|
||||
|
||||
$(IMJAR): $(FILES_class) $(FILES_copy) $(PROVIDER_CONF_FILE)
|
||||
$(prep-target)
|
||||
$(BOOT_JAR_CMD) -cf $@ \
|
||||
-C $(CLASSDESTDIR) com \
|
||||
-C $(CLASSDESTDIR) $(SERVICESDIR) \
|
||||
$(BOOT_JAR_JFLAGS)
|
||||
@$(java-vm-cleanup)
|
||||
|
||||
clean::
|
||||
$(RM) -r $(CLASSDESTDIR)
|
||||
$(RM) $(IMJAR)
|
@ -1,79 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2002, 2008, 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.
|
||||
#
|
||||
|
||||
#
|
||||
# Makefile for thai input method.
|
||||
#
|
||||
|
||||
BUILDDIR = ../../../..
|
||||
|
||||
PACKAGE = com.sun.inputmethods.internal.thaiim
|
||||
PRODUCT = sun
|
||||
|
||||
CLASSDESTDIR = $(TEMPDIR)/classes
|
||||
SERVICESDIR=META-INF/services
|
||||
IMJAR = $(IMJARDIR)/thaiim.jar
|
||||
IMJARDIR=$(LIBDIR)/im
|
||||
include $(BUILDDIR)/common/Defs.gmk
|
||||
|
||||
#
|
||||
# Files
|
||||
#
|
||||
AUTO_FILES_JAVA_DIRS = com/sun/inputmethods/internal/thaiim
|
||||
|
||||
FILES_copy = \
|
||||
$(CLASSDESTDIR)/com/sun/inputmethods/internal/thaiim/resources/DisplayNames.properties
|
||||
|
||||
PROVIDER_CONF_FILE = \
|
||||
$(CLASSDESTDIR)/$(SERVICESDIR)/java.awt.im.spi.InputMethodDescriptor
|
||||
|
||||
#
|
||||
# Rules
|
||||
#
|
||||
include $(BUILDDIR)/common/Classes.gmk
|
||||
|
||||
build: $(IMJAR)
|
||||
|
||||
#
|
||||
# Extra rules to build im.
|
||||
#
|
||||
|
||||
$(CLASSDESTDIR)/com/sun/inputmethods/internal/thaiim/resources/% : $(SHARE_SRC)/classes/com/sun/inputmethods/internal/thaiim/resources/%
|
||||
$(install-file)
|
||||
|
||||
$(CLASSDESTDIR)/$(SERVICESDIR)/java.awt.im.spi.InputMethodDescriptor : $(SHARE_SRC)/classes/com/sun/inputmethods/internal/thaiim/java.awt.im.spi.InputMethodDescriptor
|
||||
$(install-file)
|
||||
|
||||
$(IMJAR): $(FILES_class) $(FILES_copy) $(PROVIDER_CONF_FILE)
|
||||
$(prep-target)
|
||||
$(BOOT_JAR_CMD) -cf $@ \
|
||||
-C $(CLASSDESTDIR) com \
|
||||
-C $(CLASSDESTDIR) $(SERVICESDIR) \
|
||||
$(BOOT_JAR_JFLAGS)
|
||||
@$(java-vm-cleanup)
|
||||
|
||||
clean::
|
||||
$(RM) -r $(CLASSDESTDIR)
|
||||
$(RM) $(IMJAR)
|
@ -194,7 +194,16 @@ ifeq ($(FASTDEBUG), true)
|
||||
CXXFLAGS_DBG += $(CC_OPT/$(FASTDEBUG_OPTIMIZATION_LEVEL))
|
||||
endif
|
||||
|
||||
CPPFLAGS_COMMON = -D$(ARCH) -DARCH='"$(ARCH)"' -DLINUX $(VERSION_DEFINES) \
|
||||
CPP_ARCH_FLAGS = -DARCH='"$(ARCH)"'
|
||||
|
||||
# Alpha arch does not like "alpha" defined (potential general arch cleanup issue here)
|
||||
ifneq ($(ARCH),alpha)
|
||||
CPP_ARCH_FLAGS += -D$(ARCH)
|
||||
else
|
||||
CPP_ARCH_FLAGS += -D_$(ARCH)_
|
||||
endif
|
||||
|
||||
CPPFLAGS_COMMON = $(CPP_ARCH_FLAGS) -DLINUX $(VERSION_DEFINES) \
|
||||
-D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT
|
||||
|
||||
ifeq ($(ARCH_DATA_MODEL), 64)
|
||||
@ -311,6 +320,7 @@ override LIBCXX = -lstdc++
|
||||
endif
|
||||
override LIBPOSIX4 =
|
||||
override LIBSOCKET =
|
||||
override LIBNSL =
|
||||
override LIBTHREAD =
|
||||
override MOOT_PRIORITIES = true
|
||||
override NO_INTERRUPTIBLE_IO = true
|
||||
|
@ -639,25 +639,15 @@ AWT_RUNPATH = -R/usr/dt/lib$(ISA_DIR) -R$(OPENWIN_RUNTIME_LIB)
|
||||
# in general this is ok to continue to do.
|
||||
LIBCXX = /usr/lib$(ISA_DIR)/libCrun.so.1
|
||||
|
||||
# Math Library (libm.so), do not use -lm.
|
||||
# There might be two versions of libm.so on the build system:
|
||||
# libm.so.1 and libm.so.2, and we want libm.so.1.
|
||||
# Depending on the Solaris release being used to build with,
|
||||
# /usr/lib/libm.so could point at a libm.so.2, so we are
|
||||
# explicit here so that the libjvm.so you have built will work on an
|
||||
# older Solaris release that might not have libm.so.2.
|
||||
# This is a critical factor in allowing builds on Solaris 10 or newer
|
||||
# to run on Solaris 8 or 9.
|
||||
#
|
||||
# Note: Historically there was also a problem picking up a static version
|
||||
# of libm.a from the compiler area, but that problem has gone away
|
||||
# with the newer compilers. Use of libm.a would cause .so bloat.
|
||||
#
|
||||
LIBM = /usr/lib$(ISA_DIR)/libm.so.1
|
||||
# JDK now requires Solaris 10, so pick up libm.so.2
|
||||
LIBM = /usr/lib$(ISA_DIR)/libm.so.2
|
||||
|
||||
# Socket library
|
||||
LIBSOCKET = -lsocket
|
||||
|
||||
# Network Services library
|
||||
LIBNSL = -lnsl
|
||||
|
||||
# GLOBAL_KPIC: If set means all libraries are PIC, position independent code
|
||||
# EXCEPT for select compiles
|
||||
# If a .o file is compiled non-PIC then it should be forced
|
||||
|
@ -47,14 +47,20 @@ IMAGE_BINDIR = bin
|
||||
# Swing has taken this approach only as a temporary measure to avoid
|
||||
# the compiler warnings until we can properly document these packages.
|
||||
# This is covered under 6491853.
|
||||
EXCLUDE_PROPWARN_PKGS = com.sun.java.swing.plaf \
|
||||
com.sun.java.swing.plaf.windows \
|
||||
EXCLUDE_PROPWARN_PKGS = com.sun.java.swing.plaf.windows \
|
||||
com.sun.java.swing.plaf.motif \
|
||||
com.sun.java.swing.plaf.gtk
|
||||
|
||||
# This is a stopgap until 6839872 is fixed.
|
||||
EXCLUDE_PROPWARN_PKGS += sun.dyn
|
||||
|
||||
#
|
||||
# Include the exported private packages in ct.sym.
|
||||
# This is an interim solution until the ct.sym is replaced
|
||||
# with a new module system (being discussed for JDK 7).
|
||||
#
|
||||
EXPORTED_PRIVATE_PKGS = com.sun.servicetag
|
||||
|
||||
# 64-bit solaris has a few special cases. We define the variable
|
||||
# SOLARIS64 for use in this Makefile to easily test those cases
|
||||
ifeq ($(PLATFORM), solaris)
|
||||
@ -983,7 +989,7 @@ initial-image-jdk:: initial-image-jdk-setup \
|
||||
-processor com.sun.tools.javac.sym.CreateSymbols \
|
||||
-Acom.sun.tools.javac.sym.Jar=$(RT_JAR) \
|
||||
-Acom.sun.tools.javac.sym.Dest=$(OUTPUTDIR)/symbols/META-INF/sym/rt.jar \
|
||||
$(CORE_PKGS) $(NON_CORE_PKGS) $(EXCLUDE_PROPWARN_PKGS)
|
||||
$(CORE_PKGS) $(NON_CORE_PKGS) $(EXCLUDE_PROPWARN_PKGS) $(EXPORTED_PRIVATE_PKGS)
|
||||
$(BOOT_JAR_CMD) c0f $(LIBDIR)/ct.sym \
|
||||
-C $(OUTPUTDIR)/symbols META-INF $(BOOT_JAR_JFLAGS)
|
||||
@$(java-vm-cleanup)
|
||||
|
@ -35,9 +35,6 @@ ifndef JDK_MAKE_SHARED_DIR
|
||||
JDK_MAKE_SHARED_DIR = $(JDK_TOPDIR)/make/common/shared
|
||||
endif
|
||||
|
||||
ifndef CONTROL_TOPDIR
|
||||
CONTROL_TOPDIR=$(TOPDIR)
|
||||
endif
|
||||
ifndef HOTSPOT_TOPDIR
|
||||
HOTSPOT_TOPDIR=$(TOPDIR)/hotspot
|
||||
endif
|
||||
|
93
jdk/make/common/shared/Defs-javadoc.gmk
Normal file
93
jdk/make/common/shared/Defs-javadoc.gmk
Normal file
@ -0,0 +1,93 @@
|
||||
#
|
||||
# Copyright (c) 1997, 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.
|
||||
#
|
||||
|
||||
# Copyright year for beginning of Java and some of the apis
|
||||
# (Needed when creating the javadocs)
|
||||
FIRST_COPYRIGHT_YEAR = 1993
|
||||
DOMAPI_FIRST_COPYRIGHT_YEAR = 2005
|
||||
MIRROR_FIRST_COPYRIGHT_YEAR = 2004
|
||||
DOCLETAPI_FIRST_COPYRIGHT_YEAR = 1993
|
||||
TAGLETAPI_FIRST_COPYRIGHT_YEAR = 1993
|
||||
JDI_FIRST_COPYRIGHT_YEAR = 1999
|
||||
JAAS_FIRST_COPYRIGHT_YEAR = 1998
|
||||
JGSS_FIRST_COPYRIGHT_YEAR = 2000
|
||||
SMARTCARDIO_FIRST_COPYRIGHT_YEAR = 2005
|
||||
HTTPSERVER_FIRST_COPYRIGHT_YEAR = 2005
|
||||
MGMT_FIRST_COPYRIGHT_YEAR = 2003
|
||||
ATTACH_FIRST_COPYRIGHT_YEAR = 2005
|
||||
JCONSOLE_FIRST_COPYRIGHT_YEAR = 2006
|
||||
SCTPAPI_FIRST_COPYRIGHT_YEAR = 2009
|
||||
TRACING_FIRST_COPYRIGHT_YEAR = 2008
|
||||
TREEAPI_FIRST_COPYRIGHT_YEAR = 2005
|
||||
JNLP_FIRST_COPYRIGHT_YEAR = 1998
|
||||
PLUGIN2_FIRST_COPYRIGHT_YEAR = 2007
|
||||
|
||||
# Oracle name
|
||||
COMPANY_NAME = Oracle and/or its affiliates
|
||||
|
||||
# Copyright address
|
||||
COMPANY_ADDRESS = 500 Oracle Parkway<br>Redwood Shores, CA 94065 USA.
|
||||
|
||||
# The trademark symbol
|
||||
TRADEMARK = ™
|
||||
|
||||
# Common copyright lines used
|
||||
# The word "Copyright" might optionally be a link to the file cpyr.html.
|
||||
# The first year of copyright may vary or not be available.
|
||||
# The address to the company might be optional.
|
||||
COMMA:= ,
|
||||
EMPTY:=
|
||||
SPACE:=$(EMPTY) $(EMPTY)
|
||||
COPYRIGHT_SYMBOL = &\#x00a9;
|
||||
# Macros to handle the optional empty args.
|
||||
# (The GNU make 3.78.1 "if" conditional is broken, fixed in GNU make 3.81)
|
||||
define OptionalCopyrightUrl # url
|
||||
$(shell \
|
||||
if [ "$1" != "" ] ; then \
|
||||
printf "<a href=\"%s\">Copyright</a>" "$1"; \
|
||||
else \
|
||||
printf "Copyright"; \
|
||||
fi)
|
||||
endef
|
||||
define OptionalCopyrightFirstYear # year
|
||||
$(shell \
|
||||
if [ "$1" != "" ] ; then \
|
||||
printf "%s," "$1";\
|
||||
fi)
|
||||
endef
|
||||
define OptionalCompanyAddress # address
|
||||
$(shell \
|
||||
if [ "$1" != "" ] ; then \
|
||||
printf "%s" "$1";\
|
||||
fi)
|
||||
endef
|
||||
define CopyrightLine # optionalurl optionalfirstyear optionaladdress
|
||||
$(call OptionalCopyrightUrl,$1) $(COPYRIGHT_SYMBOL)\
|
||||
$(call OptionalCopyrightFirstYear,$2) $(COPYRIGHT_YEAR),\
|
||||
$(COMPANY_NAME).\
|
||||
$(call OptionalCompanyAddress,$3)\
|
||||
All rights reserved.
|
||||
endef
|
||||
|
@ -230,7 +230,8 @@ endif
|
||||
|
||||
# Compilers, SDK, and Visual Studio (MSDEV) [32bit is different from 64bit]
|
||||
ifeq ($(ARCH_DATA_MODEL), 32)
|
||||
# Try looking in MSVCDIR or MSVCDir area first (set by vcvars32.bat)
|
||||
# Try looking in MSVCDIR or MSVCDir area first
|
||||
# (set by vcvars32.bat for VC .NET, not defined in the VC 2008/2010)
|
||||
ifdef MSVCDIR
|
||||
xMSVCDIR :="$(subst \,/,$(MSVCDIR))"
|
||||
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
|
||||
@ -238,11 +239,6 @@ ifeq ($(ARCH_DATA_MODEL), 32)
|
||||
ifdef MSVCDir
|
||||
xMSVCDIR :="$(subst \,/,$(MSVCDir))"
|
||||
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
|
||||
else
|
||||
ifneq ($(_program_files),)
|
||||
xMSVCDIR :="$(_program_files)/Microsoft Visual Studio .NET 2003/Vc7"
|
||||
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
# If we still don't have it, look for VSnnCOMNTOOLS (newest first),
|
||||
@ -331,23 +327,50 @@ ifeq ($(_ms_sdk),)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Compilers for 64bit may be from SDK. For VS 2010 we use those.
|
||||
# The Express compilers don't contain 64 bit compilers, so in
|
||||
# that case, you additionally need the SDK. At this time,
|
||||
# there's no 64 bit SDK available that has VS 2010.
|
||||
# Presumably SDK v7.1 will provide that and we may want to update
|
||||
# the logic here to work with that.
|
||||
# However official builds will use the Professional version.
|
||||
# Compilers for 64bit may be from the free SDK, or Visual Studio Professional
|
||||
# The free Express compilers don't contain 64 bit compilers, which is why
|
||||
# you instead need the SDK.
|
||||
# So for VS2010 based builds, either VS2010 Pro with the 7.0a SDK, or
|
||||
# the Windows 7.1 standalone SDK with compilers may be used.
|
||||
# Release enginering will use VS2010 Pro, so the frequency of testing of
|
||||
# SDK based builds will depend entirely on individual usage.
|
||||
ifeq ($(ARCH_DATA_MODEL), 64)
|
||||
ifdef VS100COMNTOOLS # /Common7/Tools directory, use ../../Vc
|
||||
# VS2010 default location is used when building 64 bit using the 7.1 SDK
|
||||
# This is safe to hardwire as the SDK installer won't let you change it
|
||||
# and the VS2010 variable is only used if the compilers are from the SDK
|
||||
xVS2010 :="$(_program_files32)/Microsoft Visual Studio 10.0/"
|
||||
VS2010 :=$(call FullPath,$(xVS2010))
|
||||
xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))"
|
||||
_vs100tools :=$(call FullPath,$(xVS100COMNTOOLS))
|
||||
endif
|
||||
ifneq ($(_vs100tools),)
|
||||
_compiler_bin :=$(_vs100tools)/../../Vc/bin/amd64
|
||||
_redist_sdk :=$(_vs100tools)/../../Vc/redist/x64/Microsoft.VC100.CRT
|
||||
xMSSDK70 :="$(_program_files32)/Microsoft SDKs/Windows/v7.0a/"
|
||||
MSSDK70 :=$(call FullPath,$(xMSSDK70))
|
||||
x_redist_sdk :=$(_vs100tools)/../../Vc/redist/x64/Microsoft.VC100.CRT
|
||||
_redist_sdk :=$(call FullPath,$(x_redist_sdk))
|
||||
# The SDK doesn't have the redist directory, but the DLL is installed
|
||||
# into the windows directory.
|
||||
ifeq ($(_redist_sdk),)
|
||||
_redist_sdk :=c:/windows/system32
|
||||
endif
|
||||
# Not currently using MSSDK7n, but maybe we can make use of it for
|
||||
# doing default location lookup to find some SDK tools that presently
|
||||
# require the developer to explicitly set the path.
|
||||
# The 7.0a path is from VS2010 Pro, the 7.1 path is the standalone SDK.
|
||||
# Either will work for us.
|
||||
# If a developer chooses to install the standalone SDK in some other
|
||||
# location, then this will fail to find it, which won't matter so long as
|
||||
# we aren't using this variable. If we do they'd still need to set the
|
||||
# ALT_MSDEVTOOLS_PATH as now.
|
||||
# %WindowsSdkDir% could be referenced instead but the SDK installer
|
||||
# doesn't set it and in the case of the VS2010 compilers,
|
||||
# you can't change this location in the installer anyway.
|
||||
xMSSDK7n :="$(_program_files32)/Microsoft SDKs/Windows/v7.0a/"
|
||||
MSSDK7n :=$(call FullPath,$(xMSSDK7n))
|
||||
ifeq ($(MSSDK7n),)
|
||||
xMSSDK7n :="$(_program_files32)/Microsoft SDKs/Windows/v7.1/"
|
||||
MSSDK7n :=$(call FullPath,$(xMSSDK7n))
|
||||
endif
|
||||
else
|
||||
xVS2008 :="$(_program_files32)/Microsoft Visual Studio 9.0/"
|
||||
VS2008 :=$(call FullPath,$(xVS2008))
|
||||
@ -355,7 +378,7 @@ ifeq ($(ARCH_DATA_MODEL), 64)
|
||||
_compiler_bin :=$(VS2008)/VC/Bin/$(ARCH)
|
||||
xMSSDK61 :="$(_program_files)/Microsoft SDKs/Windows/v6.1/"
|
||||
MSSDK61 :=$(call FullPath,$(xMSSDK61))
|
||||
_redist_sdk :=$(VS2008)/VC/redist/x86/Microsoft.VC90.CRT
|
||||
_redist_sdk :=$(VS2008)/VC/redist/x64/Microsoft.VC90.CRT
|
||||
else
|
||||
ifneq ($(_ms_sdk),)
|
||||
ifeq ($(ARCH), ia64)
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1997, 20010, 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
|
||||
@ -231,15 +231,35 @@ ifeq ($(PLATFORM), windows)
|
||||
# Temporary disk area
|
||||
TEMP_DISK=C:/temp
|
||||
# GNU Make or MKS overrides $(PROCESSOR_ARCHITECTURE) to always
|
||||
# return "x86". Use the first word of $(PROCESSOR_IDENTIFIER) instead.
|
||||
PROC_ARCH:=$(word 1, $(PROCESSOR_IDENTIFIER))
|
||||
PROC_ARCH:=$(subst x86,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(subst Intel64,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(subst em64t,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(subst EM64T,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(subst amd64,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(subst AMD64,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(subst ia64,IA64,$(PROC_ARCH))
|
||||
# return "x86". Use the first word of $(PROCESSOR_IDENTIFIER) instead.
|
||||
# And sometimes PROCESSOR_IDENTIFIER is not defined at all
|
||||
# (in some restricted shells), so we use uname if we have to.
|
||||
ifeq ($(PROCESSOR_IDENTIFIER),)
|
||||
PROC_ARCH:=$(shell uname -m)
|
||||
else
|
||||
PROC_ARCH:=$(word 1, $(PROCESSOR_IDENTIFIER))
|
||||
endif
|
||||
# Cover all the possibilities, MKS uname, CYGWIN uname, PROCESSOR_IDENTIFIER
|
||||
# Get: X86, X64, or IA64
|
||||
PROC_ARCH:=$(patsubst 386,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst 486,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst 586,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst 686,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst i386,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst i486,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst i586,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst i686,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst x86,X86,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst intel64,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst Intel64,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst INTEL64,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst em64t,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst EM64T,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst amd64,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst AMD64,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst 8664,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst x86_64,X64,$(PROC_ARCH))
|
||||
PROC_ARCH:=$(patsubst ia64,IA64,$(PROC_ARCH))
|
||||
ifndef ARCH_DATA_MODEL
|
||||
ifeq ($(PROC_ARCH),IA64)
|
||||
ARCH_DATA_MODEL=64
|
||||
|
@ -234,6 +234,7 @@ CORE_PKGS = \
|
||||
javax.xml.ws.http \
|
||||
javax.xml.ws.soap \
|
||||
javax.xml.ws.spi \
|
||||
javax.xml.ws.spi.http \
|
||||
javax.xml.ws.wsaddressing \
|
||||
javax.xml.transform \
|
||||
javax.xml.transform.sax \
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -86,5 +86,5 @@ endif
|
||||
# Things that must be linked in.
|
||||
#
|
||||
ifneq ($(PLATFORM), windows)
|
||||
OTHER_LDLIBS += $(LIBSOCKET) -lnsl $(LIBM) -ldl
|
||||
OTHER_LDLIBS += $(LIBSOCKET) $(LIBNSL) $(LIBM) -ldl
|
||||
endif
|
||||
|
@ -30,10 +30,12 @@
|
||||
#
|
||||
JAVA_JAVA_java = \
|
||||
java/lang/Object.java \
|
||||
java/lang/AutoCloseable.java \
|
||||
java/lang/Class.java \
|
||||
java/lang/Thread.java \
|
||||
java/lang/Character.java \
|
||||
java/lang/CharacterData.java \
|
||||
java/lang/CharacterName.java \
|
||||
sun/misc/ASCIICaseInsensitiveComparator.java \
|
||||
sun/misc/VM.java \
|
||||
sun/misc/Signal.java \
|
||||
|
@ -204,7 +204,7 @@ ifeq ($(PLATFORM),windows)
|
||||
OTHER_LDLIBS += $(JVMLIB) -libpath:$(OBJDIR)/../../../fdlibm/$(OBJDIRNAME) fdlibm.lib \
|
||||
-libpath:$(OBJDIR)/../../../verify/$(OBJDIRNAME) verify.lib
|
||||
else
|
||||
OTHER_LDLIBS += $(JVMLIB) -lverify $(LIBSOCKET) -lnsl -ldl \
|
||||
OTHER_LDLIBS += $(JVMLIB) -lverify $(LIBSOCKET) $(LIBNSL) -ldl \
|
||||
-L$(OBJDIR)/../../../fdlibm/$(OBJDIRNAME) -lfdlibm.$(ARCH)
|
||||
endif
|
||||
|
||||
@ -384,6 +384,27 @@ clean::
|
||||
$(RM) $(GENSRCDIR)/java/lang/CharacterDataUndefined.java
|
||||
$(RM) $(GENSRCDIR)/java/lang/CharacterDataPrivateUse.java
|
||||
|
||||
#
|
||||
# Rules to generate classes/java/lang/uniName.dat
|
||||
#
|
||||
|
||||
|
||||
|
||||
UNINAME = $(CLASSBINDIR)/java/lang/uniName.dat
|
||||
GENERATEUNINAME_JARFILE = $(BUILDTOOLJARDIR)/generatecharacter.jar
|
||||
|
||||
build: $(UNINAME)
|
||||
|
||||
$(UNINAME): $(UNICODEDATA)/UnicodeData.txt \
|
||||
$(GENERATECHARACTER_JARFILE)
|
||||
@$(prep-target)
|
||||
$(BOOT_JAVA_CMD) -classpath $(GENERATECHARACTER_JARFILE) \
|
||||
build.tools.generatecharacter.CharacterName \
|
||||
$(UNICODEDATA)/UnicodeData.txt $(UNINAME)
|
||||
|
||||
clean::
|
||||
$(RM) $(UNINAME)
|
||||
|
||||
#
|
||||
# End of rules to create $(GENSRCDIR)/java/lang/CharacterDataXX.java
|
||||
#
|
||||
|
@ -84,7 +84,7 @@ OTHER_INCLUDES = -I$(SRCDIR) \
|
||||
ifeq ($(PLATFORM), windows)
|
||||
OTHER_LDLIBS += wsock32.lib winmm.lib
|
||||
else
|
||||
OTHER_LDLIBS += $(LIBSOCKET) -lnsl -ldl
|
||||
OTHER_LDLIBS += $(LIBSOCKET) $(LIBNSL) -ldl
|
||||
endif
|
||||
|
||||
#
|
||||
|
@ -96,7 +96,7 @@ include $(BUILDDIR)/common/Library.gmk
|
||||
ifeq ($(PLATFORM), windows)
|
||||
OTHER_LDLIBS = ws2_32.lib $(JVMLIB)
|
||||
else
|
||||
OTHER_LDLIBS = $(LIBSOCKET) -lnsl -ldl $(JVMLIB)
|
||||
OTHER_LDLIBS = $(LIBSOCKET) $(LIBNSL) -ldl $(JVMLIB)
|
||||
endif
|
||||
ifeq ($(PLATFORM), linux)
|
||||
OTHER_LDLIBS += -lpthread
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1996, 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
|
||||
@ -62,6 +62,11 @@ POLICY_BUILD = $(LIBDIR)/security/java.policy
|
||||
CACERTS_SRC = $(CACERTS_FILE)
|
||||
CACERTS_BUILD = $(LIBDIR)/security/cacerts
|
||||
|
||||
ifndef OPENJDK
|
||||
BLACKLIST_SRC = $(CLOSED_SHARE_SRC)/lib/security/blacklist
|
||||
BLACKLIST_BUILD = $(LIBDIR)/security/blacklist
|
||||
endif
|
||||
|
||||
FILES_class = $(FILES_java:%.java=$(CLASSBINDIR)/%.class)
|
||||
|
||||
#
|
||||
@ -69,7 +74,11 @@ FILES_class = $(FILES_java:%.java=$(CLASSBINDIR)/%.class)
|
||||
#
|
||||
include $(BUILDDIR)/common/Rules.gmk
|
||||
|
||||
ifdef OPENJDK
|
||||
build: properties policy cacerts
|
||||
else
|
||||
build: properties policy cacerts blacklist
|
||||
endif
|
||||
|
||||
install: all
|
||||
|
||||
@ -79,6 +88,8 @@ policy: classes $(POLICY_BUILD)
|
||||
|
||||
cacerts: classes $(CACERTS_BUILD)
|
||||
|
||||
blacklist: classes $(BLACKLIST_BUILD)
|
||||
|
||||
$(PROPS_BUILD): $(PROPS_SRC)
|
||||
$(install-file)
|
||||
|
||||
@ -88,9 +99,12 @@ $(POLICY_BUILD): $(POLICY_SRC)
|
||||
$(CACERTS_BUILD): $(CACERTS_SRC)
|
||||
$(install-file)
|
||||
|
||||
$(BLACKLIST_BUILD): $(BLACKLIST_SRC)
|
||||
$(install-file)
|
||||
|
||||
clean clobber:: .delete.classlist
|
||||
$(RM) -r $(CLASSBINDIR)/java/security
|
||||
$(RM) $(PROPS_BUILD) $(POLICY_BUILD) $(CACERTS_BUILD)
|
||||
$(RM) $(PROPS_BUILD) $(POLICY_BUILD) $(CACERTS_BUILD) $(BLACKLIST_BUILD)
|
||||
|
||||
# Additional Rule for building sun.security.util
|
||||
$(CLASSBINDIR)/%.class: $(SHARE_SRC)/sun/%.java
|
||||
|
@ -25,7 +25,6 @@
|
||||
|
||||
MISC_FILES = \
|
||||
$(CLASSBINDIR)/javax/swing/text/html/default.css \
|
||||
$(CLASSBINDIR)/javax/swing/text/html/parser/html32.bdtd \
|
||||
$(CLASSBINDIR)/javax/swing/text/rtf/charsets/NeXT.txt \
|
||||
$(CLASSBINDIR)/javax/swing/text/rtf/charsets/ansi.txt \
|
||||
$(CLASSBINDIR)/javax/swing/text/rtf/charsets/cpg437.txt \
|
||||
|
@ -59,9 +59,6 @@ $(CLASSBINDIR)/%.gif: $(SHARE_SRC)/classes/%.gif
|
||||
$(CLASSBINDIR)/%.css: $(SHARE_SRC)/classes/%.css
|
||||
$(install-file)
|
||||
|
||||
$(CLASSBINDIR)/%.bdtd: $(SHARE_SRC)/classes/%.bdtd
|
||||
$(install-file)
|
||||
|
||||
$(CLASSBINDIR)/%.txt: $(SHARE_SRC)/classes/%.txt
|
||||
$(install-file)
|
||||
|
||||
|
@ -174,7 +174,7 @@ else
|
||||
|
||||
# Check CYGWIN (should have already been done)
|
||||
# Assumption here is that you are in a shell window via cygwin.
|
||||
proc_arch=`echo "$(PROCESSOR_IDENTIFIER)" | expand | cut -d' ' -f1 | sed -e 's@x86@X86@g' -e 's@Intel64@X64@g' -e 's@em64t@X64@g' -e 's@EM64T@X64@g' -e 's@amd64@X64@g' -e 's@AMD64@X64@g' -e 's@ia64@IA64@g'`
|
||||
proc_arch=`echo "${PROCESSOR_IDENTIFIER}" | expand | cut -d' ' -f1 | sed -e 's@x86@X86@g' -e 's@Intel64@X64@g' -e 's@em64t@X64@g' -e 's@EM64T@X64@g' -e 's@amd64@X64@g' -e 's@AMD64@X64@g' -e 's@ia64@IA64@g'`
|
||||
if [ "${proc_arch}" = "X64" ] ; then
|
||||
windows_arch=amd64
|
||||
else
|
||||
|
@ -38,11 +38,11 @@ FILES_m = mapfile-vers
|
||||
include $(BUILDDIR)/common/Defs.gmk
|
||||
|
||||
ifeq ($(PLATFORM), linux)
|
||||
OTHER_LDLIBS += -lnsl $(LIBSOCKET) -lpthread
|
||||
OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET) -lpthread
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM), solaris)
|
||||
OTHER_LDLIBS += -lnsl $(LIBSOCKET)
|
||||
OTHER_LDLIBS += $(LIBNSL) $(LIBSOCKET)
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM), windows)
|
||||
|
@ -46,11 +46,11 @@ nbproject:
|
||||
$(RM) -r $(DEMODIR)/nbproject
|
||||
$(MKDIR) -p $(DEMODIR)
|
||||
( $(CD) $(SHARE_SRC)/demo && $(TAR) -cf - \
|
||||
`find nbproject $(SCM_DIRS_prune) -o -type f -print` ) | \
|
||||
`$(FIND) nbproject $(SCM_DIRS_prune) -o -type f -print` ) | \
|
||||
( $(CD) $(DEMODIR) && $(TAR) -xf - )
|
||||
ifndef OPENJDK
|
||||
( $(CD) $(CLOSED_SHARE_SRC)/demo && $(TAR) -cf - \
|
||||
`find nbproject $(SCM_DIRS_prune) -o -type f -print` ) | \
|
||||
`$(FIND) nbproject $(SCM_DIRS_prune) -o -type f -print` ) | \
|
||||
( $(CD) $(DEMODIR) && $(TAR) -xf - )
|
||||
endif
|
||||
|
||||
|
@ -39,10 +39,10 @@ ifeq ($(PLATFORM), windows)
|
||||
EXTRA_LIBS += wsock32.lib winmm.lib
|
||||
endif
|
||||
ifeq ($(PLATFORM), solaris)
|
||||
OTHER_LDLIBS += $(LIBSOCKET) -lnsl -ldl
|
||||
OTHER_LDLIBS += $(LIBSOCKET) $(LIBNSL) -ldl
|
||||
endif
|
||||
ifeq ($(PLATFORM), linux)
|
||||
OTHER_LDLIBS += $(LIBSOCKET) -lnsl -ldl -lpthread
|
||||
OTHER_LDLIBS += $(LIBSOCKET) $(LIBNSL) -ldl -lpthread
|
||||
endif
|
||||
|
||||
#
|
||||
|
@ -823,6 +823,10 @@ module jar-tool {
|
||||
include sun.tools.jar.**;
|
||||
}
|
||||
|
||||
module policytool {
|
||||
include sun.security.tools.policytool.*;
|
||||
}
|
||||
|
||||
module security-tools {
|
||||
include sun.security.tools.**;
|
||||
|
||||
|
@ -204,8 +204,8 @@ Provided NetBeans projects
|
||||
note that pretty much regardless of your hardware, this *will* take
|
||||
a long time, and use *lots* of disk space (more than 3GB). The
|
||||
results of the build are in
|
||||
*install-dir*/control/build/*platform*-*arch* and
|
||||
*install-dir*/control/build/*platform*-*arch*-fastdebug.
|
||||
*install-dir*/build/*platform*-*arch* and
|
||||
*install-dir*/build/*platform*-*arch*-fastdebug.
|
||||
|
||||
Consult the project's README file for details.
|
||||
|
||||
|
@ -10,6 +10,6 @@ project code, you might prefer to build it from the command line using ant.
|
||||
Please note: the results of building this project are *not* put in the place
|
||||
used by other projects. In this case, the results are place in
|
||||
|
||||
<install-dir>/control/build/<platform>-<arch>
|
||||
<install-dir>/build/<platform>-<arch>
|
||||
and
|
||||
<install-dir>/control/build/<platform>-<arch>-fastdebug
|
||||
<install-dir>/build/<platform>-<arch>-fastdebug
|
||||
|
@ -34,11 +34,11 @@
|
||||
<import file="../common/shared.xml"/>
|
||||
|
||||
<target name="-build-make" depends="-make.init" if="use.make">
|
||||
<make-run target="dev" dir="${root}/../control/make" opts="SKIP_COMPARE_IMAGES=true"/>
|
||||
<make-run target="dev" dir="${root}/.." opts="SKIP_COMPARE_IMAGES=true"/>
|
||||
</target>
|
||||
|
||||
<target name="-clean-make" depends="-make.init" if="use.make">
|
||||
<make-run target="clean" dir="${root}/../control/make"/>
|
||||
<make-run target="clean" dir="${root}/.."/>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
@ -312,6 +312,7 @@ SUNWprivate_1.1 {
|
||||
Java_sun_awt_X11GraphicsEnvironment_initGLX;
|
||||
Java_sun_awt_X11GraphicsEnvironment_pRunningXinerama;
|
||||
Java_sun_awt_X11GraphicsEnvironment_getXineramaCenterPoint;
|
||||
Java_sun_awt_X11GraphicsEnvironment_initXRender;
|
||||
#Java_sun_awt_motif_MEmbedCanvasPeer_initXEmbedServer;
|
||||
#Java_sun_awt_motif_MEmbedCanvasPeer_destroyXEmbedServer;
|
||||
#Java_sun_awt_motif_MEmbedCanvasPeer_isXEmbedActive;
|
||||
@ -406,18 +407,53 @@ SUNWprivate_1.1 {
|
||||
Java_sun_java2d_x11_X11SurfaceData_initIDs;
|
||||
Java_sun_java2d_x11_X11SurfaceData_initOps;
|
||||
Java_sun_java2d_x11_X11SurfaceData_initSurface;
|
||||
Java_sun_java2d_x11_X11SurfaceData_isDrawableValid;
|
||||
Java_sun_java2d_x11_X11SurfaceData_isDgaAvailable;
|
||||
Java_sun_java2d_x11_X11SurfaceData_isShmPMAvailable;
|
||||
Java_sun_java2d_x11_X11SurfaceData_setInvalid;
|
||||
Java_sun_java2d_x11_X11SurfaceData_flushNativeSurface;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XCreateGC;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XResetClip;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetClip;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetCopyMode;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetXorMode;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetForeground;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetGraphicsExposures;
|
||||
|
||||
Java_sun_java2d_x11_XSurfaceData_initOps;
|
||||
Java_sun_java2d_x11_XSurfaceData_XCreateGC;
|
||||
Java_sun_java2d_x11_XSurfaceData_XResetClip;
|
||||
Java_sun_java2d_x11_XSurfaceData_XSetClip;
|
||||
Java_sun_java2d_x11_XSurfaceData_flushNativeSurface;
|
||||
Java_sun_java2d_x11_XSurfaceData_isDrawableValid;
|
||||
Java_sun_java2d_x11_XSurfaceData_setInvalid;
|
||||
Java_sun_java2d_x11_XSurfaceData_XSetGraphicsExposures;
|
||||
Java_sun_java2d_xr_XRSurfaceData_initXRPicture;
|
||||
Java_sun_java2d_xr_XRSurfaceData_initIDs;
|
||||
Java_sun_java2d_xr_XRSurfaceData_XRInitSurface;
|
||||
Java_sun_java2d_xr_XRBackendNative_initIDs;
|
||||
Java_sun_java2d_xr_XIDGenerator_bufferXIDs;
|
||||
Java_sun_java2d_xr_XRBackendNative_freeGC;
|
||||
Java_sun_java2d_xr_XRBackendNative_createGC;
|
||||
Java_sun_java2d_xr_XRBackendNative_createPixmap;
|
||||
Java_sun_java2d_xr_XRBackendNative_createPictureNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_freePicture;
|
||||
Java_sun_java2d_xr_XRBackendNative_freePixmap;
|
||||
Java_sun_java2d_xr_XRBackendNative_setPictureRepeat;
|
||||
Java_sun_java2d_xr_XRBackendNative_setGCExposures;
|
||||
Java_sun_java2d_xr_XRBackendNative_setGCForeground;
|
||||
Java_sun_java2d_xr_XRBackendNative_copyArea;
|
||||
Java_sun_java2d_xr_XRBackendNative_renderComposite;
|
||||
Java_sun_java2d_xr_XRBackendNative_renderRectangle;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRenderRectanglesNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRSetTransformNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRCreateLinearGradientPaintNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRCreateRadialGradientPaintNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_setFilter;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRSetClipNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_putMaskNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRAddGlyphsNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRFreeGlyphsNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRenderCreateGlyphSetNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRenderCompositeTextNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_setGCMode;
|
||||
Java_sun_java2d_xr_XRBackendNative_GCRectanglesNative;
|
||||
Java_sun_java2d_xr_XRUtils_initFormatPtrs;
|
||||
Java_sun_java2d_xr_XRBackendNative_renderCompositeTrapezoidsNative;
|
||||
XRT_DrawGlyphList;
|
||||
|
||||
Java_sun_java2d_opengl_OGLContext_getOGLIdString;
|
||||
Java_sun_java2d_opengl_OGLMaskFill_maskFill;
|
||||
|
@ -425,6 +425,7 @@ SUNWprivate_1.1 {
|
||||
Java_sun_awt_X11GraphicsEnvironment_initDisplay;
|
||||
Java_sun_awt_X11GraphicsEnvironment_pRunningXinerama;
|
||||
Java_sun_awt_X11GraphicsEnvironment_getXineramaCenterPoint;
|
||||
Java_sun_awt_X11GraphicsEnvironment_initXRender;
|
||||
|
||||
|
||||
|
||||
|
@ -46,17 +46,20 @@ SUNWprivate_1.1 {
|
||||
Java_sun_java2d_x11_X11Renderer_XFillRoundRect;
|
||||
Java_sun_java2d_x11_X11Renderer_devCopyArea;
|
||||
Java_sun_java2d_x11_X11SurfaceData_initIDs;
|
||||
Java_sun_java2d_x11_X11SurfaceData_initOps;
|
||||
Java_sun_java2d_x11_X11SurfaceData_isDrawableValid;
|
||||
Java_sun_java2d_x11_X11SurfaceData_initSurface;
|
||||
Java_sun_java2d_x11_X11SurfaceData_setInvalid;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XCreateGC;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XResetClip;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetClip;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetCopyMode;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetXorMode;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetForeground;
|
||||
|
||||
Java_sun_java2d_x11_XSurfaceData_initOps;
|
||||
Java_sun_java2d_x11_XSurfaceData_XCreateGC;
|
||||
Java_sun_java2d_x11_XSurfaceData_XResetClip;
|
||||
Java_sun_java2d_x11_XSurfaceData_XSetClip;
|
||||
Java_sun_java2d_x11_XSurfaceData_flushNativeSurface;
|
||||
Java_sun_java2d_x11_XSurfaceData_isDrawableValid;
|
||||
Java_sun_java2d_x11_XSurfaceData_setInvalid;
|
||||
Java_sun_java2d_x11_XSurfaceData_XSetGraphicsExposures;
|
||||
|
||||
X11SurfaceData_GetOps;
|
||||
Java_java_awt_Font_initIDs;
|
||||
Java_sun_font_FontConfigManager_getFontConfig;
|
||||
|
@ -113,7 +113,7 @@ CPPFLAGS += -I$(OPENWIN_HOME)/include \
|
||||
# Libraries to link in.
|
||||
#
|
||||
ifeq ($(PLATFORM), solaris)
|
||||
OTHER_LDLIBS = -L$(LIBDIR)/$(LIBARCH) -L$(OPENWIN_LIB) -L$(LIBDIR)/$(LIBARCH)/xawt -lmawt
|
||||
OTHER_LDLIBS = -L$(LIBDIR)/$(LIBARCH) -L$(OPENWIN_LIB) -L$(LIBDIR)/$(LIBARCH)/xawt -lmawt -L/usr/openwin/sfw/lib$(ISA_DIR) -lXrender
|
||||
endif # PLATFORM
|
||||
|
||||
ifeq ($(PLATFORM), linux)
|
||||
|
@ -37,7 +37,7 @@ PRODUCT = sun
|
||||
# This re-directs all the class files to a separate location
|
||||
CLASSDESTDIR = $(TEMPDIR)/classes
|
||||
|
||||
OTHER_JAVACFLAGS += -Xlint:serial -Werror
|
||||
OTHER_JAVACFLAGS += -Xlint:serial,-deprecation -Werror
|
||||
include $(BUILDDIR)/common/Defs.gmk
|
||||
|
||||
#
|
||||
|
@ -52,5 +52,11 @@ build: copy-files
|
||||
|
||||
copy-files: $(FILES_copy)
|
||||
|
||||
$(SERVICEDIR)/%: $(SHARE_SRC)/classes/sun/java2d/pisces/META-INF/services/%
|
||||
ifneq ($(PLATFORM), windows)
|
||||
SERVICE_SRC = $(PLATFORM_SRC)
|
||||
else
|
||||
SERVICE_SRC = $(SHARE_SRC)
|
||||
endif
|
||||
|
||||
$(SERVICEDIR)/%: $(SERVICE_SRC)/classes/sun/java2d/pisces/META-INF/services/%
|
||||
$(install-file)
|
||||
|
@ -150,6 +150,7 @@ OTHER_INCLUDES += \
|
||||
# Rules
|
||||
#
|
||||
CLASSDESTDIR = $(TEMPDIR)/classes
|
||||
JAVAHFLAGS += -classpath $(CLASSDESTDIR)
|
||||
|
||||
include $(BUILDDIR)/common/Mapfile-vers.gmk
|
||||
|
||||
|
@ -148,6 +148,7 @@ OTHER_INCLUDES += \
|
||||
# Rules
|
||||
#
|
||||
CLASSDESTDIR = $(TEMPDIR)/classes
|
||||
JAVAHFLAGS += -classpath $(CLASSDESTDIR)
|
||||
|
||||
include $(BUILDDIR)/common/Mapfile-vers.gmk
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 1997, 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
|
||||
@ -47,5 +47,5 @@ include $(BUILDDIR)/common/Classes.gmk
|
||||
|
||||
build:
|
||||
$(call make-launcher, keytool, sun.security.tools.KeyTool, , )
|
||||
$(call make-launcher, policytool, sun.security.tools.PolicyTool, , )
|
||||
$(call make-launcher, policytool, sun.security.tools.policytool.PolicyTool, , )
|
||||
|
||||
|
@ -49,7 +49,8 @@ AUTO_FILES_JAVA_DIRS = \
|
||||
|
||||
# Extra jstat files
|
||||
FILES_copy += \
|
||||
$(CLASSDESTDIR)/sun/tools/jstat/resources/jstat_options
|
||||
$(CLASSDESTDIR)/sun/tools/jstat/resources/jstat_options \
|
||||
$(CLASSDESTDIR)/sun/tools/jstat/resources/jstat_unsupported_options
|
||||
|
||||
# Extra jhat files
|
||||
JHAT_RESOURCEDIR = $(CLASSDESTDIR)/com/sun/tools/hat/resources
|
||||
|
@ -80,4 +80,6 @@ FILES_c = \
|
||||
swing_GTKEngine.c \
|
||||
swing_GTKStyle.c \
|
||||
rect.c \
|
||||
sun_awt_X11_GtkFileDialogPeer.c
|
||||
sun_awt_X11_GtkFileDialogPeer.c \
|
||||
XRSurfaceData.c \
|
||||
XRBackendNative.c
|
||||
|
@ -49,6 +49,11 @@ AUTO_JAVA_PRUNE = WrapperGenerator.java
|
||||
|
||||
LDFLAGS += -L$(OPENWIN_LIB)
|
||||
|
||||
# For Xrender extension.
|
||||
ifeq ($(PLATFORM), solaris)
|
||||
LDFLAGS += -L/usr/openwin/sfw/lib$(ISA_DIR) -R/usr/openwin/sfw/lib$(ISA_DIR)
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM), linux)
|
||||
LDFLAGS += -lpthread
|
||||
dummy := $(shell $(MKDIR) -p $(LIB_LOCATION))
|
||||
@ -88,7 +93,7 @@ vpath %.c $(SHARE_SRC)/native/sun/java2d/opengl
|
||||
vpath %.c $(PLATFORM_SRC)/native/sun/java2d/opengl
|
||||
vpath %.c $(PLATFORM_SRC)/native/sun/java2d/x11
|
||||
|
||||
OTHER_LDLIBS = $(LIBM) -lawt -lXext -lX11 -ldl \
|
||||
OTHER_LDLIBS = $(LIBM) -lawt -lXext -lX11 -lXrender -ldl \
|
||||
$(LDFLAGS_COMMON) $(AWT_RUNPATH) $(OTHER_LDFLAGS) -lXtst -lXi
|
||||
|
||||
ifeq ($(PLATFORM), solaris)
|
||||
@ -122,7 +127,7 @@ CPPFLAGS += -DXAWT -DXAWT_HACK \
|
||||
-I$(PLATFORM_SRC)/native/sun/awt/medialib \
|
||||
-I$(PLATFORM_SRC)/native/sun/font \
|
||||
-I$(SHARE_SRC)/native/sun/awt \
|
||||
-I$(PLATFORM_SRC)/native/sun/awt
|
||||
-I$(PLATFORM_SRC)/native/sun/awt
|
||||
|
||||
ifeq ($(PLATFORM), linux)
|
||||
# Allows for builds on Debian GNU Linux, X11 is in a different place
|
||||
|
@ -192,6 +192,7 @@ SUNWprivate_1.1 {
|
||||
Java_sun_font_X11FontManager_setNativeFontPath;
|
||||
Java_sun_awt_X11GraphicsEnvironment_initDisplay;
|
||||
Java_sun_awt_X11GraphicsEnvironment_initGLX;
|
||||
Java_sun_awt_X11GraphicsEnvironment_initXRender;
|
||||
Java_sun_awt_X11GraphicsEnvironment_checkShmExt;
|
||||
Java_sun_awt_X11GraphicsEnvironment_getNumScreens;
|
||||
Java_sun_awt_X11GraphicsEnvironment_getDefaultScreenNum;
|
||||
@ -355,21 +356,52 @@ SUNWprivate_1.1 {
|
||||
Java_sun_java2d_x11_X11Renderer_XFillRect;
|
||||
Java_sun_java2d_x11_X11Renderer_XFillRoundRect;
|
||||
Java_sun_java2d_x11_X11Renderer_devCopyArea;
|
||||
Java_sun_java2d_x11_X11SurfaceData_setInvalid;
|
||||
Java_sun_java2d_x11_X11SurfaceData_initIDs;
|
||||
Java_sun_java2d_x11_X11SurfaceData_isDrawableValid;
|
||||
Java_sun_java2d_x11_X11SurfaceData_isDgaAvailable;
|
||||
Java_sun_java2d_x11_X11SurfaceData_isShmPMAvailable;
|
||||
Java_sun_java2d_x11_X11SurfaceData_initOps;
|
||||
Java_sun_java2d_x11_X11SurfaceData_initSurface;
|
||||
Java_sun_java2d_x11_X11SurfaceData_flushNativeSurface;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XCreateGC;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XResetClip;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetClip;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetCopyMode;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetXorMode;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetForeground;
|
||||
Java_sun_java2d_x11_X11SurfaceData_XSetGraphicsExposures;
|
||||
|
||||
Java_sun_java2d_x11_XSurfaceData_initOps;
|
||||
Java_sun_java2d_x11_XSurfaceData_XCreateGC;
|
||||
Java_sun_java2d_x11_XSurfaceData_XResetClip;
|
||||
Java_sun_java2d_x11_XSurfaceData_XSetClip;
|
||||
Java_sun_java2d_x11_XSurfaceData_flushNativeSurface;
|
||||
Java_sun_java2d_x11_XSurfaceData_isDrawableValid;
|
||||
Java_sun_java2d_x11_XSurfaceData_setInvalid;
|
||||
Java_sun_java2d_x11_XSurfaceData_XSetGraphicsExposures;
|
||||
Java_sun_java2d_xr_XRSurfaceData_initXRPicture;
|
||||
Java_sun_java2d_xr_XRSurfaceData_initIDs;
|
||||
Java_sun_java2d_xr_XRSurfaceData_XRInitSurface;
|
||||
Java_sun_java2d_xr_XRBackendNative_initIDs;
|
||||
Java_sun_java2d_xr_XRBackendNative_freeGC;
|
||||
Java_sun_java2d_xr_XRBackendNative_createGC;
|
||||
Java_sun_java2d_xr_XRBackendNative_createPixmap;
|
||||
Java_sun_java2d_xr_XRBackendNative_createPictureNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_freePicture;
|
||||
Java_sun_java2d_xr_XRBackendNative_freePixmap;
|
||||
Java_sun_java2d_xr_XRBackendNative_setPictureRepeat;
|
||||
Java_sun_java2d_xr_XRBackendNative_setGCExposures;
|
||||
Java_sun_java2d_xr_XRBackendNative_setGCForeground;
|
||||
Java_sun_java2d_xr_XRBackendNative_copyArea;
|
||||
Java_sun_java2d_xr_XRBackendNative_renderComposite;
|
||||
Java_sun_java2d_xr_XRBackendNative_renderRectangle;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRenderRectanglesNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRSetTransformNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRCreateLinearGradientPaintNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRCreateRadialGradientPaintNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_setFilter;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRSetClipNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_putMaskNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRAddGlyphsNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRFreeGlyphsNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRenderCreateGlyphSetNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_XRenderCompositeTextNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_setGCMode;
|
||||
Java_sun_java2d_xr_XRBackendNative_GCRectanglesNative;
|
||||
Java_sun_java2d_xr_XRBackendNative_renderCompositeTrapezoidsNative;
|
||||
|
||||
Java_com_sun_java_swing_plaf_gtk_GTKEngine_native_1paint_1arrow;
|
||||
Java_com_sun_java_swing_plaf_gtk_GTKEngine_native_1paint_1box;
|
||||
@ -397,8 +429,8 @@ SUNWprivate_1.1 {
|
||||
Java_com_sun_java_swing_plaf_gtk_GTKStyle_nativeGetClassValue;
|
||||
Java_com_sun_java_swing_plaf_gtk_GTKStyle_nativeGetPangoFontName;
|
||||
|
||||
Java_sun_awt_X11_GtkFileDialogPeer_run;
|
||||
Java_sun_awt_X11_GtkFileDialogPeer_quit;
|
||||
Java_sun_awt_X11_GtkFileDialogPeer_run;
|
||||
Java_sun_awt_X11_GtkFileDialogPeer_quit;
|
||||
|
||||
Java_sun_print_CUPSPrinter_initIDs;
|
||||
Java_sun_print_CUPSPrinter_getCupsServer;
|
||||
|
1972
jdk/make/tools/UnicodeData/Scripts.txt
Normal file
1972
jdk/make/tools/UnicodeData/Scripts.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
#include FT_FREETYPE_H
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if _MSC_VER > 1400
|
||||
#if _MSC_VER > 1400 && _MSC_VER < 1600
|
||||
|
||||
/*
|
||||
* When building for Microsoft Windows, your program has a dependency
|
||||
@ -68,7 +68,7 @@
|
||||
"publicKeyToken='" _VC_ASSEMBLY_PUBLICKEYTOKEN "'\"")
|
||||
|
||||
#endif /* _M_AMD64 */
|
||||
#endif /* _MSC_VER > 1400 */
|
||||
#endif /* _MSC_VER > 1400 && _MSC_VER < 1600 */
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
#define QUOTEMACRO(x) QUOTEME(x)
|
||||
|
@ -2259,7 +2259,6 @@ com/sun/java/swing/plaf/gtk/GTKLookAndFeel$1FontLazyValue
|
||||
com/sun/java/swing/plaf/gtk/GTKLookAndFeel$2
|
||||
com/sun/java/swing/plaf/gtk/GTKLookAndFeel$3
|
||||
javax/swing/plaf/synth/SynthPanelUI
|
||||
sun/swing/plaf/synth/SynthUI
|
||||
javax/swing/plaf/synth/SynthConstants
|
||||
javax/swing/plaf/synth/SynthContext
|
||||
javax/swing/plaf/synth/SynthBorder
|
||||
@ -2271,6 +2270,7 @@ javax/swing/plaf/basic/BasicBorders$FieldBorder
|
||||
javax/swing/plaf/synth/SynthMenuBarUI
|
||||
javax/swing/plaf/synth/DefaultMenuLayout
|
||||
javax/swing/plaf/synth/SynthMenuUI
|
||||
javax/swing/plaf/synth/SynthUI
|
||||
com/sun/java/swing/plaf/gtk/GTKIconFactory
|
||||
com/sun/java/swing/plaf/gtk/GTKIconFactory$MenuArrowIcon
|
||||
com/sun/java/swing/plaf/gtk/GTKIconFactory$DelegatingIcon
|
||||
|
@ -2360,7 +2360,6 @@ com/sun/java/swing/plaf/gtk/GTKLookAndFeel$1FontLazyValue
|
||||
com/sun/java/swing/plaf/gtk/GTKLookAndFeel$2
|
||||
com/sun/java/swing/plaf/gtk/GTKLookAndFeel$3
|
||||
javax/swing/plaf/synth/SynthPanelUI
|
||||
sun/swing/plaf/synth/SynthUI
|
||||
javax/swing/plaf/synth/SynthConstants
|
||||
javax/swing/plaf/synth/SynthContext
|
||||
javax/swing/plaf/synth/SynthBorder
|
||||
@ -2373,6 +2372,7 @@ javax/swing/plaf/basic/BasicBorders$FieldBorder
|
||||
javax/swing/plaf/synth/SynthMenuBarUI
|
||||
javax/swing/plaf/synth/DefaultMenuLayout
|
||||
javax/swing/plaf/synth/SynthMenuUI
|
||||
javax/swing/plaf/synth/SynthUI
|
||||
com/sun/java/swing/plaf/gtk/GTKIconFactory
|
||||
com/sun/java/swing/plaf/gtk/GTKIconFactory$MenuArrowIcon
|
||||
com/sun/java/swing/plaf/gtk/GTKIconFactory$DelegatingIcon
|
||||
|
@ -0,0 +1,100 @@
|
||||
package build.tools.generatecharacter;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.*;
|
||||
import java.util.*;
|
||||
import java.util.zip.*;
|
||||
|
||||
public class CharacterName {
|
||||
|
||||
public static void main(String[] args) {
|
||||
FileReader reader = null;
|
||||
try {
|
||||
if (args.length != 2) {
|
||||
System.err.println("Usage: java CharacterName UniocdeData.txt uniName.dat");
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
reader = new FileReader(args[0]);
|
||||
BufferedReader bfr = new BufferedReader(reader);
|
||||
String line = null;
|
||||
|
||||
StringBuilder namePool = new StringBuilder();
|
||||
byte[] cpPoolBytes = new byte[0x100000];
|
||||
ByteBuffer cpBB = ByteBuffer.wrap(cpPoolBytes);
|
||||
int lastCp = 0;
|
||||
int cpNum = 0;
|
||||
|
||||
while ((line = bfr.readLine()) != null) {
|
||||
if (line.startsWith("#"))
|
||||
continue;
|
||||
UnicodeSpec spec = UnicodeSpec.parse(line);
|
||||
if (spec != null) {
|
||||
int cp = spec.getCodePoint();
|
||||
String name = spec.getName();
|
||||
cpNum++;
|
||||
if (name.equals("<control>") && spec.getOldName() != null) {
|
||||
if (spec.getOldName().length() != 0)
|
||||
name = spec.getOldName();
|
||||
else
|
||||
continue;
|
||||
} else if (name.startsWith("<")) {
|
||||
/*
|
||||
3400 <CJK Ideograph Extension A, First>
|
||||
4db5 <CJK Ideograph Extension A, Last>
|
||||
4e00 <CJK Ideograph, First>
|
||||
9fc3 <CJK Ideograph, Last>
|
||||
ac00 <Hangul Syllable, First>
|
||||
d7a3 <Hangul Syllable, Last>
|
||||
d800 <Non Private Use High Surrogate, First>
|
||||
db7f <Non Private Use High Surrogate, Last>
|
||||
db80 <Private Use High Surrogate, First>
|
||||
dbff <Private Use High Surrogate, Last>
|
||||
dc00 <Low Surrogate, First>
|
||||
dfff <Low Surrogate, Last>
|
||||
e000 <Private Use, First>
|
||||
f8ff <Private Use, Last>
|
||||
20000 <CJK Ideograph Extension B, First>
|
||||
2a6d6 <CJK Ideograph Extension B, Last>
|
||||
f0000 <Plane 15 Private Use, First>
|
||||
ffffd <Plane 15 Private Use, Last>
|
||||
*/
|
||||
continue;
|
||||
}
|
||||
|
||||
if (cp == lastCp + 1) {
|
||||
cpBB.put((byte)name.length());
|
||||
} else {
|
||||
cpBB.put((byte)0); // segment start flag
|
||||
cpBB.putInt((name.length() << 24) | (cp & 0xffffff));
|
||||
}
|
||||
namePool.append(name);
|
||||
lastCp = cp;
|
||||
}
|
||||
}
|
||||
|
||||
byte[] namePoolBytes = namePool.toString().getBytes("ASCII");
|
||||
int cpLen = cpBB.position();
|
||||
int total = cpLen + namePoolBytes.length;
|
||||
|
||||
DataOutputStream dos = new DataOutputStream(
|
||||
new DeflaterOutputStream(
|
||||
new FileOutputStream(args[1])));
|
||||
dos.writeInt(total); // total
|
||||
dos.writeInt(cpLen); // nameOff
|
||||
dos.write(cpPoolBytes, 0, cpLen);
|
||||
dos.write(namePoolBytes);
|
||||
dos.close();
|
||||
|
||||
} catch (Throwable e) {
|
||||
System.out.println("Unexpected exception:");
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
if (reader != null) {
|
||||
try {
|
||||
reader.close();
|
||||
} catch (Throwable ee) { ee.printStackTrace(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,214 @@
|
||||
import java.util.regex.*;
|
||||
import java.util.*;
|
||||
import java.io.*;
|
||||
|
||||
public class CharacterScript {
|
||||
|
||||
// generate the code needed for j.l.C.UnicodeScript
|
||||
static void fortest(String fmt, Object... o) {
|
||||
//System.out.printf(fmt, o);
|
||||
}
|
||||
|
||||
static void print(String fmt, Object... o) {
|
||||
System.out.printf(fmt, o);
|
||||
}
|
||||
|
||||
static void debug(String fmt, Object... o) {
|
||||
//System.out.printf(fmt, o);
|
||||
}
|
||||
|
||||
public static void main(String args[]){
|
||||
try {
|
||||
if (args.length != 1) {
|
||||
System.out.println("java CharacterScript script.txt out");
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
int i, j;
|
||||
BufferedReader sbfr = new BufferedReader(new FileReader(args[0]));
|
||||
HashMap<String,Integer> scriptMap = new HashMap<String,Integer>();
|
||||
String line = null;
|
||||
|
||||
Matcher m = Pattern.compile("(\\p{XDigit}+)(?:\\.{2}(\\p{XDigit}+))?\\s+;\\s+(\\w+)\\s+#.*").matcher("");
|
||||
|
||||
int prevS = -1;
|
||||
int prevE = -1;
|
||||
String prevN = null;
|
||||
int[][] scripts = new int[1024][3];
|
||||
int scriptSize = 0;
|
||||
|
||||
while ((line = sbfr.readLine()) != null) {
|
||||
if (line.length() <= 1 || line.charAt(0) == '#') {
|
||||
continue;
|
||||
}
|
||||
m.reset(line);
|
||||
if (m.matches()) {
|
||||
int start = Integer.parseInt(m.group(1), 16);
|
||||
int end = (m.group(2)==null)?start
|
||||
:Integer.parseInt(m.group(2), 16);
|
||||
String name = m.group(3);
|
||||
if (name.equals(prevN) && start == prevE + 1) {
|
||||
prevE = end;
|
||||
} else {
|
||||
if (prevS != -1) {
|
||||
if (scriptMap.get(prevN) == null) {
|
||||
scriptMap.put(prevN, scriptMap.size());
|
||||
}
|
||||
scripts[scriptSize][0] = prevS;
|
||||
scripts[scriptSize][1] = prevE;
|
||||
scripts[scriptSize][2] = scriptMap.get(prevN);
|
||||
scriptSize++;
|
||||
}
|
||||
debug("%x-%x\t%s%n", prevS, prevE, prevN);
|
||||
prevS = start; prevE = end; prevN = name;
|
||||
}
|
||||
} else {
|
||||
debug("Warning: Unrecognized line <%s>%n", line);
|
||||
}
|
||||
}
|
||||
|
||||
//last one.
|
||||
if (scriptMap.get(prevN) == null) {
|
||||
scriptMap.put(prevN, scriptMap.size());
|
||||
}
|
||||
scripts[scriptSize][0] = prevS;
|
||||
scripts[scriptSize][1] = prevE;
|
||||
scripts[scriptSize][2] = scriptMap.get(prevN);
|
||||
scriptSize++;
|
||||
|
||||
debug("%x-%x\t%s%n", prevS, prevE, prevN);
|
||||
debug("-----------------%n");
|
||||
debug("Total scripts=%s%n", scriptMap.size());
|
||||
debug("-----------------%n%n");
|
||||
|
||||
String[] names = new String[scriptMap.size()];
|
||||
for (String name: scriptMap.keySet()) {
|
||||
names[scriptMap.get(name).intValue()] = name;
|
||||
}
|
||||
|
||||
for (j = 0; j < scriptSize; j++) {
|
||||
for (int cp = scripts[j][0]; cp <= scripts[j][1]; cp++) {
|
||||
String name = names[scripts[j][2]].toUpperCase(Locale.ENGLISH);;
|
||||
if (cp > 0xffff)
|
||||
System.out.printf("%05X %s%n", cp, name);
|
||||
else
|
||||
System.out.printf("%05X %s%n", cp, name);
|
||||
}
|
||||
}
|
||||
|
||||
Arrays.sort(scripts, 0, scriptSize,
|
||||
new Comparator<int[]>() {
|
||||
public int compare(int[] a1, int[] a2) {
|
||||
return a1[0] - a2[0];
|
||||
}
|
||||
public boolean compare(Object obj) {
|
||||
return obj == this;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
// Consolidation: there are lots of "reserved" code points
|
||||
// embedded in those otherwise "sequential" blocks.
|
||||
// To make the lookup table smaller, we combine those
|
||||
// separated segments with the assumption that the lookup
|
||||
// implementation checks
|
||||
// Character.getType() != Character.UNASSIGNED
|
||||
// first (return UNKNOWN for unassigned)
|
||||
|
||||
ArrayList<int[]> list = new ArrayList();
|
||||
list.add(scripts[0]);
|
||||
|
||||
int[] last = scripts[0];
|
||||
for (i = 1; i < scriptSize; i++) {
|
||||
if (scripts[i][0] != (last[1] + 1)) {
|
||||
|
||||
boolean isNotUnassigned = false;
|
||||
for (int cp = last[1] + 1; cp < scripts[i][0]; cp++) {
|
||||
if (Character.getType(cp) != Character.UNASSIGNED) {
|
||||
isNotUnassigned = true;
|
||||
debug("Warning: [%x] is ASSIGNED but in NON script%n", cp);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (isNotUnassigned) {
|
||||
// surrogates only?
|
||||
int[] a = new int[3];
|
||||
a[0] = last[1] + 1;
|
||||
a[1] = scripts[i][0] - 1;
|
||||
a[2] = -1; // unknown
|
||||
list.add(a);
|
||||
} else {
|
||||
if (last[2] == scripts[i][2]) {
|
||||
//combine
|
||||
last[1] = scripts[i][1];
|
||||
continue;
|
||||
} else {
|
||||
// expand last
|
||||
last[1] = scripts[i][0] - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
list.add(scripts[i]);
|
||||
last = scripts[i];
|
||||
}
|
||||
|
||||
for (i = 0; i < list.size(); i++) {
|
||||
int[] a = (int[])list.get(i);
|
||||
String name = "UNKNOWN";
|
||||
if (a[2] != -1)
|
||||
name = names[a[2]].toUpperCase(Locale.US);
|
||||
debug("0x%05x, 0x%05x %s%n", a[0], a[1], name);
|
||||
}
|
||||
debug("--->total=%d%n", list.size());
|
||||
|
||||
|
||||
//////////////////OUTPUT//////////////////////////////////
|
||||
print("public class Scripts {%n%n");
|
||||
print(" public static enum UnicodeScript {%n");
|
||||
for (i = 0; i < names.length; i++) {
|
||||
print(" /**%n * Unicode script \"%s\".%n */%n", names[i]);
|
||||
print(" %s,%n%n", names[i].toUpperCase(Locale.US));
|
||||
}
|
||||
print(" /**%n * Unicode script \"Unknown\".%n */%n UNKNOWN;%n%n");
|
||||
|
||||
|
||||
// lookup table
|
||||
print(" private static final int[] scriptStarts = {%n");
|
||||
for (int[] a : list) {
|
||||
String name = "UNKNOWN";
|
||||
if (a[2] != -1)
|
||||
name = names[a[2]].toUpperCase(Locale.US);
|
||||
if (a[0] < 0x10000)
|
||||
print(" 0x%04X, // %04X..%04X; %s%n",
|
||||
a[0], a[0], a[1], name);
|
||||
else
|
||||
print(" 0x%05X, // %05X..%05X; %s%n",
|
||||
a[0], a[0], a[1], name);
|
||||
}
|
||||
last = list.get(list.size() -1);
|
||||
if (last[1] != Character.MAX_CODE_POINT)
|
||||
print(" 0x%05X // %05X..%06X; %s%n",
|
||||
last[1] + 1, last[1] + 1, Character.MAX_CODE_POINT,
|
||||
"UNKNOWN");
|
||||
print("%n };%n%n");
|
||||
|
||||
print(" private static final UnicodeScript[] scripts = {%n");
|
||||
for (int[] a : list) {
|
||||
String name = "UNKNOWN";
|
||||
if (a[2] != -1)
|
||||
name = names[a[2]].toUpperCase(Locale.US);
|
||||
print(" %s,%n", name);
|
||||
}
|
||||
|
||||
if (last[1] != Character.MAX_CODE_POINT)
|
||||
print(" UNKNOWN%n");
|
||||
print(" };%n");
|
||||
print(" }%n");
|
||||
print("}%n");
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
@ -35,6 +35,8 @@ import java.io.BufferedWriter;
|
||||
import java.io.FileWriter;
|
||||
import java.io.File;
|
||||
|
||||
import build.tools.generatecharacter.CharacterName;
|
||||
|
||||
/**
|
||||
* This program generates the source code for the class java.lang.Character.
|
||||
* It also generates native C code that can perform the same operations.
|
||||
|
@ -28,7 +28,6 @@
|
||||
* combine with an argument list of files and directories, and
|
||||
* write a list of items to be included in a jar file.
|
||||
*/
|
||||
|
||||
package build.tools.jarreorder;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
@ -36,74 +35,68 @@ import java.io.File;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.FileReader;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
import java.util.Vector;
|
||||
import java.io.PrintStream;
|
||||
import java.io.FileOutputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
public class JarReorder {
|
||||
|
||||
// To deal with output
|
||||
private static PrintStream out;
|
||||
private PrintStream out;
|
||||
|
||||
private final static boolean useTopDir = false;
|
||||
|
||||
private static void usage() {
|
||||
private void usage() {
|
||||
String help;
|
||||
help =
|
||||
"Usage: jar JarReorder [-o <outputfile>] <order_list> <exclude_list> <file> ...\n"
|
||||
+ " order_list is a file containing names of files to load\n"
|
||||
+ " in order at the end of a jar file.\n"
|
||||
+ " exclude_list is a file containing names of files/directories\n"
|
||||
+ " NOT to be included in a jar file.\n";
|
||||
if (useTopDir)
|
||||
help +=
|
||||
" top_dir is the top of the directory structure to be searched;\n"
|
||||
+ " the contents of the lists and remaining arguments are\n"
|
||||
+ " relative to this.\n";
|
||||
help +=
|
||||
"\n"
|
||||
+ "The order_list or exclude_list may be replaced by a \"_\" if no\n"
|
||||
+ "data is to be provided.\n"
|
||||
+ "\n"
|
||||
+ " The remaining arguments are files or directories to be included\n"
|
||||
+ " in a jar file, from which will be excluded thse entries which\n"
|
||||
+ " appear in the exclude list.\n";
|
||||
"Usage: jar JarReorder [-o <outputfile>] <order_list> <exclude_list> <file> ...\n"
|
||||
+ " order_list is a file containing names of files to load\n"
|
||||
+ " in order at the end of a jar file unless\n"
|
||||
+ " excluded in the exclude list.\n"
|
||||
+ " exclude_list is a file containing names of files/directories\n"
|
||||
+ " NOT to be included in a jar file.\n"
|
||||
+ "\n"
|
||||
+ "The order_list or exclude_list may be replaced by a \"-\" if no\n"
|
||||
+ "data is to be provided.\n"
|
||||
+ "\n"
|
||||
+ " The remaining arguments are files or directories to be included\n"
|
||||
+ " in a jar file, from which will be excluded those entries which\n"
|
||||
+ " appear in the exclude list.\n";
|
||||
System.err.println(help);
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Create a list of files to be included in a jar file, such that the
|
||||
* some the files will appear in a specific order, and allowing certain
|
||||
* Create the file list to be included in a jar file, such that the
|
||||
* list will appear in a specific order, and allowing certain
|
||||
* files and directories to be excluded.
|
||||
*
|
||||
* Command line arguments are
|
||||
* Command path arguments are
|
||||
* - optional -o outputfile
|
||||
* - name of a file containing a list of files to be included in a jar file.
|
||||
* - name of a file containing a list of files (or directories) to be
|
||||
* - name of a file containing a set of files to be included in a jar file.
|
||||
* - name of a file containing a set of files (or directories) to be
|
||||
* excluded from the jar file.
|
||||
* - names of files or directories to be searched for files to include
|
||||
* in the jar file.
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
JarReorder jr = new JarReorder();
|
||||
jr.run(args);
|
||||
}
|
||||
|
||||
private void run(String args[]) {
|
||||
|
||||
HashMap filesExcluded = new HashMap();
|
||||
Vector filesIncluded = new Vector();
|
||||
int fileArgs;
|
||||
String topDirName = "";
|
||||
int arglen = args.length;
|
||||
int argpos = 0;
|
||||
|
||||
// Look for "-o outputfilename" option
|
||||
if ( arglen > 0 ) {
|
||||
if ( arglen >= 2 && args[0].equals("-o") ) {
|
||||
if (arglen > 0) {
|
||||
if (arglen >= 2 && args[0].equals("-o")) {
|
||||
try {
|
||||
out = new PrintStream(new FileOutputStream(args[1]));
|
||||
} catch ( FileNotFoundException e ) {
|
||||
} catch (FileNotFoundException e) {
|
||||
System.err.println("Error: " + e.getMessage());
|
||||
e.printStackTrace(System.err);
|
||||
System.exit(1);
|
||||
@ -118,128 +111,111 @@ public class JarReorder {
|
||||
out = System.out;
|
||||
}
|
||||
|
||||
fileArgs = useTopDir ? 3 : 2;
|
||||
|
||||
if (arglen <= fileArgs) {
|
||||
// Should be 2 or more args left
|
||||
if (arglen <= 2) {
|
||||
usage();
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
// Read the ordered list of files to be included in rt.jar.
|
||||
// Read the list of files/directories to be excluded from rt.jar.
|
||||
// Read the ordered set of files to be included in rt.jar.
|
||||
// Read the set of files/directories to be excluded from rt.jar.
|
||||
String classListFile = args[argpos];
|
||||
String excludeListFile = args[argpos + 1];
|
||||
argpos += 2;
|
||||
arglen -= 2;
|
||||
|
||||
Vector orderList = readListFromFile(args[argpos], true);
|
||||
Vector excludeList = readListFromFile(args[argpos+1], false);
|
||||
if (useTopDir) {
|
||||
topDirName = args[argpos+2];
|
||||
if (!topDirName.endsWith(File.separator))
|
||||
topDirName = topDirName + File.separator;
|
||||
}
|
||||
// Create 2 lists and a set of processed files
|
||||
List<String> orderList = readListFromFile(classListFile, true);
|
||||
List<String> excludeList = readListFromFile(excludeListFile, false);
|
||||
Set<String> processed = new HashSet<String>();
|
||||
|
||||
// Copy these lists into filesExcluded so that these files will be excluded
|
||||
// from the file list. (The orderList files will be appended later.)
|
||||
// Create set of all files and directories excluded, then expand
|
||||
// that list completely
|
||||
Set<String> excludeSet = new HashSet<String>(excludeList);
|
||||
Set<String> allFilesExcluded = expand(null, excludeSet, processed);
|
||||
|
||||
for (int i = 0; i < orderList.size(); ++i) {
|
||||
String s = (String) orderList.elementAt(i);
|
||||
filesExcluded.put(s, s);
|
||||
}
|
||||
for (int i = 0; i < excludeList.size(); ++i) {
|
||||
String s = (String) excludeList.elementAt(i);
|
||||
filesExcluded.put(s, s);
|
||||
}
|
||||
// Indicate all these have been processed, orderList too, kept to end.
|
||||
processed.addAll(orderList);
|
||||
|
||||
// The remaining arguments are names of files/directories to be included
|
||||
// in the jar file.
|
||||
|
||||
String[] files = new String[arglen - fileArgs];
|
||||
for (int i = fileArgs; i < arglen; ++i) {
|
||||
files[i-fileArgs] = args[argpos+i];
|
||||
filesExcluded.put(args[argpos+i], args[argpos+i]);
|
||||
Set<String> inputSet = new HashSet<String>();
|
||||
for (int i = 0; i < arglen; ++i) {
|
||||
String name = args[argpos + i];
|
||||
name = cleanPath(new File(name));
|
||||
if ( name != null && name.length() > 0 && !inputSet.contains(name) ) {
|
||||
inputSet.add(name);
|
||||
}
|
||||
}
|
||||
|
||||
// Expand file/directory list to file list excluding those
|
||||
// read from the class list.
|
||||
// Expand file/directory input so we get a complete set (except ordered)
|
||||
// Should be everything not excluded and not in order list.
|
||||
Set<String> allFilesIncluded = expand(null, inputSet, processed);
|
||||
|
||||
if (useTopDir)
|
||||
expand(new File(topDirName), files, filesIncluded, filesExcluded, topDirName);
|
||||
else
|
||||
expand(null, files, filesIncluded, filesExcluded, null);
|
||||
// Create simple sorted list so we can add ordered items at end.
|
||||
List<String> allFiles = new ArrayList<String>(allFilesIncluded);
|
||||
Collections.sort(allFiles);
|
||||
|
||||
// Now add the ordered list to the end of the expanded list.
|
||||
// Now add the ordered set to the end of the list.
|
||||
// Add in REVERSE ORDER, so that the first element is closest to
|
||||
// the end (and the index).
|
||||
|
||||
HashSet excludeSet = new HashSet(excludeList);
|
||||
for (int i = orderList.size() - 1; i >= 0; --i) {
|
||||
String s = (String) orderList.elementAt(i);
|
||||
if (excludeSet.contains(s)) {
|
||||
System.err.println("Included file " + s + " is also excluded, skipping.");
|
||||
continue;
|
||||
String s = orderList.get(i);
|
||||
if (allFilesExcluded.contains(s)) {
|
||||
System.err.println("Included order file " + s
|
||||
+ " is also excluded, skipping.");
|
||||
} else if (new File(s).exists()) {
|
||||
allFiles.add(s);
|
||||
} else {
|
||||
System.err.println("Included order file " + s
|
||||
+ " missing, skipping.");
|
||||
}
|
||||
if (new File(topDirName + s).exists())
|
||||
filesIncluded.addElement(s);
|
||||
else
|
||||
System.err.println("Included file "+s+" missing, skipping.");
|
||||
}
|
||||
|
||||
// Print results.
|
||||
|
||||
for (int i = 0; i < filesIncluded.size(); ++i) {
|
||||
if (useTopDir) {
|
||||
out.print("-C ");
|
||||
out.print(topDirName);
|
||||
out.print(" ");
|
||||
}
|
||||
out.println((String)filesIncluded.elementAt(i));
|
||||
// Print final results.
|
||||
for (String str : allFiles) {
|
||||
out.println(str);
|
||||
}
|
||||
|
||||
out.flush();
|
||||
out.close();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Read a file containing a list of files into a Vector.
|
||||
* Read a file containing a list of files and directories into a List.
|
||||
*/
|
||||
private static Vector readListFromFile(String fileName,
|
||||
boolean addClassSuffix) {
|
||||
private List<String> readListFromFile(String fileName,
|
||||
boolean addClassSuffix) {
|
||||
|
||||
BufferedReader br = null;
|
||||
Vector v = new Vector(2000);
|
||||
|
||||
if ("-".equals(fileName))
|
||||
return v;
|
||||
|
||||
List<String> list = new ArrayList<String>();
|
||||
// If you see "-" for the name, just assume nothing was provided.
|
||||
if ("-".equals(fileName)) {
|
||||
return list;
|
||||
}
|
||||
try {
|
||||
br = new BufferedReader(new FileReader(fileName));
|
||||
|
||||
// Read the input file a line at a time. # in column 1 is a comment.
|
||||
|
||||
// Read the input file a path at a time. # in column 1 is a comment.
|
||||
while (true) {
|
||||
String line = null;
|
||||
line = br.readLine();
|
||||
|
||||
if (line == null)
|
||||
String path = br.readLine();
|
||||
if (path == null) {
|
||||
break;
|
||||
|
||||
if (line.length() == 0 ||
|
||||
line.charAt(0) == '#')
|
||||
continue;
|
||||
|
||||
// Convert forward or back slashes to the type expected for
|
||||
// the current platform.
|
||||
|
||||
if (File.separatorChar == '/')
|
||||
line = line.replace('\\', '/');
|
||||
else
|
||||
line = line.replace('/', '\\');
|
||||
|
||||
line = line.trim();
|
||||
if (addClassSuffix) {
|
||||
if (!line.endsWith(".class")) {
|
||||
line = line + ".class";
|
||||
}
|
||||
}
|
||||
v.addElement(line);
|
||||
// Look for comments
|
||||
path = path.trim();
|
||||
if (path.length() == 0
|
||||
|| path.charAt(0) == '#') {
|
||||
continue;
|
||||
}
|
||||
// Add trailing .class if necessary
|
||||
if (addClassSuffix && !path.endsWith(".class")) {
|
||||
path = path + ".class";
|
||||
}
|
||||
// Normalize the path
|
||||
path = cleanPath(new File(path));
|
||||
// Add to list
|
||||
if (path != null && path.length() > 0 && !list.contains(path)) {
|
||||
list.add(path);
|
||||
}
|
||||
}
|
||||
br.close();
|
||||
} catch (FileNotFoundException e) {
|
||||
@ -249,68 +225,89 @@ public class JarReorder {
|
||||
e.printStackTrace();
|
||||
System.exit(2);
|
||||
}
|
||||
return v;
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Expands list of files to process into full list of all files that
|
||||
* Expands inputSet (files or dirs) into full set of all files that
|
||||
* can be found by recursively descending directories.
|
||||
* @param dir root directory
|
||||
* @param inputSet set of files or dirs to look into
|
||||
* @param processed files or dirs already processed
|
||||
* @return set of files
|
||||
*/
|
||||
private static void expand(File dir, String[] files,
|
||||
Vector includedFiles, HashMap excludedFiles,
|
||||
String topDirName) {
|
||||
if (files == null) {
|
||||
return;
|
||||
private Set<String> expand(File dir,
|
||||
Set<String> inputSet,
|
||||
Set<String> processed) {
|
||||
Set<String> includedFiles = new HashSet<String>();
|
||||
if (inputSet.isEmpty()) {
|
||||
return includedFiles;
|
||||
}
|
||||
for (int i = 0; i < files.length; i++) {
|
||||
File f = (dir == null) ? new File(files[i])
|
||||
: new File(dir, files[i]);
|
||||
if (f.isFile()) {
|
||||
String filePath = f.getPath();
|
||||
|
||||
if (useTopDir) {
|
||||
if (filePath.startsWith(topDirName))
|
||||
filePath = filePath.substring(topDirName.length());
|
||||
}
|
||||
|
||||
if (filePath.length() >= 2 &&
|
||||
filePath.charAt(0) == '.' &&
|
||||
filePath.charAt(1) == File.separatorChar)
|
||||
filePath = filePath.substring(2);
|
||||
|
||||
if (!excludedFiles.containsKey(filePath)) {
|
||||
excludedFiles.put(filePath, filePath);
|
||||
includedFiles.addElement(filePath);
|
||||
}
|
||||
} else if (f.isDirectory()) {
|
||||
String dirPath = f.getPath();
|
||||
dirPath = (dirPath.endsWith(File.separator)) ? dirPath :
|
||||
(dirPath + File.separator);
|
||||
|
||||
if (useTopDir) {
|
||||
if (dirPath.startsWith(topDirName))
|
||||
dirPath = dirPath.substring(topDirName.length());
|
||||
}
|
||||
|
||||
if (dirPath.length() >= 2 &&
|
||||
dirPath.charAt(0) == '.' &&
|
||||
dirPath.charAt(1) == File.separatorChar)
|
||||
dirPath = dirPath.substring(2);
|
||||
|
||||
if (!excludedFiles.containsKey(dirPath)) {
|
||||
|
||||
// Sort the directory list so that entries in the jar file
|
||||
// are in a repeatable order. The order itself is not particularly
|
||||
// important. [File.list() is unpredictable.]
|
||||
|
||||
for (String name : inputSet) {
|
||||
// Depending on start location
|
||||
File f = (dir == null) ? new File(name)
|
||||
: new File(dir, name);
|
||||
// Normalized path to use
|
||||
String path = cleanPath(f);
|
||||
if (path != null && path.length() > 0
|
||||
&& !processed.contains(path)) {
|
||||
if (f.isFile()) {
|
||||
// Not in the excludeList, add it to both lists
|
||||
includedFiles.add(path);
|
||||
processed.add(path);
|
||||
} else if (f.isDirectory()) {
|
||||
// Add the directory entries
|
||||
String[] dirList = f.list();
|
||||
Arrays.sort(dirList);
|
||||
expand(f, dirList, includedFiles, excludedFiles, topDirName);
|
||||
Set<String> dirInputSet = new HashSet<String>();
|
||||
for (String x : dirList) {
|
||||
dirInputSet.add(x);
|
||||
}
|
||||
// Process all entries in this directory
|
||||
Set<String> subList = expand(f, dirInputSet, processed);
|
||||
includedFiles.addAll(subList);
|
||||
processed.add(path);
|
||||
}
|
||||
} else {
|
||||
System.err.println("Error accessing: " + f.getPath());
|
||||
}
|
||||
}
|
||||
return includedFiles;
|
||||
}
|
||||
|
||||
private String cleanPath(File f) {
|
||||
String path = f.getPath();
|
||||
if (f.isFile()) {
|
||||
path = cleanFilePath(path);
|
||||
} else if (f.isDirectory()) {
|
||||
path = cleanDirPath(path);
|
||||
} else {
|
||||
System.err.println("WARNING: Path does not exist as file or directory: " + path);
|
||||
path = null;
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
private String cleanFilePath(String path) {
|
||||
// Remove leading and trailing whitespace
|
||||
path = path.trim();
|
||||
// Make all / and \ chars one
|
||||
if (File.separatorChar == '/') {
|
||||
path = path.replace('\\', '/');
|
||||
} else {
|
||||
path = path.replace('/', '\\');
|
||||
}
|
||||
// Remove leading ./
|
||||
if (path.startsWith("." + File.separator)) {
|
||||
path = path.substring(2);
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
private String cleanDirPath(String path) {
|
||||
path = cleanFilePath(path);
|
||||
// Make sure it ends with a file separator
|
||||
if (!path.endsWith(File.separator)) {
|
||||
path = path + File.separator;
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1995, 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
|
||||
@ -19,12 +19,11 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH appletviewer 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH appletviewer 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "Name"
|
||||
appletviewer \- The Java Applet Viewer
|
||||
appletviewer \- The Java Applet Viewer.
|
||||
.LP
|
||||
.RS 3
|
||||
|
||||
@ -74,6 +73,4 @@ Passes through the string \f2javaoption\fP as a single argument to the Java inte
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 2004, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH apt 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH apt 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "NAME"
|
||||
@ -124,6 +123,4 @@ javac(1), java(1)
|
||||
.RE
|
||||
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1998, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH extcheck 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH extcheck 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "Name"
|
||||
@ -83,6 +82,4 @@ Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the
|
||||
.LP
|
||||
jar(1)
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2001-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 2001, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH idlj 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH idlj 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "Name"
|
||||
@ -508,6 +507,4 @@ No import generated for global identifiers. If you invoke on an unexported local
|
||||
.RE
|
||||
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1995, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH appletviewer 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH appletviewer 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -74,6 +73,4 @@ Java デバッガ jdb(1) でアプレットビューアを開始します。 こ
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 2004, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH apt 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH apt 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "NAME"
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1998, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH extcheck 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH extcheck 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -83,6 +82,4 @@ Java 仮想マシンに \f2option\fP を渡します。 \f2option\fP には、ja
|
||||
.LP
|
||||
jar(1)
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2001-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 2001, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH idlj 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH idlj 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -507,6 +506,4 @@ o
|
||||
.RE
|
||||
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1997, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH jar 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH jar 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -205,7 +204,7 @@ jar ファイルから個別のファイルを抽出する場合は、そのフ
|
||||
|
||||
.LP
|
||||
.LP
|
||||
Java 2 SDK のバージョン 1.3 以降から、\f2jar\fP ユーティリティーで
|
||||
JDK のバージョン 1.3 以降から、\f2jar\fP ユーティリティーで
|
||||
.na
|
||||
\f2JarIndex\fP @
|
||||
.fi
|
||||
@ -717,6 +716,4 @@ http://java.sun.com/docs/books/tutorial/jar (Java Software の Web サイト内)
|
||||
.br
|
||||
|
||||
.LP
|
||||
pack200(1)
|
||||
.LP
|
||||
|
||||
pack200(1)
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1998, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH jarsigner 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH jarsigner 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -504,7 +503,7 @@ o
|
||||
.nr 44 \n(83+(3*\n(38)
|
||||
.nr 84 +\n(44
|
||||
.nr TW \n(84
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 186 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 185 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -1616,6 +1615,4 @@ http://java.sun.com/docs/books/tutorial/security/index.htmlを参照
|
||||
.RE
|
||||
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1994, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH java 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH java 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -315,19 +314,19 @@ JAR ファイルの場合は通常、バージョン要件をコマンド行に
|
||||
バックグラウンドコンパイルを無効にします。通常、VM では、バックグラウンドコンパイルが終了するまで、メソッドをバックグラウンドタスクとしてコンパイルし、インタプリタモードでメソッドを実行します。\f2\-Xbatch\fP フラグを指定すると、バックグラウンドコンパイルが無効になり、すべてのメソッドのコンパイルが完了するまでフォアグラウンドタスクとして処理されます。
|
||||
.TP 3
|
||||
\-Xbootclasspath:bootclasspath
|
||||
ブートクラスファイルを探すディレクトリ、JAR アーカイブ、および ZIP アーカイブをコロンで区切ったリストで指定します。指定したパスに存在するブートクラスファイルが、Java 2 SDK に含まれるブートクラスファイルの代わりに使用されます。\f2注: rt.jar 内のクラスをオーバーライドする目的でこのオプションを使用するアプリケーションは、システムに配置しないでください。Java 2 Runtime Environment バイナリコードライセンス違反になります。\fP
|
||||
ブートクラスファイルを探すディレクトリ、JAR アーカイブ、および ZIP アーカイブをコロンで区切ったリストで指定します。指定したパスに存在するブートクラスファイルが、JDK に含まれるブートクラスファイルの代わりに使用されます。\f2注: rt.jar 内のクラスをオーバーライドする目的でこのオプションを使用するアプリケーションは、システムに配置しないでください。Java Runtime Environment バイナリコードライセンス違反になります。\fP
|
||||
.TP 3
|
||||
\-Xbootclasspath/a:path
|
||||
ディレクトリ、JAR アーカイブ、および ZIP アーカイブのパスをコロンで区切って指定します。 パスはデフォルトのブートストラップクラスパスのあとに追加されます。
|
||||
.TP 3
|
||||
\-Xbootclasspath/p:path
|
||||
ディレクトリ、JAR アーカイブ、および ZIP アーカイブのパスをコロンで区切って指定します。 パスはデフォルトのブートストラップクラスパスの前に追加されます。\f2注 rt.jar 内のクラスをオーバーライドする目的でこのオプションを使用するアプリケーションは、システムに配置しないでください。Java 2 Runtime Environment バイナリコードライセンス違反になります。\fP
|
||||
ディレクトリ、JAR アーカイブ、および ZIP アーカイブのパスをコロンで区切って指定します。 パスはデフォルトのブートストラップクラスパスの前に追加されます。\f2注 rt.jar 内のクラスをオーバーライドする目的でこのオプションを使用するアプリケーションは、システムに配置しないでください。Java Runtime Environment バイナリコードライセンス違反になります。\fP
|
||||
.TP 3
|
||||
\-Xcheck:jni
|
||||
Java Native Interface (JNI) 機能に対して追加チェックを行います。具体的には、Java 仮想マシンは JNI 要求を処理する前に、JNI 関数に渡されるパラメータと、実行環境のデータを検証します。無効なデータが見つかった場合は、ネイティブコードに問題があることを示しているため、Java 仮想マシンは致命的エラーを発生して終了します。このオプションを使用すると、パフォーマンス低下が予想されます。
|
||||
.TP 3
|
||||
\-Xfuture
|
||||
クラスとファイルの形式を厳密にチェックします。下位互換性を保つため、Java 2 SDK の仮想マシンが実行するデフォルトの形式チェックは、JDK ソフトウェアのバージョン 1.1.x が実行するチェックと同程度の厳密さになっています。\f3\-Xfuture\fP フラグを指定すると、クラスファイル形式の仕様への準拠を強化するためのより厳密なチェックが有効になります。Java アプリケーション起動ツールの将来のリリースでは、より厳密なチェックがデフォルトになるため、新しいコードを開発するときにはこのフラグを使用することをお勧めします。
|
||||
クラスとファイルの形式を厳密にチェックします。下位互換性を保つため、JDK の仮想マシンが実行するデフォルトの形式チェックは、JDK ソフトウェアのバージョン 1.1.x が実行するチェックと同程度の厳密さになっています。\f3\-Xfuture\fP フラグを指定すると、クラスファイル形式の仕様への準拠を強化するためのより厳密なチェックが有効になります。Java アプリケーション起動ツールの将来のリリースでは、より厳密なチェックがデフォルトになるため、新しいコードを開発するときにはこのフラグを使用することをお勧めします。
|
||||
.TP 3
|
||||
\-Xnoclassgc
|
||||
クラスのガベージコレクションを無効にします。このオプションを使用すると、ロード済みクラスからメモリーが回復されることがなくなるため、全体的なメモリー使用量が増大します。この場合、アプリケーションによっては OutOfMemoryError がスローされる可能性があります。
|
||||
@ -503,6 +502,4 @@ http://java.sun.com/docs/hotspot/VMOptions.html
|
||||
.RE
|
||||
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1994, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH javac 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH javac 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -960,6 +959,4 @@ http://java.sun.com/javase/6/docs/technotes/guides/extensions/index.html
|
||||
.RE
|
||||
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1994, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH javadoc 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH javadoc 1 "02 Jun 2010"
|
||||
.SH "名前"
|
||||
javadoc \- Java API ドキュメントジェネレータ
|
||||
.RS 3
|
||||
@ -395,7 +394,7 @@ package java.lang.applet;
|
||||
.nr 40 \n(79+(0*\n(38)
|
||||
.nr 80 +\n(40
|
||||
.nr TW \n(80
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 353 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 352 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -529,7 +528,7 @@ initialize, start, and stop the applet.
|
||||
.nr 40 \n(79+(0*\n(38)
|
||||
.nr 80 +\n(40
|
||||
.nr TW \n(80
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 406 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 405 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -1374,7 +1373,7 @@ http://java.sun.com/j2se/javadoc/proposed\-tags.htmlを参照してください
|
||||
.nr 41 \n(80+(3*\n(38)
|
||||
.nr 81 +\n(41
|
||||
.nr TW \n(81
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 1125 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 1124 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -2309,7 +2308,7 @@ equals
|
||||
.nr 40 \n(79+(0*\n(38)
|
||||
.nr 80 +\n(40
|
||||
.nr TW \n(80
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 1861 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 1860 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -2677,7 +2676,7 @@ Javadoc ツールは、必ずしもサブクラスを検索するとは限りま
|
||||
.nr 42 \n(81+(3*\n(38)
|
||||
.nr 82 +\n(42
|
||||
.nr TW \n(82
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 1959 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 1958 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -3180,7 +3179,7 @@ http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@versionを参照
|
||||
.nr 40 \n(79+(0*\n(38)
|
||||
.nr 80 +\n(40
|
||||
.nr TW \n(80
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2280 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2279 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -3301,7 +3300,7 @@ http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@versionを参照
|
||||
.nr 40 \n(79+(0*\n(38)
|
||||
.nr 80 +\n(40
|
||||
.nr TW \n(80
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2316 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2315 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -3440,7 +3439,7 @@ http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@versionを参照
|
||||
.nr 40 \n(79+(0*\n(38)
|
||||
.nr 80 +\n(40
|
||||
.nr TW \n(80
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2356 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2355 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -3619,7 +3618,7 @@ class Window extends BaseWindow {
|
||||
.nr 40 \n(79+(0*\n(38)
|
||||
.nr 80 +\n(40
|
||||
.nr TW \n(80
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2437 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2436 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -3785,7 +3784,7 @@ class Window extends BaseWindow {
|
||||
.nr 40 \n(79+(0*\n(38)
|
||||
.nr 80 +\n(40
|
||||
.nr TW \n(80
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2504 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2503 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -4102,7 +4101,7 @@ javadoc ツールは、ドックレットを使って出力を決定します。
|
||||
.nr 42 \n(81+(3*\n(38)
|
||||
.nr 82 +\n(42
|
||||
.nr TW \n(82
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2681 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2680 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -4365,7 +4364,7 @@ Javadoc は、JDK 1.3 以降に導入されたアサーション、総称、ま
|
||||
.nr 41 \n(80+(3*\n(38)
|
||||
.nr 81 +\n(41
|
||||
.nr TW \n(81
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2791 file Input is too wide - \n(TW units
|
||||
.if t .if \n(TW>\n(.li .tm Table at line 2790 file Input is too wide - \n(TW units
|
||||
.fc
|
||||
.nr #T 0-1
|
||||
.nr #a 0-1
|
||||
@ -5831,5 +5830,4 @@ http://java.sun.com/javase/6/docs/technotes/tools/findingclasses.html#srcfiles (
|
||||
.RE
|
||||
|
||||
.LP
|
||||
.LP
|
||||
javadoc は、Sun Microsystems, Inc の商標です (\f2javadoc\fP コマンド自体には商標シンボルは不要)。
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1994, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH javah 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH javah 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -156,6 +155,4 @@ CLASSPATH
|
||||
.LP
|
||||
javac(1)、java(1)、jdb(1)、javap(1)、javadoc(1)
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1994, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH javap 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH javap 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -359,6 +358,4 @@ CLASSPATH
|
||||
.LP
|
||||
javac(1)、 java(1)、jdb(1)、javah(1)、javadoc(1)
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 2003, 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
|
||||
@ -19,16 +19,11 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH javaws 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
|
||||
.LP
|
||||
.TH javaws 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
\f2javaws\fP コマンド行
|
||||
.LP
|
||||
|
||||
.LP
|
||||
.LP
|
||||
\
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 2004, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH jconsole 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH jconsole 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -160,6 +159,4 @@ http://java.sun.com/javase/6/docs/technotes/guides/management/index.html
|
||||
.RE
|
||||
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 1995, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH jdb 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH jdb 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
@ -364,6 +363,4 @@ http://java.sun.com/javase/6/docs/technotes/guides/jpda/conninv.htmlを参照し
|
||||
.LP
|
||||
javac(1)、java(1)、javah(1)、javap(1)、javadoc(1)
|
||||
.LP
|
||||
|
||||
.LP
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
." Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
|
||||
." Copyright (c) 2006, 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
|
||||
@ -19,8 +19,7 @@
|
||||
." or visit www.oracle.com if you need additional information or have any
|
||||
." questions.
|
||||
."
|
||||
.TH jhat 1 "04 May 2009"
|
||||
." Generated from HTML by html2man (author: Eric Armstrong)
|
||||
.TH jhat 1 "02 Jun 2010"
|
||||
|
||||
.LP
|
||||
.SH "名前"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user