-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
mantis
-
generic
-
generic
-
Verified
<com.sun.crypto.provider.BlowfishParameters>
72 protected void engineInit(byte[] encoded, String decodingMethod)
73 throws IOException
74 {
75 engineInit(encoded);
76 }
we should throw an exception if decodingMethod is not the valid value we can cope with since the caller might pass in something on purpose and expect that will take some effect.
if we just swallow it, the caller might get confused under some circumstance
72 protected void engineInit(byte[] encoded, String decodingMethod)
73 throws IOException
74 {
75 engineInit(encoded);
76 }
we should throw an exception if decodingMethod is not the valid value we can cope with since the caller might pass in something on purpose and expect that will take some effect.
if we just swallow it, the caller might get confused under some circumstance