Skip to content

Commit 11aa84b

Browse files
committed
Avoid warning about 'Sharing is only supported for boot loader classes'
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
1 parent ebf8e87 commit 11aa84b

File tree

4 files changed

+1264
-1256
lines changed

4 files changed

+1264
-1256
lines changed

client/ant-build.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@
359359
<junit haltonfailure="false" fork="true" forkmode="once">
360360
<jvmarg value="-Xms128m" />
361361
<jvmarg value="-Xmx2048m" />
362+
<!-- https://stackoverflow.com/questions/54205486 -->
363+
<jvmarg value="-Xshare:off" />
362364
<jvmarg value="--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED"/>
363365
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset=ALL-UNNAMED"/>
364366
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.internal=ALL-UNNAMED"/>

command/build.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@
9898
<junit haltonfailure="false" fork="true" forkmode="once">
9999
<jvmarg value="-Xms128m" />
100100
<jvmarg value="-Xmx2048m" />
101+
<!-- https://stackoverflow.com/questions/54205486 -->
102+
<jvmarg value="-Xshare:off" />
101103
<jvmarg value="--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED"/>
102104
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset=ALL-UNNAMED"/>
103105
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.internal=ALL-UNNAMED"/>

donkey/build.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@
9797
<junit haltonfailure="false" fork="true" forkmode="once">
9898
<jvmarg value="-Xms128m" />
9999
<jvmarg value="-Xmx2048m" />
100+
<!-- https://stackoverflow.com/questions/54205486 -->
101+
<jvmarg value="-Xshare:off" />
100102
<jvmarg value="--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED"/>
101103
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset=ALL-UNNAMED"/>
102104
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.internal=ALL-UNNAMED"/>

0 commit comments

Comments
 (0)