issues@javamail.java.net

[Bug 5830] IMAPProtocol.sasllogin uses old constructor for IMAPSaslAuthenticator

From: <bugzilla-daemon_at_kenai.com>
Date: Thu, 28 Feb 2013 15:54:14 +0000

http://kenai.com/bugzilla/show_bug.cgi?id=5830

doychin_at_kenai.com changed:

           What |Removed |Added
----------------------------------------------------------------------------
                 CC| |doychin_at_kenai.com

--- Comment #4 from doychin_at_kenai.com 2013-02-28 15:54:14 UTC ---
I will also add that the same problem is with SMTPSaslAuthenticator. in
SMTPTransport it is used the incorrect form to search for constructor but
proper form is used when trying to create an instance of that class.


Constructor c = sac.getConstructor(new Class[] {
                    SMTPTransport.class,
                    String.class,
                    Properties.class,
- Boolean.TYPE,
- PrintStream.class,
+ MailLogger.class,
                    String.class
                    });
        saslAuthenticator = (SaslAuthenticator)c.newInstance(
                    new Object[] {
                    this,
                    name,
                    session.getProperties(),
                    logger,
                    host
                    });

-- 
Configure bugmail: http://kenai.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.