bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug crypto/28212] SecretKeySpec equal method does not check the object


From: mwringe at redhat dot com
Subject: [Bug crypto/28212] SecretKeySpec equal method does not check the object type
Date: 5 Jul 2006 19:34:54 -0000


------- Comment #3 from mwringe at redhat dot com  2006-07-05 19:34 -------
Created an attachment (id=11837)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11837&action=view)
Mauve testlet to PR28212

This testlet is in relation to PR28212. This test verifies the bug in which if
an object type other than SecretKeySpec is passed in the equals method will
incorrectly throw a ClassCastException instead of returning false.

This testlet should be placed in gnu/testlet/javax/crypto/spec

The patch within the bug report will correct this issue and allow the testlet
to correctly pass.
http://developer.classpath.org/pipermail/classpath-patches/attachments/20060630/4dba50c0/Crypto-SecretKeySpec.bin


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28212





reply via email to

[Prev in Thread] Current Thread [Next in Thread]