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 1lfolb-0007d5-09 for pgsql-jdbc@arkaria.postgresql.org; Sun, 09 May 2021 19:07:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lfolZ-0000Pz-SC for pgsql-jdbc@arkaria.postgresql.org; Sun, 09 May 2021 19:07:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfolZ-0000Pq-KX for pgsql-jdbc@lists.postgresql.org; Sun, 09 May 2021 19:07:01 +0000 Received: from out-18.smtp.github.com ([192.30.252.201] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfolX-000642-98 for pgsql-jdbc@lists.postgresql.org; Sun, 09 May 2021 19:07:00 +0000 Received: from github.com (hubbernetes-node-8d4ea37.va3-iad.github.net [10.48.204.41]) by smtp.github.com (Postfix) with ESMTPA id 012D834074E for ; Sun, 9 May 2021 12:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1620587218; bh=EYAw4CB/rKIoUJED5X3iLNRCAUD4glxPXQ8q5wJfoFo=; h=Date:From:To:Subject:From; b=hafG0ZxZGSXHSvNCd4Yc4EkuWb2/5etYCubYdva8gdkEkhsYHtH391seKa3nP0s3c w/aYWU/W5+Yf9XEsPW5HUkHLD30uL8NXgINcVQo/nAuW6KT+ezQ9tN1asoegjfPV7g xEzJc4JkiKZUxdFL4E3j9jUJ6CEBWDPKTCtRfRBA= Date: Sun, 09 May 2021 12:06:57 -0700 From: Vladimir Sitnikov To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] c82df0: fix: rework OSGi bundle activator so it does not r... 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: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: c82df0e15c72ba4ab62b3f43da886908831a2859 https://github.com/pgjdbc/pgjdbc/commit/c82df0e15c72ba4ab62b3f43da886908831a2859 Author: Vladimir Sitnikov Date: 2021-05-09 (Sun, 09 May 2021) Changed paths: M bom/build.gradle.kts M build.gradle.kts M gradle.properties A pgjdbc-osgi-test/build.gradle.kts A pgjdbc-osgi-test/gradle.properties A pgjdbc-osgi-test/src/test/java/org/postgresql/test/osgi/DataSourceFactoryTest.java A pgjdbc-osgi-test/src/test/java/org/postgresql/test/osgi/DefaultPgjdbcOsgiOptions.java A pgjdbc-osgi-test/src/test/java/org/postgresql/test/osgi/PlainOsgiTest.java A pgjdbc-osgi-test/src/test/resources/exam.properties A pgjdbc-osgi-test/src/test/resources/logback-test.xml M pgjdbc/build.gradle.kts M pgjdbc/src/main/java/org/postgresql/osgi/PGBundleActivator.java M settings.gradle.kts Log Message: ----------- fix: rework OSGi bundle activator so it does not rely on exception message to check DataSourceFactory presence fixes #2133