Another jdk9 patch :)
fridrich.strba at suse.com
Wed Jan 13 12:36:48 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
On 13/01/16 13:24, Jiri Vanek wrote:
> Have it really to be sun.applet? Is new modular system preventing
> to have it in different package?
I just kidnapped the previous macro that was testing for a generic
class. But since it does not have a behaviour in case that class is
not found, but just bombs with AC_MSG_ERROR, I modified it to look for
the first location first and if not found for the second
> Once this class is not found What is output of the macro (when used
> by configure). Simple "no" or the stacktrace?
The Class.forName("sun.security.util.HexDumpEncoder")) simply throws
again the ClassNotFound exception and the result will be no and it
will stop the configure with the AC_MSG_ERROR.
>> -import sun.misc.HexDumpEncoder;
> I would put comment there
>> +import sun.misc.*;
> and there, expalining why "*" is used. Most IDes is marking it as
> warning, so there is risk of evaluating thsoe stars and so
> reintroduce the bug.
>> +import sun.security.util.*;
Yeah, let me comment there. It was basically the easiest way to handle
that without having to know in the particular java file which full
name the HexDumpEncoder has. I will comment about that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----
More information about the distro-pkg-dev