From ec004e9ba376c902c63d1450af3f85dd093205bf Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期一, 16 一月 2023 14:11:45 +0800
Subject: [PATCH] add 增加 (开发、测试、打包)期间必备的jvm参数

---
 pom.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7b2a342..fd9fdbd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -374,7 +374,11 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>${maven-surefire-plugin.version}</version>
                 <configuration>
-                    <argLine>-Dfile.encoding=UTF-8</argLine>
+                    <argLine>
+                        -Dfile.encoding=UTF-8
+                        --add-opens java.base/java.lang=ALL-UNNAMED
+                        --add-opens java.base/java.lang.invoke=ALL-UNNAMED
+                    </argLine>
                     <!-- 鏍规嵁鎵撳寘鐜鎵ц瀵瑰簲鐨凘Tag娴嬭瘯鏂规硶 -->
                     <groups>${profiles.active}</groups>
                     <!-- 鎺掗櫎鏍囩 -->

--
Gitblit v1.9.3