[cp-patches] RFC: Crypto: SecretKeySpec equals method does not check the object type

Matthew Wringe mwringe at redhat.com
Fri Jun 30 19:33:56 UTC 2006


Hi,

I have attached a small patch that fixes PR28212: SecretKeySpec equals
method does not check the object type
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28212)

The equal method now checks the object type passed to the equals method
to make sure it is an instance of SecretKeySpec.

Thanks,

Matt Wringe


Changelog:

2006-06-30  Matt Wringe  <mwringe at redhat.com>

	* javax/crypto/spec/SecretKeySpec.java (equals): Check object type
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Crypto-SecretKeySpec.patch
Type: text/x-patch
Size: 1106 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060630/4dba50c0/Crypto-SecretKeySpec.bin


More information about the Classpath-patches mailing list