Skip to content

Dependency updates #438

Closed
Closed

Description

@Stewori

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

Activity

  1. added this to the 2.7.5 milestone on Jul 8, 2026
  2. jeff5 commented on Jul 9, 2026

    @jeff5
    Member

    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_socket fails too often). However, there is a task you can invoke manually from the comfort of your own machine with:

    gh workflow run java-versions-regrtest.yml --ref name-of-my-branch
    
  3. jeff5 commented on Jul 20, 2026

    @jeff5
    Member

    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 :

    asm-9.7.jar -> 9.10.1
    asm-commons-9.7.jar -> 9.10.1
    asm-util-9.7.jar -> 9.10.1
    

    Batch B @Stewori

    bcpkix-jdk18on-1.78.1.jar -> 1.84
    bcprov-jdk18on-1.78.1.jar -> 1.84
    

    Batch C @jeff5

    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
    

    Batch J @jeff5

    jffi-1.3.15.jar -> 1.4.0
    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
    

    Batch N @Stewori

    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
    

    Batch X

    postgresql-42.1.1.jre7.jar -> 42.7.13
    mysql-connector-java-5.1.42-bin.jar -> 8.0.33
    icu4j-75.1.jar -> 78.3
    junit-4.10.jar -> 4.13.2
    
  4. jeff5 commented on Jul 22, 2026

    @jeff5
    Member

    I'm working on batch J

  5. jeff5 commented on Jul 24, 2026

    @jeff5
    Member

    I'll take batch C. @Stewori Got time for batch X and that closes it?

  6. jeff5 commented on Jul 25, 2026

    @jeff5
    Member

    commons-compress-1.28.0 gives me test failures in test_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() and close() of a compressed stream. We call finish(), which flushes then destroys (sets to null) some internal buffer data, but close() calls finish() again which interrogates data, which is now null. I think if we just call close() we're good.

    Arguably we're using it incorrectly (compare usage example). Arguably finish() should check.

  7. ohumbel commented on Jul 26, 2026

    @ohumbel
    Contributor

    commons-compress-1.28.0 gives me test failures in test_bz2. I'll investigate. Rest of batch C seems ok.

    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.

  8. jeff5 commented on Jul 26, 2026

    @jeff5
    Member

    ... They fixed it in the upcoming 1.29 version. Meanwhile you could make a small workaround by only calling one of the methods.

    That was my conclusion. As long as close() still calls finish() we ought not to have to revert it later.

  9. linked a pull request that will close this issueUpdate icu4j to 77.1 and postgre sql to 42.7.13 #447on Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions