[icedtea-web] RFC: Support building against OpenJDK9

Omair Majid omajid at redhat.com
Thu Jan 23 16:06:20 PST 2014

* Omair Majid <omajid at redhat.com> [2014-01-23 17:06]:
> I tried to build IcedTea-Web against OpenJDK8 for the first time today
> and ran into a two issues:

I also tried building IcedTea-Web against OpenJDK9. Only one more issue
popped up.

OpenJDK9 no longer has a PermGen and no longer recognizes the
-XX:PermSize option. The javadoc invocation used by IcedTea-Web fails. I
am not sure why PermGen sizes are being specified in IcedTea-Web in the
first place, so I would like to remove the PermGen-related flags.

The attached patch does that. Thoughts?


PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681
-------------- next part --------------
diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-23  Omair Majid  <omajid at redhat.com>
+	Don't specify perm gen size.
 2014-01-23  Omair Majid  <omajid at redhat.com>
 	* netx/net/sourceforge/jnlp/JNLPFile.java,
diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -172,7 +172,7 @@
 JAVADOC_OPTS=-use -keywords -encoding UTF-8 -splitIndex \
  -bottom '<font size="-1"> <a href="http://icedtea.classpath.org/bugzilla">Submit a bug or feature</a></font>'
-JAVADOC_MEM_OPTS=-J-Xmx1024m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m
+JAVADOC_MEM_OPTS=-J-Xmx1024m -J-Xms128m

More information about the distro-pkg-dev mailing list