Mercurial > hg > release > icedtea-web-1.1
changeset 185:962cfcd8c727
Document reasons for using bootclasspath in Makefile.am
2011-03-30 Omair Majid <omajid@redhat.com>
* Makefile.am: Document reason for using bootclasspath.
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Wed, 30 Mar 2011 17:46:08 -0400 |
parents | ee199149caa9 |
children | 17d77cfe0bdc |
files | ChangeLog Makefile.am |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Mar 30 17:43:32 2011 -0400 +++ b/ChangeLog Wed Mar 30 17:46:08 2011 -0400 @@ -1,3 +1,7 @@ +2011-03-30 Omair Majid <omajid@redhat.com> + + * Makefile.am: Document reason for using bootclasspath. + 2011-03-30 Omair Majid <omajid@redhat.com> * netx/javaws.1: Fix FILES section to point to
--- a/Makefile.am Wed Mar 30 17:43:32 2011 -0400 +++ b/Makefile.am Wed Mar 30 17:46:08 2011 -0400 @@ -25,6 +25,13 @@ IT_CLASS_TARGET_VERSION=6 IT_JAVACFLAGS=$(IT_JAVAC_SETTINGS) -source $(IT_LANGUAGE_SOURCE_VERSION) -target $(IT_CLASS_TARGET_VERSION) +# +# We need the jars in bootclasspath for a couple of reasons +# - we use classes (in the sun.applet package) loaded by the bootclassloader +# using another classloader to load classes from the same package causes an +# IllegalAccessException +# - we want full privileges +# JRE='"$(SYSTEM_JDK_DIR)/jre"' LAUNCHER_BOOTCLASSPATH="-Xbootclasspath/a:$(datadir)/$(PACKAGE_NAME)/netx.jar$(RHINO_RUNTIME)" PLUGIN_BOOTCLASSPATH='"-Xbootclasspath/a:$(datadir)/$(PACKAGE_NAME)/netx.jar:$(datadir)/$(PACKAGE_NAME)/plugin.jar$(RHINO_RUNTIME)"'