[COLLECTIONS] CartesianProductIterator

2024-06-26 Thread Alexey Pelykh
G'day to all! It seems there's no Iterator that would implement the same thing as Python's itertools.product (quite literally a nested for loop) with some Java stream() capabilities. Is this intentional (as in, was considered and rejected) or a PR with such CartesianProductIterator would be wel

TEST fails for commons-compress:1.26

2024-06-26 Thread sumera sum
Hi Team, I am able to build commons-compress from source code, but while trying to run the tests it fails with the following error. Please assist me on how to fix this > [INFO] Results: > [INFO] > [ERROR] Failures: > [ERROR] TarArchiveEntryTest.testLinuxFileInformationFromFile:199 > expected: no

Re: TEST fails for commons-compress:1.26

2024-06-26 Thread Alex Herbert
Hi, There have been some patch releases since 1.26. Can you try with the latest release (1.26.2): https://commons.apache.org/compress/download_compress.cgi If this still doesn't work can you provide the output of 'mvn -v' when run from within the source root directory. This will provide your bui

Re: TEST fails for commons-compress:1.26

2024-06-26 Thread Gary Gregory
Also what is your local OS and file encoding? It could be a file encoding issue... Gary On Wed, Jun 26, 2024, 12:52 PM Alex Herbert wrote: > Hi, > > There have been some patch releases since 1.26. Can you try with the latest > release (1.26.2): > > https://commons.apache.org/compress/download_c

Re: [COLLECTIONS] CartesianProductIterator

2024-06-26 Thread Peter Burka
I don't know if it's been proposed before, but I think any implementation would necessarily be inefficient. I imagine such an iterator would need to produce objects of type Pair. This would lead to a lot of allocation and could create garbage collection pressure. The same functionality can be achie