[rfc][icedtea-web][patch] Patch to build icedtea-web 1.5.1 with java9

Jiri Vanek jvanek at redhat.com
Thu Oct 9 12:27:10 UTC 2014

On 10/09/2014 10:24 AM, Fridrich Strba wrote:
> Hash: SHA1
> Hello, good people,
> I tried to use icedtea-web plugin with java9 and had to use the
> attached patch to be able to build it against java9.
> Somehow, the Vector<?> was resulting in problems with resolution
> resolution what function to call. Removing the diamond operator there
> worked to pass the compilation. Not 100% sure though what is going on
> there.
> As for the sun.misc.Ref, it is not existing any more in java9. I
> looked at the implementation of AppletImageRef and it is internally in
> java9 implemented using the java.lang.ref.SoftReference, hence the
> modification. Not sure though how to handle that in a more generic
> way, since I don't assume that will work with other implementation of
> AppletImageRef and -- to be honest -- I have no clue whether my patch
> has any sense at all.
> With this patch, I was able to build icetea-web against java9 and also
> the test applets that I tried worked.
> Please, comment on this and don't hesitate to tell me it is completely
> wrong if that is the case.
> Cheers
> Fridrich
> Version: GnuPG v2.0.22 (GNU/Linux)
> iEYEARECAAYFAlQ2RkYACgkQu9a1imXPdA/RvwCeP8/5orpa8uVQDnWAlTjqAq6H
> GnwAn2ZBtQEyKAdBd007tvec7CaOMr7d
> =WwAF


Thank you very much, foir contribution!  This is known issue - 
https://bugzilla.redhat.com/show_bug.cgi?id=1095311 and The patch itself is ok, however -does it 
still builds on 8? I doubt...:(
So the improvement, how to be buildable on both, have to be done.


More information about the distro-pkg-dev mailing list