Skip to content

[JAVA] Make ClientSession AutoCloseable #31

Open

Description

@philippeVerney

Is your feature request related to a problem? Please describe.
When working in JAVA, it is nice to rely on autocloseable class to be sure native resources are freed.

Describe the solution you'd like
I would like SWIG to generate an autocloseable ClientSession java class

Describe alternatives you've considered
Close session by myself in java.

Additional context
The close should be forced after a certain timeout to be sure that the native resources are freed in all cases.

Activity

  1. added 14 commits that reference this issue on Apr 30, 2026
    75bd32c
    5584dba
    7005e8d
    f6b8007
    6002290
    663e3d3
    81d01d9
    a0fe9fa
    0c7ea35
    aa4d401
    9a37577
    a777022
    7fb5004
    54e867d
  2. 43 remaining items

  3. added 14 commits that reference this issue on May 12, 2026
    f36ec2a
    6ed68aa
    caa8fd4
    78a9ea4
    359375f
    6cdcda9
    643906e
    b61d74f
    dfc530c
    924b68f
    ca93f4e
    c655bca
    91d39b7
    5cf04f2
  4. added a commit that references this issue on Jun 1, 2026
    960618c
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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions