Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jrp2o-0006Pc-Se for pgsql-jdbc@arkaria.postgresql.org; Sat, 04 Jul 2020 20:45:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jrp2n-0004Sw-RI for pgsql-jdbc@arkaria.postgresql.org; Sat, 04 Jul 2020 20:45:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jrp2n-0004Sp-La for pgsql-jdbc@lists.postgresql.org; Sat, 04 Jul 2020 20:45:53 +0000 Received: from out-20.smtp.github.com ([192.30.252.203]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jrp2l-0006yC-5l for pgsql-jdbc@lists.postgresql.org; Sat, 04 Jul 2020 20:45:53 +0000 Received: from github-lowworker-edec459.ac4-iad.github.net (github-lowworker-edec459.ac4-iad.github.net [10.52.18.32]) by smtp.github.com (Postfix) with ESMTP id 703678C0347 for ; Sat, 4 Jul 2020 13:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1593895549; bh=EZDtEk/vQNLA8+ngNusXZO68IPaI62JsooBkE+FvY/k=; h=Date:From:To:Subject:From; b=x1YFgCUafVNxmYkHe3SPiJOdM78uXG7gykak+U06T9zPFfFMWs57Nj5d2JGQTfcRe WjTOW6m1vSshh2aq6XQavJ1YYHcpi0q33PWy7l54OVLyK+x8dlW2Y0BsQbATxZNt3k R6fffRCkItQhwhaEwwLW7SPdPPWXY3MZDnCDwhAA= Date: Sat, 04 Jul 2020 13:45:49 -0700 From: Vladimir Sitnikov To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 0b7575: fix: avoid NPE when initializing SingleCertValidat... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 0b7575a97efac445f1a1a645942f364c9b93aef2 https://github.com/pgjdbc/pgjdbc/commit/0b7575a97efac445f1a1a645942f364c9b93aef2 Author: Vladimir Sitnikov Date: 2020-07-04 (Sat, 04 Jul 2020) Changed paths: M pgjdbc/src/main/java/org/postgresql/ssl/SingleCertValidatingFactory.java Log Message: ----------- fix: avoid NPE when initializing SingleCertValidatingFactory with classpath resource and contextclassloader is null