Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aq2Tq-0006iq-Ts for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Apr 2016 17:52:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aq2Tq-0001ZS-4W for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Apr 2016 17:52:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aq2Tp-0001YT-IW for pgsql-jdbc@postgresql.org; Tue, 12 Apr 2016 17:52:01 +0000 Received: from plane.gmane.org ([80.91.229.3]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aq2Tl-0007wa-DV for pgsql-jdbc@postgresql.org; Tue, 12 Apr 2016 17:52:01 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aq2Ti-0002qM-T7 for pgsql-jdbc@postgresql.org; Tue, 12 Apr 2016 19:51:55 +0200 Received: from 217.31.70.82 ([217.31.70.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Apr 2016 19:51:54 +0200 Received: from chris by 217.31.70.82 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Apr 2016 19:51:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Christian Ullrich Subject: Support waffle>1.7.4 Date: Tue, 12 Apr 2016 19:51:49 +0200 Lines: 54 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000206010706020108050401" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217.31.70.82 X-Mozilla-News-Host: news://news.gmane.org:119 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org This is a multi-part message in MIME format. --------------000206010706020108050401 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, while lately discussion has mostly been about how to exclude waffle from the non-Windows build, I would like to request an update in the other direction. Last November, waffle-jna 1.7.5 was released, containing an incompatible API change that is also present in all released 1.8 versions. The fix is simple; as far as the code goes, it is a one-line patch. What incantations may be required on the Maven side, I do not know. The API change was made as part of fixing a handle leak [1]. Applying this patch raises the minimum required waffle version to 1.7.5 or 1.8.0. Thank you. [1] -- Christian --------------000206010706020108050401 Content-Type: text/plain; charset=UTF-8; name="0001-Track-API-change-in-Waffle-1.7.4.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Track-API-change-in-Waffle-1.7.4.patch" RnJvbSA0YTNiZWU4MTg3Y2U3MWJhYWYzZjdmZGYyZmZmM2IwZDRhNWMyNjc3 IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBDaHJpc3RpYW4gVWxs cmljaCA8Y2hyaXNAY2hydWxscmljaC5uZXQ+CkRhdGU6IFR1ZSwgMTIgQXBy IDIwMTYgMTk6NDM6MDkgKzAyMDAKU3ViamVjdDogW1BBVENIXSBUcmFjayBB UEkgY2hhbmdlIGluIFdhZmZsZSA+IDEuNy40LgoKLS0tCiBwZ2pkYmMvc3Jj L21haW4vamF2YS9vcmcvcG9zdGdyZXNxbC9zc3BpL1NTUElDbGllbnQuamF2 YSB8IDIgKy0KIDEgZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKSwgMSBk ZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL3BnamRiYy9zcmMvbWFpbi9qYXZh L29yZy9wb3N0Z3Jlc3FsL3NzcGkvU1NQSUNsaWVudC5qYXZhIGIvcGdqZGJj L3NyYy9tYWluL2phdmEvb3JnL3Bvc3RncmVzcWwvc3NwaS9TU1BJQ2xpZW50 LmphdmEKaW5kZXggZGU5MmEyZC4uNzQ4NzBlYiAxMDA2NDQKLS0tIGEvcGdq ZGJjL3NyYy9tYWluL2phdmEvb3JnL3Bvc3RncmVzcWwvc3NwaS9TU1BJQ2xp ZW50LmphdmEKKysrIGIvcGdqZGJjL3NyYy9tYWluL2phdmEvb3JnL3Bvc3Rn cmVzcWwvc3NwaS9TU1BJQ2xpZW50LmphdmEKQEAgLTE2MCw3ICsxNjAsNyBA QCBwdWJsaWMgY2xhc3MgU1NQSUNsaWVudCB7CiAKICAgICAgICAgc3NwaUNv bnRleHQgPSBuZXcgV2luZG93c1NlY3VyaXR5Q29udGV4dEltcGwoKTsKICAg ICAgICAgc3NwaUNvbnRleHQuc2V0UHJpbmNpcGFsTmFtZSh0YXJnZXROYW1l KTsKLSAgICAgICAgc3NwaUNvbnRleHQuc2V0Q3JlZGVudGlhbHNIYW5kbGUo Y2xpZW50Q3JlZGVudGlhbHMuZ2V0SGFuZGxlKCkpOworICAgICAgICBzc3Bp Q29udGV4dC5zZXRDcmVkZW50aWFsc0hhbmRsZShjbGllbnRDcmVkZW50aWFs cyk7CiAgICAgICAgIHNzcGlDb250ZXh0LnNldFNlY3VyaXR5UGFja2FnZShz ZWN1cml0eVBhY2thZ2UpOwogICAgICAgICBzc3BpQ29udGV4dC5pbml0aWFs aXplKG51bGwsIG51bGwsIHRhcmdldE5hbWUpOwogICAgICAgfSBjYXRjaCAo V2luMzJFeGNlcHRpb24gZXgpIHsKLS0gCjIuNy4wLndpbmRvd3MuMQoK --------------000206010706020108050401 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc --------------000206010706020108050401--