Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Fri, 20 Oct 2017 15:22:52 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #943: fix: synchronize modification of shared calendar (#921) In-Reply-To: References: List-Id: X-GitHub-Author-Login: vlsi X-GitHub-Comment-Id: 338238263 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 943 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/943#issuecomment-338238263 Content-Type: text/plain; charset=utf-8 A conclusion: `org.postgresql.jdbc.TimestampUtils#getSharedCalendar` should be private to avoid leakage of `Calendar` to prevent non-synchronized access to the calendar in question