Skip to content

Commit

Permalink
Some UTs fail when running under JDK17 (#4084)
Browse files Browse the repository at this point in the history
### Motivation

To make all UTs can run under JDK17

### Changes

add `--add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED`
  • Loading branch information
Reidddddd authored Sep 18, 2023
1 parent 9156276 commit 50e30db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@
<artifactId>rxjava</artifactId>
<version>${rxjava.version}</version>
</dependency>

<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>hppc</artifactId>
Expand Down Expand Up @@ -1284,6 +1284,7 @@
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED
--add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED
--add-opens java.base/java.util.stream=ALL-UNNAMED
--add-opens java.base/java.util.zip=ALL-UNNAMED
--add-opens java.base/java.time=ALL-UNNAMED
Expand Down

0 comments on commit 50e30db

Please sign in to comment.