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

jlmonteiro pushed a commit to branch jakartaee-10-tck
in repository https://gitbox.apache.org/repos/asf/johnzon.git


The following commit(s) were added to refs/heads/jakartaee-10-tck by this push:
     new 0e644189 Fix NumberFormatCustomizationTest when running on jdk 13+
     new 7751e40d Merge pull request #107 from 
jungm/jakartaee-10-tck-numberformat
0e644189 is described below

commit 0e644189e7dc92fd5e7a01bf9736cb5ecd829a8d
Author: Markus Jung <m...@markus-jung.dev>
AuthorDate: Sun Jun 11 20:53:35 2023 +0200

    Fix NumberFormatCustomizationTest when running on jdk 13+
---
 tck/jsonb/pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tck/jsonb/pom.xml b/tck/jsonb/pom.xml
index 1d7cf9d4..e39b7e83 100644
--- a/tck/jsonb/pom.xml
+++ b/tck/jsonb/pom.xml
@@ -138,8 +138,12 @@
           <systemProperties>
             
<signature.sigTestClasspath>${project.build.outputDirectory}</signature.sigTestClasspath>
 
+            <!-- don't serialize BigDecimal/BigInteger as strings. Usually 
enabled by default in johnzon, see 
https://github.com/jakartaee/jsonb-api/issues/187 -->
             
<johnzon.use-bigdecimal-stringadapter>false</johnzon.use-bigdecimal-stringadapter>
             
<johnzon.use-biginteger-stringadapter>false</johnzon.use-biginteger-stringadapter>
+
+            <!-- needed to pass JSON-B 3 TCKs on jdk 13+, see 
https://github.com/jakartaee/jsonb-api/issues/272 -->
+            <java.locale.providers>COMPAT</java.locale.providers>
           </systemProperties>
           <argLine>-Duser.language=en -Duser.region=US</argLine>
         </configuration>

Reply via email to