Do not use getters in Session#toString

Description

The toString() implementation of most (if not all) implementations of Session use getters, instead of accessing the field to be used directly.

This has the unfortunate side-effect of recursive calls, when the toString method is used in (debug) logging in one of those getters.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created August 28, 2023 at 5:50 PM
Updated August 29, 2023 at 1:56 PM
Resolved August 29, 2023 at 1:56 PM