You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2023/05/15 13:34:27 UTC

[sling-org-apache-sling-testing-resourceresolver-mock] branch master updated: SLING-11879 Update OSGi Converter Dependency to fix Double to BigDecimal conversion with Java 17

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

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-resourceresolver-mock.git


The following commit(s) were added to refs/heads/master by this push:
     new 8375543  SLING-11879 Update OSGi Converter Dependency to fix Double to BigDecimal conversion with Java 17
8375543 is described below

commit 8375543149b91469a87a907330f90b6689c9200e
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Mon May 15 15:34:19 2023 +0200

    SLING-11879 Update OSGi Converter Dependency to fix Double to BigDecimal conversion with Java 17
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 325e449..22effe2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -175,7 +175,8 @@
             <dependency>
                 <groupId>org.osgi</groupId>
                 <artifactId>org.osgi.util.converter</artifactId>
-                <version>1.0.0</version>
+                <!-- Versions below 1.0.8 lead to problems converting values to BigDecimal with Java 17 -->
+                <version>1.0.8</version>
             </dependency>
             <dependency>
                 <groupId>org.osgi</groupId>