[icedtea-web] RFC: Support building against OpenJDK9

Jiri Vanek jvanek at redhat.com
Fri Jan 24 03:13:14 PST 2014


On 01/24/2014 01:06 AM, Omair Majid wrote:
> * 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?

I would guess  this was  copied  from icedtea6  buoild infrastructure. And I would even bet that 
here it arrived  by some long forgotten copy whne it were flags from something else.

Feel free to push.
>
> Thanks,
> Omair
>
> -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F
> 6648 4681
>
>
> build-against-openjdk9-01.patch
>
>
> diff --git a/ChangeLog b/ChangeLog
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,8 @@
> +2014-01-23  Omair Majid<omajid at redhat.com>
> +
> +	* Makefile.am [ENABLE_DOCS] [JAVADOC_SUPPORTS_J_OPTIONS]:
> +	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>'
>   if JAVADOC_SUPPORTS_J_OPTIONS
> -JAVADOC_MEM_OPTS=-J-Xmx1024m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m
> +JAVADOC_MEM_OPTS=-J-Xmx1024m -J-Xms128m
>   endif
>   endif
>
>



More information about the distro-pkg-dev mailing list