This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_4_0_X by this push:
     new 8bba8177b6 GROOVY-11342: SQL enhancement to allow metadata access for 
execute (fix for 4_0_X)
8bba8177b6 is described below

commit 8bba8177b611551d42337fb6e85dd2163cb80d52
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun Mar 31 21:58:37 2024 +1000

    GROOVY-11342: SQL enhancement to allow metadata access for execute (fix for 
4_0_X)
---
 subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java 
b/subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java
index f17db5fdc0..c84dfd2164 100644
--- a/subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java
+++ b/subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java
@@ -4433,7 +4433,7 @@ public class Sql implements AutoCloseable {
     private Connection createConnection(DataSource dataSource) throws 
SQLException {
         Connection con;
         try {
-            con = java.security.AccessController.doPrivileged(new 
PrivilegedExceptionAction<>() {
+            con = java.security.AccessController.doPrivileged(new 
PrivilegedExceptionAction<Connection>() {
                 @Override
                 public Connection run() throws SQLException {
                     return dataSource.getConnection();

Reply via email to