Skip to content

Commit 143a77a

Browse files
committed
[bugfix] Remove java8-runtime-compatibility. Resolves a peer-review comment from @dizzzz
1 parent 482e060 commit 143a77a

File tree

4 files changed

+3
-29
lines changed

4 files changed

+3
-29
lines changed

exist-parent/pom.xml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,32 +1152,6 @@
11521152
</distributionManagement>
11531153

11541154
<profiles>
1155-
<profile>
1156-
<id>java8-runtime-compatibility</id>
1157-
<!--
1158-
By default, this sets the `-release 8` flag to javac
1159-
on JDK 9+, so that the produced class files
1160-
are runtime compatible with Java 8.
1161-
1162-
See - https://github.com/eclipse/jetty.project/issues/3244
1163-
1164-
You can disable at build time, by using the mvn
1165-
args: `-P !java8-runtime-compatibility`
1166-
-->
1167-
<activation>
1168-
<jdk>[1.9,)</jdk>
1169-
</activation>
1170-
<build>
1171-
<plugins>
1172-
<plugin>
1173-
<artifactId>maven-compiler-plugin</artifactId>
1174-
<configuration>
1175-
<release>8</release>
1176-
</configuration>
1177-
</plugin>
1178-
</plugins>
1179-
</build>
1180-
</profile>
11811155

11821156
<profile>
11831157
<!-- NOTE: this is used from the maven-release-plugin -->

extensions/modules/sql/src/test/java/org/exist/xquery/modules/sql/ConnectionIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public void getConnectionFromModuleIsAutomaticallyClosed() throws EXistException
142142
final XQueryContext mainQueryContext = mainCompiledQuery.getContext();
143143

144144
// get the context of the library module
145-
final Module[] libraryModules = mainQueryContext.getModules("http://mymodule.com");
145+
final org.exist.xquery.Module[] libraryModules = mainQueryContext.getModules("http://mymodule.com");
146146
assertEquals(1, libraryModules.length);
147147
assertTrue(libraryModules[0] instanceof ExternalModule);
148148
final ExternalModule libraryModule = (ExternalModule) libraryModules[0];

extensions/modules/sql/src/test/java/org/exist/xquery/modules/sql/ImplicitConnectionCloseIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public void getJndiConnectionFromModuleIsAutomaticallyClosed() throws EXistExcep
191191
final XQueryContext mainQueryContext = mainCompiledQuery.getContext();
192192

193193
// get the context of the library module
194-
final Module[] libraryModules = mainQueryContext.getModules("http://mymodule.com");
194+
final org.exist.xquery.Module[] libraryModules = mainQueryContext.getModules("http://mymodule.com");
195195
assertEquals(1, libraryModules.length);
196196
assertTrue(libraryModules[0] instanceof ExternalModule);
197197
final ExternalModule libraryModule = (ExternalModule) libraryModules[0];

extensions/modules/sql/src/test/java/org/exist/xquery/modules/sql/JndiConnectionIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public void getJndiConnectionFromModuleIsAutomaticallyClosed() throws EXistExcep
176176
final XQueryContext mainQueryContext = mainCompiledQuery.getContext();
177177

178178
// get the context of the library module
179-
final Module[] libraryModules = mainQueryContext.getModules("http://mymodule.com");
179+
final org.exist.xquery.Module[] libraryModules = mainQueryContext.getModules("http://mymodule.com");
180180
assertEquals(1, libraryModules.length);
181181
assertTrue(libraryModules[0] instanceof ExternalModule);
182182
final ExternalModule libraryModule = (ExternalModule) libraryModules[0];

0 commit comments

Comments
 (0)