aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-03-30 17:46:08 -0400
committerOmair Majid <[email protected]>2011-03-30 17:46:08 -0400
commitb99779db0a19fc9dead8cd76f2ccd165de0b127e (patch)
tree6beda281d8da627870a05e21279ee2a57d9d1d55
parentfcd0f21c614f7169f479246a7febecd7afc4ffae (diff)
Document reasons for using bootclasspath in Makefile.am
2011-03-30 Omair Majid <[email protected]> * Makefile.am: Document reason for using bootclasspath.
-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)"'