Hi Ron, El sáb, 19-03-2005 a las 17:38 -0600, Ron Johnson escribió: > On Sat, 2005-03-19 at 18:15 -0500, Javier Kohen wrote: > > El dom, 20-03-2005 a las 00:03 +0100, Carsten Prieß escribió: > [snip] > > > > On the other hand, I only had to make the tiniest workaround in my app > > (probably hundred thousands of lines, I never counted) to make it work > You want to clarify that for us a little? ;) Huh, sure, but I don't think it's either relevant to Debian or AMD64, but a call to Subject.doAsPrivileged will fail if the subject is null, whereas the documentation says explicitly that a null argument is fine. The workaround is to pass a "new Subject()" object to it which, I think, is exactly what Sun's version does. I posted a bug report to IBM's newsgroup a couple months ago long before 1.4.2 SR1a was released, but I haven't checked if they fixed it and they never got back to me. On the other hand, they fixed another bug I reported much later (also without an answer). Another thing to have in mind is that the SunJCE crypto provider is not part of the distribution (but hey, you get IBMJCE :-) ). I've seen some code depending on that provider (based on Sun's sample code, I guess), but just changing that code to use the default provider fixes the issue. Hope it was useful and sorry for the off-topic. Please reply off-list. -- Javier Kohen <jkohen@users.sourceforge.net> ICQ: blashyrkh #2361802 Jabber: jkohen@jabber.org
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente