Closed
Milestone
Description
I determined the following update schedule. Is there anything that should not be updated for some reason? Or can we go just as tests permit? (Don't worry about the netty updates, I'll do them separately and fix the issue thereby.)
jffi-1.3.15.jar -> 1.4.0
asm-9.7.jar -> 9.10.1
asm-commons-9.7.jar -> 9.10.1
asm-util-9.7.jar -> 9.10.1
bcpkix-jdk18on-1.78.1.jar -> 1.84
bcprov-jdk18on-1.78.1.jar -> 1.84
commons-compress-1.26.2.jar -> 1.28.0
commons-io-2.16.1.jar -> 2.22.0
failureaccess-1.0.1.jar -> 1.0.3
guava-33.2.1-jre.jar -> 33.6.0-jre
icu4j-75.1.jar -> 78.3
jnr-constants-0.10.4.jar -> 0.11.0
jnr-ffi-2.2.16.jar -> 2.3.0
jnr-posix-3.1.19.jar -> 3.2.1
junit-4.10.jar -> 4.13.2
mysql-connector-java-5.1.42-bin.jar -> 8.0.33
netty-buffer-4.1.73.Final.jar -> 4.1.136.Final
netty-codec-4.1.73.Final.jar -> 4.1.136.Final
netty-common-4.1.73.Final.jar -> 4.1.136.Final
netty-handler-4.1.73.Final.jar -> 4.1.136.Final
netty-resolver-4.1.73.Final.jar -> 4.1.136.Final
netty-transport-4.1.73.Final.jar -> 4.1.136.Final
postgresql-42.1.1.jre7.jar -> 42.7.13
Reacted by Jeff Allen
Metadata
Metadata
Assignees
Labels
No labels
Activity
jeff5 commentedon Jul 9, 2026
I've recently updated some of these. #431 #432 . It's annoying the JNR ones are out of date already.
I would do them in batches, with a test between. It could all be one PR as long as they are distinct change sets.
I think we must test against Java 17 and 25, which the CI doesn't automatically do (because
test_socketfails too often). However, there is a task you can invoke manually from the comfort of your own machine with:jeff5 commentedon Jul 20, 2026
A batching suggestion that puts together things I know to be related, but is otherwise roughly "sqrt N groups of sqrt N". @Stewori you've already done some work on Netty #349 and the BC JARS (SSL) seem a close relative.
Batch A is already in as #431 :
Batch B @Stewori
Batch C @jeff5
Batch J @jeff5
Batch N @Stewori
Batch X
jeff5 commentedon Jul 22, 2026
I'm working on batch J
jeff5 commentedon Jul 24, 2026
I'll take batch C. @Stewori Got time for batch X and that closes it?
jeff5 commentedon Jul 25, 2026
commons-compress-1.28.0gives me test failures intest_bz2. I'll investigate. Rest of batch C seems ok.Update: I can see the problem. Apache have changed the logic (in 1.27 I think) around
finish()andclose()of a compressed stream. We callfinish(), which flushes then destroys (sets tonull) some internal bufferdata, butclose()callsfinish()again which interrogatesdata, which is nownull. I think if we just callclose()we're good.Arguably we're using it incorrectly (compare usage example). Arguably
finish()should check.ohumbel commentedon Jul 26, 2026
I was in contact with the commons compress developers. They fixed it in the upcoming 1.29 version. Meanwhile you could make a small workaround by only calling one of the methods.
jeff5 commentedon Jul 26, 2026
That was my conclusion. As long as
close()still callsfinish()we ought not to have to revert it later.