[tor-commits] [metrics-base/master] Update PostgreSQL JDBC driver version.

karsten at torproject.org karsten at torproject.org
Tue Sep 17 07:36:25 UTC 2019


commit 0674958512c705255d4ec4631d3280068ce0a7af
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Tue Sep 17 09:31:47 2019 +0200

    Update PostgreSQL JDBC driver version.
    
    There's an issue with Java 9+ complaining about an ilegal reflective
    access [...] to field java.util.TimeZone.defaultTimeZone which is
    fixed in PostgreSQL JDBC driver version 42.2.0. Updating to 42.2.5
    which happens to be in Debian buster under the assumption that is has
    seen more usage than 42.2.0 (containing the fix) or 42.2.7 (latest at
    the moment).
    
    Found while running integration tests using metrics-test.
---
 java/ivy.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/ivy.xml b/java/ivy.xml
index e5f07aa..2860b74 100644
--- a/java/ivy.xml
+++ b/java/ivy.xml
@@ -46,7 +46,7 @@
     <dependency org="org.rosuda.REngine" name="Rserve" rev="1.8.1" />
 
     <!-- Database dependencies. -->
-    <dependency org="org.postgresql" name="postgresql" rev="9.4.1212" />
+    <dependency org="org.postgresql" name="postgresql" rev="42.2.5" />
 
     <!-- Exclude all source or javadoc artifacts. -->
     <exclude org="*" ext="*" type="source" />



More information about the tor-commits mailing list