List Info

Thread: DO NOT REPLY - ClassLoader issue causing NoSuchAlgorithmException loading Provider Impl




DO NOT REPLY - ClassLoader issue causing NoSuchAlgorithmException loading Provider Impl
country flaguser name
United States
2007-07-11 15:44:03
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42
820>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42820





------- Additional Comments From jwashingtonthezenith.com  2007-07-11 13:44 -------
Created an attachment (id=20494)
 --> (http://issues.apache.org/bugzilla/attac
hment.cgi?id=20494&action=view)
ClassLoaderTest.java patch

I added a additional unit test method
test_provider_multiple_loaders() that
simulates the failure condition I observed in a J2EE
environment. The new test
adds a Provider instance to java.security.Security from the
current class
loader running the unit test and then retrieves the provider
from another class
loader. This test should fail for unpatched
XMLDigSecurity.java but pass for
the patched version. I tested the patched XMLDigSecurity in
my J2EE environment
as well so the fix should be solid.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )