(geronimo-mail) branch main updated (38a455a -> beafafb)

[email protected] Sat, 18 Jul 2026 19:12:26 +0000
Newsgroups gmane.comp.java.geronimo.cvs
Message-ID <178440194649.3003986.14871421536424710840@gitbox3-he-fi.apache.org>
This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/geronimo-mail.git


    from 38a455a  GERONIMO-6901 - Failed Folder.open() leaks the pooled connection, breaks Store.close() and hides FolderNotFoundException
     new 30c7fc6  GERONIMO-6901 - harden the failed-open unwind: deselect a successfully selected mailbox before pooling the connection
     new b78b1e6  GERONIMO-6902 - Folder.expunge() always returns an empty array - EXPUNGE responses extracted under the wrong keyword
     new 3a4e881  GERONIMO-6903 - IMAP response parser drops the byte following a bare CR, corrupting the stream
     new 2392bdf  GERONIMO-6904 - A garbled IMAP response leaves the connection poolable and poisons later commands
     new beafafb  GERONIMO-6905 - IMAP response codes in brackets (PERMANENTFLAGS, UIDVALIDITY, UIDNEXT, UNSEEN) are never parsed

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../geronimo/mail/store/imap/IMAPFolder.java       |  17 +++-
 .../mail/store/imap/connection/IMAPConnection.java |  21 +++-
 .../store/imap/connection/IMAPMailboxStatus.java   |   4 +-
 .../store/imap/connection/IMAPResponseStream.java  |  27 ++++--
 .../mail/store/imap/IMAPExpungeRegressionTest.java | 107 +++++++++++++++++++++
 .../imap/IMAPPermanentFlagsRegressionTest.java     |  94 ++++++++++++++++++
 .../IMAPConnectionBrokenResponseTest.java          |  86 +++++++++++++++++
 .../imap/connection/IMAPOkResponseParsingTest.java | 100 +++++++++++++++++++
 .../imap/connection/IMAPResponseStreamTest.java    |  94 ++++++++++++++++++
 geronimo-mail_2.1_tck/src/tck/geronimo.jtx         |   2 -
 10 files changed, 537 insertions(+), 15 deletions(-)
 create mode 100644 geronimo-mail_2.1_impl/geronimo-mail_2.1_provider/src/test/java/org/apache/geronimo/mail/store/imap/IMAPExpungeRegressionTest.java
 create mode 100644 geronimo-mail_2.1_impl/geronimo-mail_2.1_provider/src/test/java/org/apache/geronimo/mail/store/imap/IMAPPermanentFlagsRegressionTest.java
 create mode 100644 geronimo-mail_2.1_impl/geronimo-mail_2.1_provider/src/test/java/org/apache/geronimo/mail/store/imap/connection/IMAPConnectionBrokenResponseTest.java
 create mode 100644 geronimo-mail_2.1_impl/geronimo-mail_2.1_provider/src/test/java/org/apache/geronimo/mail/store/imap/connection/IMAPOkResponseParsingTest.java
 create mode 100644 geronimo-mail_2.1_impl/geronimo-mail_2.1_provider/src/test/java/org/apache/geronimo/mail/store/imap/connection/IMAPResponseStreamTest.java