Re: [commons-fileupload2-jakarta] JakartaServletFileUpload.getItemIterator() not working in 2.0.0-M1

2023-09-27 Thread Maxim Solodovnik
Hello, I've tried to check this one :) Modified this test: commons-fileupload2-jakarta-servlet5/src/test/java/org/apache/commons/fileupload2/jakarta/servlet5/JakartaServletFileUploadTest.java Add this block at the bottom: ``` final var itemCount = new AtomicInteger(0); upload.getItemIterator(ne

Re: [commons-fileupload2-jakarta] JakartaServletFileUpload.getItemIterator() not working in 2.0.0-M1

2023-09-27 Thread Gary Gregory
Hi, The best way to help would be to provide a PR on GitHub with a failing test, and if you find it, a fix. Gary On Wed, Sep 27, 2023, 7:33 PM Ian Evans wrote: > Using the following library: > > > org.apache.commons > commons-fileupload2-jakarta > 2.0.0-M1 > > > The Streaming API (documente

[commons-fileupload2-jakarta] JakartaServletFileUpload.getItemIterator() not working in 2.0.0-M1

2023-09-27 Thread Ian Evans
Using the following library:   org.apache.commons   commons-fileupload2-jakarta   2.0.0-M1 The Streaming API (documented here FileUpload – The Streaming API (apache.org)) does not return any items. I've tested the following

Re: Updating Apache Commons DBCP 2.10.0

2023-09-27 Thread Greg Huber
Phil, As Gary suggested,  I ran the maven install with the changes below using java 8, compiled correctly, and now has the correct dependency  (jakarta.transaction-api-2.0.1.jar).  Tested OK in my app. (btw the commons parent on 2.10.0 is already at 60). Recap, I replaced jakarta.t