Message-ID: From: "yamert89 (@yamert89)" To: "pgjdbc/pgjdbc" Date: Sat, 31 Jan 2026 19:33:38 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3921: Support test.url.* properties in osgi tests In-Reply-To: References: List-Id: X-GitHub-Author-Login: yamert89 X-GitHub-Comment-Id: 3829153729 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3921 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3921#issuecomment-3829153729 Content-Type: text/plain; charset=utf-8 ``` private static Properties getProperties() { Properties p = loadPropertyFiles("build.properties"); p.putAll(System.getProperties()); Properties p2 = new Properties(); for (Map.Entry entry : p.entrySet()) { if (PGProperty.forName((String) entry.getKey()) != null) { // This line drops all non-standard properties p2.put(entry.getKey(), entry.getValue()); } } return p2; } ```