changeset in /hg/icedtea: 2008-02-27 Joshua Sumali <jsumali at re...
Joshua Sumali
jsumali at redhat.com
Thu May 29 14:10:56 PDT 2008
changeset 7cf928d8c2a7 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=7cf928d8c2a7
description:
2008-02-27 Joshua Sumali <jsumali at redhat.com>
Francis Kung <fkung at redhat.com>
* Makefile.am:
(tools.stamp): Removed since NetX sources moved from tools/ to rt/
(tools): Likewise.
(tools-source-files.txt): Likewise.
(tools-class-files.stamp): Likewise.
(clean-tools): Likewise.
(rt-closed.jar): Add rt/net when creating jar.
(ICEDTEA_PATCHES): Add NETX_PLUGIN conditional.
* Makefile.in: Regeneraged.
* acinclude.m4: (ENABLE_NETX_PLUGIN): New macro
* configure: Regenerated.
* configure.ac: Add ENABLE_NETX_PLUGIN.
* README: Updated.
* patches/icedtea-copy-plugs.patch: Added importing of rt/net/* as binary
plugs to rt.jar.
* patches/icedtea-netx-plugin.patch: New file. This patch is used when
NETX_PLUGIN is true.
* patches/icedtea-webservices.patch: New file. This is
icedtea-jnlp-launcher.patch and icedtea-plugin.patch combined into one.
* patches/icedtea-jnlp-launcher.patch: Removed.
* patches/icedtea-plugin.patch: Removed.
* tools/: This former directory for holding NetX sources was deleted and the
sources were moved to ...
* rt/net/sourceforge/: Here. NetX sources now follow correct package
naming.
diffstat:
204 files changed, 19507 insertions(+), 18805 deletions(-)
ChangeLog | 29
Makefile.am | 74
Makefile.in | 70
README | 17
acinclude.m4 | 15
configure | 53
configure.ac | 1
patches/icedtea-copy-plugs.patch | 42
patches/icedtea-jnlp-launcher.patch | 23
patches/icedtea-netx-plugin.patch | 49
patches/icedtea-plugin.patch | 1350 ---------
patches/icedtea-webservices.patch | 1373 ++++++++++
rt/javax/jnlp/BasicService.java | 13
rt/javax/jnlp/ClipboardService.java | 11
rt/javax/jnlp/DownloadService.java | 25
rt/javax/jnlp/DownloadServiceListener.java | 13
rt/javax/jnlp/ExtensionInstallerService.java | 22
rt/javax/jnlp/FileContents.java | 18
rt/javax/jnlp/FileOpenService.java | 11
rt/javax/jnlp/FileSaveService.java | 11
rt/javax/jnlp/JNLPRandomAccessFile.java | 46
rt/javax/jnlp/PersistenceService.java | 18
rt/javax/jnlp/PrintService.java | 13
rt/javax/jnlp/ServiceManager.java | 54
rt/javax/jnlp/ServiceManagerStub.java | 11
rt/javax/jnlp/UnavailableServiceException.java | 16
rt/net/sourceforge/jnlp/AppletDesc.java | 125
rt/net/sourceforge/jnlp/ApplicationDesc.java | 76
rt/net/sourceforge/jnlp/ComponentDesc.java | 43
rt/net/sourceforge/jnlp/DefaultLaunchHandler.java | 116
rt/net/sourceforge/jnlp/ExtensionDesc.java | 146 +
rt/net/sourceforge/jnlp/IconDesc.java | 135
rt/net/sourceforge/jnlp/InformationDesc.java | 241 +
rt/net/sourceforge/jnlp/InstallerDesc.java | 54
rt/net/sourceforge/jnlp/JARDesc.java | 131
rt/net/sourceforge/jnlp/JNLPFile.java | 512 +++
rt/net/sourceforge/jnlp/JREDesc.java | 123
rt/net/sourceforge/jnlp/LaunchException.java | 190 +
rt/net/sourceforge/jnlp/LaunchHandler.java | 68
rt/net/sourceforge/jnlp/Launcher.java | 583 ++++
rt/net/sourceforge/jnlp/NetxPanel.java | 159 +
rt/net/sourceforge/jnlp/PackageDesc.java | 105
rt/net/sourceforge/jnlp/ParseException.java | 94
rt/net/sourceforge/jnlp/Parser.java | 1101 ++++++++
rt/net/sourceforge/jnlp/PluginBridge.java | 188 +
rt/net/sourceforge/jnlp/PropertyDesc.java | 66
rt/net/sourceforge/jnlp/ResourcesDesc.java | 231 +
rt/net/sourceforge/jnlp/SecurityDesc.java | 173 +
rt/net/sourceforge/jnlp/Version.java | 354 ++
rt/net/sourceforge/jnlp/cache/CacheEntry.java | 174 +
rt/net/sourceforge/jnlp/cache/CacheUtil.java | 391 ++
rt/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java | 318 ++
rt/net/sourceforge/jnlp/cache/DownloadIndicator.java | 92
rt/net/sourceforge/jnlp/cache/Resource.java | 259 +
rt/net/sourceforge/jnlp/cache/ResourceTracker.java | 926 ++++++
rt/net/sourceforge/jnlp/cache/UpdatePolicy.java | 89
rt/net/sourceforge/jnlp/cache/package.html | 28
rt/net/sourceforge/jnlp/event/ApplicationEvent.java | 57
rt/net/sourceforge/jnlp/event/ApplicationListener.java | 38
rt/net/sourceforge/jnlp/event/DownloadEvent.java | 72
rt/net/sourceforge/jnlp/event/DownloadListener.java | 51
rt/net/sourceforge/jnlp/event/package.html | 28
rt/net/sourceforge/jnlp/package.html | 30
rt/net/sourceforge/jnlp/resources/Manifest.mf | 6
rt/net/sourceforge/jnlp/resources/Messages.properties | 157 +
rt/net/sourceforge/jnlp/resources/default.jnlp | 20
rt/net/sourceforge/jnlp/runtime/AppThreadGroup.java | 68
rt/net/sourceforge/jnlp/runtime/AppletAudioClip.java | 109
rt/net/sourceforge/jnlp/runtime/AppletEnvironment.java | 343 ++
rt/net/sourceforge/jnlp/runtime/AppletInstance.java | 139 +
rt/net/sourceforge/jnlp/runtime/ApplicationInstance.java | 248 +
rt/net/sourceforge/jnlp/runtime/Boot.java | 359 ++
rt/net/sourceforge/jnlp/runtime/Boot13.java | 103
rt/net/sourceforge/jnlp/runtime/InstallDialog.java | 169 +
rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java | 781 +++++
rt/net/sourceforge/jnlp/runtime/JNLPPolicy.java | 89
rt/net/sourceforge/jnlp/runtime/JNLPRuntime.java | 470 +++
rt/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 349 ++
rt/net/sourceforge/jnlp/runtime/package.html | 29
rt/net/sourceforge/jnlp/security/AccessWarningPane.java | 199 +
rt/net/sourceforge/jnlp/security/AppletWarningPane.java | 120
rt/net/sourceforge/jnlp/security/CertWarningPane.java | 263 +
rt/net/sourceforge/jnlp/security/CertsInfoPane.java | 347 ++
rt/net/sourceforge/jnlp/security/MoreInfoPane.java | 110
rt/net/sourceforge/jnlp/security/SecurityDialogUI.java | 197 +
rt/net/sourceforge/jnlp/security/SecurityWarningDialog.java | 349 ++
rt/net/sourceforge/jnlp/services/ServiceUtil.java | 200 +
rt/net/sourceforge/jnlp/services/XBasicService.java | 174 +
rt/net/sourceforge/jnlp/services/XClipboardService.java | 81
rt/net/sourceforge/jnlp/services/XDownloadService.java | 181 +
rt/net/sourceforge/jnlp/services/XExtensionInstallerService.java | 123
rt/net/sourceforge/jnlp/services/XFileContents.java | 122
rt/net/sourceforge/jnlp/services/XFileOpenService.java | 113
rt/net/sourceforge/jnlp/services/XFileSaveService.java | 140 +
rt/net/sourceforge/jnlp/services/XPersistenceService.java | 176 +
rt/net/sourceforge/jnlp/services/XServiceManagerStub.java | 102
rt/net/sourceforge/jnlp/services/package.html | 29
rt/net/sourceforge/jnlp/tools/CharacterEncoder.java | 354 ++
rt/net/sourceforge/jnlp/tools/HexDumpEncoder.java | 120
rt/net/sourceforge/jnlp/tools/JarRunner.java | 15
rt/net/sourceforge/jnlp/tools/JarSigner.java | 515 +++
rt/net/sourceforge/jnlp/tools/JarSignerResources.java | 212 +
rt/net/sourceforge/jnlp/tools/KeyStoreUtil.java | 69
rt/net/sourceforge/jnlp/tools/KeyTool.java | 541 +++
rt/net/sourceforge/jnlp/util/PropertiesFile.java | 148 +
rt/net/sourceforge/jnlp/util/Reflect.java | 148 +
rt/net/sourceforge/jnlp/util/WeakList.java | 128
rt/net/sourceforge/nanoxml/XMLElement.java | 1205 ++++++++
rt/net/sourceforge/nanoxml/XMLParseException.java | 130
tools/default.jnlp | 20
tools/javax/jnlp/BasicService.java | 13
tools/javax/jnlp/ClipboardService.java | 11
tools/javax/jnlp/DownloadService.java | 25
tools/javax/jnlp/DownloadServiceListener.java | 13
tools/javax/jnlp/ExtensionInstallerService.java | 22
tools/javax/jnlp/FileContents.java | 18
tools/javax/jnlp/FileOpenService.java | 11
tools/javax/jnlp/FileSaveService.java | 11
tools/javax/jnlp/JNLPRandomAccessFile.java | 46
tools/javax/jnlp/PersistenceService.java | 18
tools/javax/jnlp/PrintService.java | 13
tools/javax/jnlp/ServiceManager.java | 54
tools/javax/jnlp/ServiceManagerStub.java | 11
tools/javax/jnlp/UnavailableServiceException.java | 16
tools/nanoxml/XMLElement.java | 1205 --------
tools/nanoxml/XMLParseException.java | 130
tools/netx/jnlp/AppletDesc.java | 125
tools/netx/jnlp/ApplicationDesc.java | 76
tools/netx/jnlp/ComponentDesc.java | 43
tools/netx/jnlp/DefaultLaunchHandler.java | 116
tools/netx/jnlp/ExtensionDesc.java | 145 -
tools/netx/jnlp/IconDesc.java | 135
tools/netx/jnlp/InformationDesc.java | 241 -
tools/netx/jnlp/InstallerDesc.java | 54
tools/netx/jnlp/JARDesc.java | 131
tools/netx/jnlp/JNLPFile.java | 511 ---
tools/netx/jnlp/JREDesc.java | 123
tools/netx/jnlp/LaunchException.java | 191 -
tools/netx/jnlp/LaunchHandler.java | 69
tools/netx/jnlp/Launcher.java | 578 ----
tools/netx/jnlp/PackageDesc.java | 105
tools/netx/jnlp/ParseException.java | 94
tools/netx/jnlp/Parser.java | 1101 --------
tools/netx/jnlp/PropertyDesc.java | 66
tools/netx/jnlp/ResourcesDesc.java | 231 -
tools/netx/jnlp/SecurityDesc.java | 173 -
tools/netx/jnlp/Version.java | 354 --
tools/netx/jnlp/cache/CacheEntry.java | 173 -
tools/netx/jnlp/cache/CacheUtil.java | 390 --
tools/netx/jnlp/cache/DefaultDownloadIndicator.java | 317 --
tools/netx/jnlp/cache/DownloadIndicator.java | 91
tools/netx/jnlp/cache/Resource.java | 258 -
tools/netx/jnlp/cache/ResourceTracker.java | 925 ------
tools/netx/jnlp/cache/UpdatePolicy.java | 89
tools/netx/jnlp/cache/package.html | 28
tools/netx/jnlp/event/ApplicationEvent.java | 56
tools/netx/jnlp/event/ApplicationListener.java | 38
tools/netx/jnlp/event/DownloadEvent.java | 71
tools/netx/jnlp/event/DownloadListener.java | 51
tools/netx/jnlp/event/package.html | 28
tools/netx/jnlp/package.html | 30
tools/netx/jnlp/resources/Manifest.mf | 6
tools/netx/jnlp/resources/Messages.properties | 157 -
tools/netx/jnlp/resources/default.jnlp | 20
tools/netx/jnlp/runtime/AppThreadGroup.java | 68
tools/netx/jnlp/runtime/AppletAudioClip.java | 109
tools/netx/jnlp/runtime/AppletEnvironment.java | 342 --
tools/netx/jnlp/runtime/AppletInstance.java | 137
tools/netx/jnlp/runtime/ApplicationInstance.java | 248 -
tools/netx/jnlp/runtime/Boot.java | 355 --
tools/netx/jnlp/runtime/Boot13.java | 103
tools/netx/jnlp/runtime/InstallDialog.java | 168 -
tools/netx/jnlp/runtime/JNLPClassLoader.java | 752 -----
tools/netx/jnlp/runtime/JNLPPolicy.java | 89
tools/netx/jnlp/runtime/JNLPRuntime.java | 466 ---
tools/netx/jnlp/runtime/JNLPSecurityManager.java | 348 --
tools/netx/jnlp/runtime/package.html | 29
tools/netx/jnlp/security/AccessWarningPane.java | 199 -
tools/netx/jnlp/security/CertWarningPane.java | 225 -
tools/netx/jnlp/security/CertsInfoPane.java | 346 --
tools/netx/jnlp/security/MoreInfoPane.java | 108
tools/netx/jnlp/security/SecurityDialogUI.java | 196 -
tools/netx/jnlp/security/SecurityWarningDialog.java | 321 --
tools/netx/jnlp/services/ServiceUtil.java | 199 -
tools/netx/jnlp/services/XBasicService.java | 173 -
tools/netx/jnlp/services/XClipboardService.java | 80
tools/netx/jnlp/services/XDownloadService.java | 180 -
tools/netx/jnlp/services/XExtensionInstallerService.java | 122
tools/netx/jnlp/services/XFileContents.java | 121
tools/netx/jnlp/services/XFileOpenService.java | 112
tools/netx/jnlp/services/XFileSaveService.java | 139 -
tools/netx/jnlp/services/XPersistenceService.java | 175 -
tools/netx/jnlp/services/XServiceManagerStub.java | 101
tools/netx/jnlp/services/package.html | 29
tools/netx/jnlp/tools/CharacterEncoder.java | 354 --
tools/netx/jnlp/tools/HexDumpEncoder.java | 120
tools/netx/jnlp/tools/JarRunner.java | 15
tools/netx/jnlp/tools/JarSigner.java | 516 ---
tools/netx/jnlp/tools/JarSignerResources.java | 212 -
tools/netx/jnlp/tools/KeyStoreUtil.java | 69
tools/netx/jnlp/tools/KeyTool.java | 541 ---
tools/netx/jnlp/util/PropertiesFile.java | 147 -
tools/netx/jnlp/util/Reflect.java | 148 -
tools/netx/jnlp/util/WeakList.java | 128
diffs (truncated from 39438 to 500 lines):
diff -r 4ccfb52e53af -r 7cf928d8c2a7 ChangeLog
--- a/ChangeLog Tue Feb 26 13:44:07 2008 -0500
+++ b/ChangeLog Wed Feb 27 23:24:16 2008 -0500
@@ -1,3 +1,32 @@ 2008-02-26 Lillian Angel <langel at redha
+2008-02-27 Joshua Sumali <jsumali at redhat.com>
+ Francis Kung <fkung at redhat.com>
+
+ * Makefile.am:
+ (tools.stamp): Removed since NetX sources moved from tools/ to rt/
+ (tools): Likewise.
+ (tools-source-files.txt): Likewise.
+ (tools-class-files.stamp): Likewise.
+ (clean-tools): Likewise.
+ (rt-closed.jar): Add rt/net when creating jar.
+ (ICEDTEA_PATCHES): Add NETX_PLUGIN conditional.
+ * Makefile.in: Regeneraged.
+ * acinclude.m4: (ENABLE_NETX_PLUGIN): New macro
+ * configure: Regenerated.
+ * configure.ac: Add ENABLE_NETX_PLUGIN.
+ * README: Updated.
+ * patches/icedtea-copy-plugs.patch: Added importing of rt/net/* as binary
+ plugs to rt.jar.
+ * patches/icedtea-netx-plugin.patch: New file. This patch is used when
+ NETX_PLUGIN is true.
+ * patches/icedtea-webservices.patch: New file. This is
+ icedtea-jnlp-launcher.patch and icedtea-plugin.patch combined into one.
+ * patches/icedtea-jnlp-launcher.patch: Removed.
+ * patches/icedtea-plugin.patch: Removed.
+ * tools/: This former directory for holding NetX sources was deleted and the
+ sources were moved to ...
+ * rt/net/sourceforge/: Here. NetX sources now follow correct package
+ naming.
+
2008-02-26 Lillian Angel <langel at redhat.com>
* Makefile.am
diff -r 4ccfb52e53af -r 7cf928d8c2a7 Makefile.am
--- a/Makefile.am Tue Feb 26 13:44:07 2008 -0500
+++ b/Makefile.am Wed Feb 27 23:24:16 2008 -0500
@@ -1,6 +1,12 @@ OPENJDK_DATE = 12_feb_2008
OPENJDK_DATE = 12_feb_2008
OPENJDK_MD5SUM = 660e6230dfc4cdc8a7c93bc3e7e60120
OPENJDK_VERSION = b05
+
+if NETX_PLUGIN
+NETX_PATCH = patches/icedtea-netx-plugin.patch
+else
+NETX_PATCH =
+endif
# Top-Level Targets
# =================
@@ -26,7 +32,7 @@ install:
clean-bootstrap-directory-symlink clean-bootstrap-directory-ecj \
clean-bootstrap-directory-symlink-ecj icedtea icedtea-debug \
clean-icedtea icedtea-against-icedtea clean-icedtea-ecj clean-plugs \
- clean-tools-jar clean-tools clean-shared-objects \
+ clean-tools-jar clean-shared-objects \
clean-copy clean-hotspot-tools clean-rt clean-gcjwebplugin \
hotspot hotspot-helper
@@ -197,7 +203,8 @@ ICEDTEA_PATCHES = \
patches/icedtea-debuginfo.patch \
patches/icedtea-ssl.patch \
patches/icedtea-license-headers.patch \
- patches/icedtea-plugin.patch \
+ patches/icedtea-webservices.patch \
+ $(NETX_PATCH) \
patches/icedtea-rmi_amd64.patch \
patches/icedtea-tools.patch \
patches/icedtea-certbundle.patch \
@@ -222,7 +229,6 @@ ICEDTEA_PATCHES = \
patches/icedtea-ports.patch \
patches/icedtea-lcms-leak.patch \
patches/icedtea-timerqueue.patch \
- patches/icedtea-jnlp-launcher.patch \
patches/icedtea-generated.patch \
patches/icedtea-lib64.patch \
patches/icedtea-zero.patch \
@@ -460,8 +466,7 @@ endif
# you change it in the icedtea-debug target as well.
icedtea: stamps/bootstrap-directory-symlink.stamp \
stamps/hotspot-tools.stamp stamps/plugs.stamp \
- stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so \
- stamps/tools.stamp
+ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so
$(MAKE) \
$(ICEDTEA_ENV) \
-C openjdk/control/make/
@@ -472,14 +477,15 @@ icedtea: stamps/bootstrap-directory-syml
cp -pPRf gcjwebplugin.so \
$(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR) ; \
fi
- $(FASTJAR) uf $(BUILD_OUTPUT_DIR)/j2sdk-image/lib/tools.jar \
- -C lib/tools .
+ cp rt/net/sourceforge/jnlp/resources/default.jnlp \
+ $(BUILD_OUTPUT_DIR)/j2re-image/lib
+ cp rt/net/sourceforge/jnlp/resources/default.jnlp \
+ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib
@echo "IcedTea is served:" $(BUILD_OUTPUT_DIR)
icedtea-debug: stamps/bootstrap-directory-symlink.stamp \
stamps/hotspot-tools.stamp stamps/plugs.stamp \
- stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so \
- stamps/tools.stamp
+ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so
$(MAKE) \
$(ICEDTEA_ENV) \
-C openjdk/control/make \
@@ -491,8 +497,10 @@ icedtea-debug: stamps/bootstrap-director
cp -pPRf gcjwebplugin.so \
$(BUILD_OUTPUT_DIR)-debug/j2re-image/lib/$(INSTALL_ARCH_DIR) ; \
fi
- $(FASTJAR) uf $(BUILD_OUTPUT_DIR)-debug/j2sdk-image/lib/tools.jar \
- -C lib/tools .
+ cp rt/net/sourceforge/jnlp/resources/default.jnlp \
+ $(BUILD_OUTPUT_DIR)/j2re-image/lib
+ cp rt/net/sourceforge/jnlp/resources/default.jnlp \
+ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib
@echo "IcedTea (debug build) is served:" \
$(BUILD_OUTPUT_DIR)-debug
@@ -563,7 +571,7 @@ clean-plugs: clean-plugs clean-shared-ob
rm -f stamps/plugs.stamp
rm -f bootstrap/jdk1.7.0/jre/lib/rt-closed.jar
-clean-tools-jar: clean-hotspot-tools clean-tools
+clean-tools-jar: clean-hotspot-tools
rm -f stamps/hotspot-tools.stamp
rm -rf tools/
rm -f bootstrap/jdk1.7.0/jre/lib/tools.jar
@@ -721,6 +729,8 @@ stamps/rt-class-files.stamp: rt-source-f
-sourcepath rt:$(OPENJDK_SOURCEPATH_DIRS):generated \
@$< ; \
fi
+ cp -r rt/net/sourceforge/jnlp/resources \
+ lib/rt/net/sourceforge/jnlp/
mkdir -p stamps
touch stamps/rt-class-files.stamp
@@ -735,10 +745,10 @@ bootstrap/jdk1.7.0/jre/lib/rt-closed.jar
if ! test -f stamps/icedtea-ecj.stamp ; \
then \
$(JAR) cf $@ -C lib/rt com -C lib/rt gnu -C lib/rt java \
- -C lib/rt javax -C lib/rt sun -C lib/rt org ; \
+ -C lib/rt javax -C lib/rt sun -C lib/rt org -C lib/rt net; \
else \
$(ICEDTEA_BOOT_DIR)/bin/jar cf $@ -C lib/rt com -C lib/rt gnu -C lib/rt java \
- -C lib/rt javax -C lib/rt sun -C lib/rt org ; \
+ -C lib/rt javax -C lib/rt sun -C lib/rt org -C lib/rt net; \
fi
if test -d bootstrap/ecj/jre/lib ; \
then \
@@ -759,38 +769,6 @@ clean-gcjwebplugin:
clean-gcjwebplugin:
rm -f gcjwebplugin.so
-#extra tools
-stamps/tools.stamp: stamps/tools-class-files.stamp
- touch stamps/tools.stamp
-
-tools-source-files.txt: stamps/extract.stamp
- find tools -name '*.java' | sort > $@
-
-stamps/tools-class-files.stamp: tools-source-files.txt \
- stamps/rt-class-files.stamp
- mkdir -p lib/tools
- if ! test -f stamps/icedtea-ecj.stamp ; \
- then \
- $(JAVAC) $(MEMORY_LIMIT) -g -d lib/tools \
- -source 1.6 \
- -sourcepath tools \
- @$< ; \
- else \
- $(ICEDTEA_BOOT_DIR)/bin/javac $(MEMORY_LIMIT) -g -d lib/tools \
- -source 1.6 \
- -sourcepath tools \
- @$< ; \
- fi
- cp tools/default.jnlp lib/tools
- cp -R tools/netx/jnlp/resources lib/tools/netx/jnlp
- mkdir -p stamps
- touch stamps/tools-class-files.stamp
-
-clean-tools:
- rm -rf lib/tools
- rm -rf stamps/tools-class-files.stamp
- rm -rf tools-source-files.txt
-
# Target Aliases
# ===============
@@ -828,10 +806,6 @@ hotspot-tools-copy-source-files: stamps/
hotspot-tools: stamps/hotspot-tools.stamp
-tools: stamps/tools.stamp
-
-tools-class-files: stamps/tools-class-files.stamp
-
ports: stamps/ports.stamp
ports-ecj: stamps/ports-ecj.stamp
diff -r 4ccfb52e53af -r 7cf928d8c2a7 Makefile.in
--- a/Makefile.in Tue Feb 26 13:44:07 2008 -0500
+++ b/Makefile.in Wed Feb 27 23:24:16 2008 -0500
@@ -212,6 +212,8 @@ OPENJDK_DATE = 12_feb_2008
OPENJDK_DATE = 12_feb_2008
OPENJDK_MD5SUM = 660e6230dfc4cdc8a7c93bc3e7e60120
OPENJDK_VERSION = b05
+ at NETX_PLUGIN_FALSE@NETX_PATCH =
+ at NETX_PLUGIN_TRUE@NETX_PATCH = patches/icedtea-netx-plugin.patch
EXTRA_DIST = rt generated $(ICEDTEA_PATCHES) $(ICEDTEA_ECJ_PATCH) \
gcjwebplugin.cc patches/icedtea-speed.patch tools-copy contrib ports \
tools patches/icedtea-gcc-4.3.patch patches/icedtea-always-zero.patch
@@ -331,7 +333,8 @@ ICEDTEA_PATCHES = \
patches/icedtea-debuginfo.patch \
patches/icedtea-ssl.patch \
patches/icedtea-license-headers.patch \
- patches/icedtea-plugin.patch \
+ patches/icedtea-webservices.patch \
+ $(NETX_PATCH) \
patches/icedtea-rmi_amd64.patch \
patches/icedtea-tools.patch \
patches/icedtea-certbundle.patch \
@@ -356,7 +359,6 @@ ICEDTEA_PATCHES = \
patches/icedtea-ports.patch \
patches/icedtea-lcms-leak.patch \
patches/icedtea-timerqueue.patch \
- patches/icedtea-jnlp-launcher.patch \
patches/icedtea-generated.patch \
patches/icedtea-lib64.patch \
patches/icedtea-zero.patch \
@@ -701,7 +703,7 @@ install:
clean-bootstrap-directory-symlink clean-bootstrap-directory-ecj \
clean-bootstrap-directory-symlink-ecj icedtea icedtea-debug \
clean-icedtea icedtea-against-icedtea clean-icedtea-ecj clean-plugs \
- clean-tools-jar clean-tools clean-shared-objects \
+ clean-tools-jar clean-shared-objects \
clean-copy clean-hotspot-tools clean-rt clean-gcjwebplugin \
hotspot hotspot-helper
@@ -952,8 +954,7 @@ clean-bootstrap-directory-symlink-ecj:
# you change it in the icedtea-debug target as well.
icedtea: stamps/bootstrap-directory-symlink.stamp \
stamps/hotspot-tools.stamp stamps/plugs.stamp \
- stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so \
- stamps/tools.stamp
+ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so
$(MAKE) \
$(ICEDTEA_ENV) \
-C openjdk/control/make/
@@ -964,14 +965,15 @@ icedtea: stamps/bootstrap-directory-syml
cp -pPRf gcjwebplugin.so \
$(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR) ; \
fi
- $(FASTJAR) uf $(BUILD_OUTPUT_DIR)/j2sdk-image/lib/tools.jar \
- -C lib/tools .
+ cp rt/net/sourceforge/jnlp/resources/default.jnlp \
+ $(BUILD_OUTPUT_DIR)/j2re-image/lib
+ cp rt/net/sourceforge/jnlp/resources/default.jnlp \
+ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib
@echo "IcedTea is served:" $(BUILD_OUTPUT_DIR)
icedtea-debug: stamps/bootstrap-directory-symlink.stamp \
stamps/hotspot-tools.stamp stamps/plugs.stamp \
- stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so \
- stamps/tools.stamp
+ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so
$(MAKE) \
$(ICEDTEA_ENV) \
-C openjdk/control/make \
@@ -983,8 +985,10 @@ icedtea-debug: stamps/bootstrap-director
cp -pPRf gcjwebplugin.so \
$(BUILD_OUTPUT_DIR)-debug/j2re-image/lib/$(INSTALL_ARCH_DIR) ; \
fi
- $(FASTJAR) uf $(BUILD_OUTPUT_DIR)-debug/j2sdk-image/lib/tools.jar \
- -C lib/tools .
+ cp rt/net/sourceforge/jnlp/resources/default.jnlp \
+ $(BUILD_OUTPUT_DIR)/j2re-image/lib
+ cp rt/net/sourceforge/jnlp/resources/default.jnlp \
+ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib
@echo "IcedTea (debug build) is served:" \
$(BUILD_OUTPUT_DIR)-debug
@@ -1055,7 +1059,7 @@ clean-plugs: clean-plugs clean-shared-ob
rm -f stamps/plugs.stamp
rm -f bootstrap/jdk1.7.0/jre/lib/rt-closed.jar
-clean-tools-jar: clean-hotspot-tools clean-tools
+clean-tools-jar: clean-hotspot-tools
rm -f stamps/hotspot-tools.stamp
rm -rf tools/
rm -f bootstrap/jdk1.7.0/jre/lib/tools.jar
@@ -1185,6 +1189,8 @@ stamps/rt-class-files.stamp: rt-source-f
-sourcepath rt:$(OPENJDK_SOURCEPATH_DIRS):generated \
@$< ; \
fi
+ cp -r rt/net/sourceforge/jnlp/resources \
+ lib/rt/net/sourceforge/jnlp/
mkdir -p stamps
touch stamps/rt-class-files.stamp
@@ -1199,10 +1205,10 @@ bootstrap/jdk1.7.0/jre/lib/rt-closed.jar
if ! test -f stamps/icedtea-ecj.stamp ; \
then \
$(JAR) cf $@ -C lib/rt com -C lib/rt gnu -C lib/rt java \
- -C lib/rt javax -C lib/rt sun -C lib/rt org ; \
+ -C lib/rt javax -C lib/rt sun -C lib/rt org -C lib/rt net; \
else \
$(ICEDTEA_BOOT_DIR)/bin/jar cf $@ -C lib/rt com -C lib/rt gnu -C lib/rt java \
- -C lib/rt javax -C lib/rt sun -C lib/rt org ; \
+ -C lib/rt javax -C lib/rt sun -C lib/rt org -C lib/rt net; \
fi
if test -d bootstrap/ecj/jre/lib ; \
then \
@@ -1223,38 +1229,6 @@ clean-gcjwebplugin:
clean-gcjwebplugin:
rm -f gcjwebplugin.so
-#extra tools
-stamps/tools.stamp: stamps/tools-class-files.stamp
- touch stamps/tools.stamp
-
-tools-source-files.txt: stamps/extract.stamp
- find tools -name '*.java' | sort > $@
-
-stamps/tools-class-files.stamp: tools-source-files.txt \
- stamps/rt-class-files.stamp
- mkdir -p lib/tools
- if ! test -f stamps/icedtea-ecj.stamp ; \
- then \
- $(JAVAC) $(MEMORY_LIMIT) -g -d lib/tools \
- -source 1.6 \
- -sourcepath tools \
- @$< ; \
- else \
- $(ICEDTEA_BOOT_DIR)/bin/javac $(MEMORY_LIMIT) -g -d lib/tools \
- -source 1.6 \
- -sourcepath tools \
- @$< ; \
- fi
- cp tools/default.jnlp lib/tools
- cp -R tools/netx/jnlp/resources lib/tools/netx/jnlp
- mkdir -p stamps
- touch stamps/tools-class-files.stamp
-
-clean-tools:
- rm -rf lib/tools
- rm -rf stamps/tools-class-files.stamp
- rm -rf tools-source-files.txt
-
# Target Aliases
# ===============
@@ -1291,10 +1265,6 @@ hotspot-tools-copy-source-files: stamps/
hotspot-tools-copy-source-files: stamps/hotspot-tools-copy-source-files.stamp
hotspot-tools: stamps/hotspot-tools.stamp
-
-tools: stamps/tools.stamp
-
-tools-class-files: stamps/tools-class-files.stamp
ports: stamps/ports.stamp
diff -r 4ccfb52e53af -r 7cf928d8c2a7 README
--- a/README Tue Feb 26 13:44:07 2008 -0500
+++ b/README Wed Feb 27 23:24:16 2008 -0500
@@ -104,16 +104,23 @@ the appletviewer code. This support cod
the appletviewer code. This support code is provided in
patches/icedtea-plugin.patch.
+If the option --enable-netx-plugin is passed to configure, this will
+make all applets run through NetX security instead of the default
+security manager. This feature is experimental, and is not enabled by
+default. Note that if --disable-gcjwebplugin is used, --enable-netx-plugin
+will not work.
+
NetX
====
NetX provides a drop-in replacement for javaws (Java Web Start). Since
upstream NetX is dormant, we will be hosting and modifying the sources
-in the IcedTea repository, particularly in the icedtea/tools directory.
+in the IcedTea repository, particularly in the rt/net/sourceforge/jnlp
+directory.
-The NetX sources are built into openjdk/build/arch/j2sdk-image/lib/tools.jar
-and a javaws binary is created in openjdk/build/arch/j2sdk-image/bin/.
+The NetX sources are built into rt.jar
-IcedTea's NetX currently supports verification of signed jars by default
-and provides some services specified by the jnlp API.
+IcedTea's NetX currently supports verification of signed jars, trusted
+certificate storing, system certificate store checking, and provides
+some services specified by the jnlp API.
diff -r 4ccfb52e53af -r 7cf928d8c2a7 acinclude.m4
--- a/acinclude.m4 Tue Feb 26 13:44:07 2008 -0500
+++ b/acinclude.m4 Wed Feb 27 23:24:16 2008 -0500
@@ -537,3 +537,18 @@ AC_DEFUN([SET_CORE_BUILD],
fi
fi
])
+
+AC_DEFUN([ENABLE_NETX_PLUGIN],
+[
+ AC_ARG_ENABLE([netx-plugin],
+ [AS_HELP_STRING(--enable-netx-plugin,enable experimental caching and security support in applet plugin)],
+ [
+ AC_MSG_CHECKING(netx plugin)
+ AC_MSG_RESULT(will enable netx plugin)
+ AM_CONDITIONAL(NETX_PLUGIN, test x = x)
+ ],
+ [
+ AM_CONDITIONAL(NETX_PLUGIN, test x != x)
+ ])
+])
+
diff -r 4ccfb52e53af -r 7cf928d8c2a7 configure
--- a/configure Tue Feb 26 13:44:07 2008 -0500
+++ b/configure Wed Feb 27 23:24:16 2008 -0500
@@ -744,6 +744,8 @@ FAST_BUILD_FALSE
FAST_BUILD_FALSE
ZERO_BUILD_TRUE
ZERO_BUILD_FALSE
+NETX_PLUGIN_TRUE
+NETX_PLUGIN_FALSE
CORE_BUILD_TRUE
CORE_BUILD_FALSE
CPP
@@ -1403,6 +1405,8 @@ Optional Features:
--enable-fast-build optimize for quick building: use -O0 and do not
build documentation
--enable-zero use zero-assembler port on non-zero platforms
+ --enable-netx-plugin enable experimental caching and security support in
+ applet plugin
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -7093,6 +7097,37 @@ fi
+ # Check whether --enable-netx-plugin was given.
+if test "${enable_netx_plugin+set}" = set; then
+ enableval=$enable_netx_plugin;
+ { echo "$as_me:$LINENO: checking netx plugin" >&5
+echo $ECHO_N "checking netx plugin... $ECHO_C" >&6; }
+ { echo "$as_me:$LINENO: result: will enable netx plugin" >&5
+echo "${ECHO_T}will enable netx plugin" >&6; }
+ if test x = x; then
+ NETX_PLUGIN_TRUE=
+ NETX_PLUGIN_FALSE='#'
+else
+ NETX_PLUGIN_TRUE='#'
+ NETX_PLUGIN_FALSE=
+fi
+
+
+else
+
+ if test x != x; then
+ NETX_PLUGIN_TRUE=
+ NETX_PLUGIN_FALSE='#'
+else
+ NETX_PLUGIN_TRUE='#'
+ NETX_PLUGIN_FALSE=
+fi
+
+
+fi
+
+
+
if test "x${ZERO_BUILD_TRUE}" = x; then
if test x = x; then
CORE_BUILD_TRUE=
@@ -10284,6 +10319,20 @@ if test -z "${ZERO_BUILD_TRUE}" && test
{ { echo "$as_me:$LINENO: error: conditional \"ZERO_BUILD\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
echo "$as_me: error: conditional \"ZERO_BUILD\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${NETX_PLUGIN_TRUE}" && test -z "${NETX_PLUGIN_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"NETX_PLUGIN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"NETX_PLUGIN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${NETX_PLUGIN_TRUE}" && test -z "${NETX_PLUGIN_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"NETX_PLUGIN\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"NETX_PLUGIN\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
More information about the distro-pkg-dev
mailing list