This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libgcj.security + classpath.security warning
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: java at gcc dot gnu dot org
- Date: Mon, 19 Jan 2004 14:22:12 +0100
- Subject: Re: libgcj.security + classpath.security warning
- Organization: Zylin AS
- References: <400BD793.6080200@uk2.net>
> It means that someone likes to be warned when GNU security provider is
> used by default.
> There should be an elegant way to switch off this warning.
> I guess that the compiler is also not placed at /datal/gcc/build/wingcc
> (anyway... it should not have to be)...
>
>
> But there is a not-so-elegant way to avoid that warning:
>
> Provider spv=new gnu.java.security.provider.Gnu();
>
> And, from now on, explicitly use spv...
> Here is a simple example:
>
> MessageDigest md = MessageDigest.getInstance("MD5", spv);
I'm using GNU Classpathx, so changing the code is icky.
IMHO, if this is only a warning, then it shouldn't be printed to
stdout/stderr by default.
Øyvind