Skip to content

Commit

Permalink
MOXy test fix on JDK 21 by adding access to java.math module
Browse files Browse the repository at this point in the history
Signed-off-by: Radek Felcman <[email protected]>
  • Loading branch information
rfelcman committed Jun 21, 2023
1 parent edbc416 commit d342748
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions foundation/eclipselink.core.test/antbuild.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2023 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -56,7 +56,7 @@
* e.g. ${env.XXX}.
* - Ant properties are lower case.
-->
<project name="eclipselink.core.test" default="build" basedir="." xmlns:if="ant:if">
<project name="eclipselink.core.test" default="build" basedir=".">

<echo message="CORETEST_BEGINS..."/>
<available file="../${ant.project.name}" type="dir" property="core_test.is.local"/>
Expand Down
4 changes: 2 additions & 2 deletions moxy/eclipselink.moxy.test/antbuild.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
Copyright (c) 2018, 2022 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2023 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -541,7 +541,7 @@
<mkdir dir="${report.dir}/jaxb"/>
<mkdir dir="${build.dir}/${test.dir}/${tmp.dir}"/>
<!-- Can be set e.g. in test.properties to add VM options for a particular platform/driver -->
<property name="additional.jvmargs" value="-Ddummy2=dummy"/>
<property name="additional.jvmargs" value="-Ddummy2=dummy --add-opens java.base/java.math=ALL-UNNAMED"/>
<junit jvm="${test.junit.jvm.exec}" failureproperty="junit.failed.jaxb" logfailedtests="true"
printsummary="yes" fork="true" dir="${build.dir}/${test.dir}" tempdir="${build.dir}/${test.dir}" showoutput="yes" maxmemory="1024m">
<!--<jvmarg value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"/>-->
Expand Down

0 comments on commit d342748

Please sign in to comment.