aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.am7
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 12d302c..ccaa33f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2011-03-30 Omair Majid <[email protected]>
+ * Makefile.am: Document reason for using bootclasspath.
+
+2011-03-30 Omair Majid <[email protected]>
+
* netx/javaws.1: Fix FILES section to point to
~/.icedtea/deployment.properties.
diff --git a/Makefile.am b/Makefile.am
index af348b7..6ce020b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,6 +25,13 @@ IT_LANGUAGE_SOURCE_VERSION=6
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)"'