Skip to content

Commit f62a8bf

Browse files
committed
Revert changes with unclear motivation
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
1 parent 8165e46 commit f62a8bf

File tree

6 files changed

+2
-35
lines changed

6 files changed

+2
-35
lines changed

client/ant-build.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -361,12 +361,6 @@
361361
<jvmarg value="-Xmx2048m" />
362362
<!-- https://stackoverflow.com/questions/54205486 -->
363363
<jvmarg value="-Xshare:off" />
364-
<jvmarg value="--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED"/>
365-
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset=ALL-UNNAMED"/>
366-
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.internal=ALL-UNNAMED"/>
367-
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.providers=ALL-UNNAMED"/>
368-
<jvmarg value="--add-opens=java.sql.rowset/javax.sql.rowset=ALL-UNNAMED"/>
369-
<jvmarg value="--add-opens=java.sql/java.sql=ALL-UNNAMED"/>
370364
<classpath>
371365
<path refid="testclasspath" />
372366
<dirset dir="${test_classes}"/>

command/build.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,6 @@
100100
<jvmarg value="-Xmx2048m" />
101101
<!-- https://stackoverflow.com/questions/54205486 -->
102102
<jvmarg value="-Xshare:off" />
103-
<jvmarg value="--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED"/>
104-
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset=ALL-UNNAMED"/>
105-
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.internal=ALL-UNNAMED"/>
106-
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.providers=ALL-UNNAMED"/>
107-
<jvmarg value="--add-opens=java.sql.rowset/javax.sql.rowset=ALL-UNNAMED"/>
108-
<jvmarg value="--add-opens=java.sql/java.sql=ALL-UNNAMED"/>
109103
<classpath>
110104
<path refid="testclasspath" />
111105
<dirset dir="${test_classes}"/>

donkey/build.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@
9999
<jvmarg value="-Xmx2048m" />
100100
<!-- https://stackoverflow.com/questions/54205486 -->
101101
<jvmarg value="-Xshare:off" />
102-
<jvmarg value="--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED"/>
103-
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset=ALL-UNNAMED"/>
104-
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.internal=ALL-UNNAMED"/>
105-
<jvmarg value="--add-opens=java.sql.rowset/com.sun.rowset.providers=ALL-UNNAMED"/>
106-
<jvmarg value="--add-opens=java.sql.rowset/javax.sql.rowset=ALL-UNNAMED"/>
107-
<jvmarg value="--add-opens=java.sql/java.sql=ALL-UNNAMED"/>
108102
<classpath>
109103
<path refid="testclasspath" />
110104
<dirset dir="${test_classes}"/>

server/build.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,10 +1103,8 @@
11031103

11041104
<target name="create-derby-db" depends="compile">
11051105
<!-- re-create the embedded database -->
1106-
<delete dir="appdata/mirthdb" />
1106+
<delete dir="mirthdb" />
11071107
<java classname="com.mirth.connect.server.tools.ScriptRunner" fork="true" dir="${basedir}" failonerror="true">
1108-
<!-- Set Derby home so it creates mirthdb inside appdata -->
1109-
<jvmarg value="-Dderby.system.home=appdata" />
11101108
<classpath>
11111109
<pathelement location="${setup.server.lib}/${server.jar}" />
11121110
<pathelement location="classes" />

server/test/com/mirth/connect/model/PublicServerSettingsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void defaultMetaDataColumnsTest() {
5757

5858
@Test
5959
public void queueBufferSizeTest() {
60-
com.mirth.connect.model.PublicServerSettings publicServerSettings = new com.mirth.connect.model.PublicServerSettings(serverSettings);
60+
PublicServerSettings publicServerSettings = new PublicServerSettings(serverSettings);
6161
assertTrue(1000 == publicServerSettings.getQueueBufferSize());
6262
}
6363

server/test/com/mirth/connect/server/controllers/TestUtils.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -552,19 +552,6 @@ public static void fixMessageIdSequence(String channelId) throws Exception {
552552
try {
553553
connection = getConnection();
554554
statement = connection.createStatement();
555-
// Check if D_MESSAGE_SEQUENCES table exists
556-
result = statement.executeQuery(
557-
"SELECT COUNT(*) FROM SYS.SYSTABLES WHERE UPPER(TABLENAME) = 'D_MESSAGE_SEQUENCES'"
558-
);
559-
result.next();
560-
int tableExists = result.getInt(1);
561-
close(result);
562-
563-
// Create the table if it doesn't exist
564-
if (tableExists == 0) {
565-
statement.execute("CREATE TABLE D_MESSAGE_SEQUENCES (LOCAL_CHANNEL_ID BIGINT NOT NULL PRIMARY KEY)");
566-
}
567-
568555
result = statement.executeQuery("SELECT MAX(id) FROM d_m" + localChannelId);
569556
result.next();
570557
maxId = result.getLong(1) + 1;

0 commit comments

Comments
 (0)