[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: remove print statements from Security
From: |
Michael Koch |
Subject: |
Re: RFC: remove print statements from Security |
Date: |
Thu, 14 Oct 2004 08:25:52 +0200 |
User-agent: |
KMail/1.6.2 |
On Thursday 14 October 2004 06:22, Casey Marshall wrote:
> Hi,
>
> I'd like to propose that we remove the print statements from the
> provider loading code in java.security.Security, as with the
> attached patch. It wasn't recieved well when proposed [1] and now
> actually makes tests fail on libgcj [2].
>
> I personally find it rather amateurish -- they look like debug
> statements and they can't be turned off.
>
> Alternatively, how about printing them only if a DEBUG constant is
> set to 'true'?
It's your code. You may decide. I would vote for removing it if its
not needed in the future. If it can be used to debug new code (e.g.
Providers) you can use the DEBUG solution.
Michael