[rfc][icedtea-web][patch] Patch to build icedtea-web 1.5.1 with java9
fridrich.strba at suse.com
Thu Oct 9 08:24:38 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
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
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2887 bytes
Desc: not available
More information about the distro-pkg-dev