This is an automated email from the ASF dual-hosted git repository.
nizhikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new c95befa IGNITE-13172 Fix ignite-scalar module compilation on JDK 11+
(#7955)
c95befa is described below
commit c95befa3fa098df9fdc6d2f210b6983ef2e133c6
Author: Aleksey Plekhanov <[email protected]>
AuthorDate: Thu Jun 25 18:40:22 2020 +0500
IGNITE-13172 Fix ignite-scalar module compilation on JDK 11+ (#7955)
---
.../org/apache/ignite/visor/commands/start/VisorStartCommand.scala | 4 ++--
parent/pom.xml | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git
a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/start/VisorStartCommand.scala
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/start/VisorStartCommand.scala
index 3081f54..86273e6 100644
---
a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/start/VisorStartCommand.scala
+++
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/start/VisorStartCommand.scala
@@ -299,8 +299,8 @@ class VisorStartCommand extends VisorConsoleCommand {
val ue = "java.lang.UnsupportedOperationException: "
res.filter(!_.ok).groupBy(r => r).foreach {
- case (r, _) if r.errMsg.lines.next().startsWith(ue) =>
- errT += (r.host, r.errMsg.lines.next().replace(ue, ""))
+ case (r, _) if
r.errMsg.linesIterator.next().startsWith(ue) =>
+ errT += (r.host,
r.errMsg.linesIterator.next().replace(ue, ""))
case (r, _) =>
errT += (r.host, r.errMsg.replace("\t", "
").split(U.nl()).toSeq)
diff --git a/parent/pom.xml b/parent/pom.xml
index c8d7a5b..2c8630c 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -235,6 +235,9 @@
<jvmArg>-Xms512m</jvmArg>
<jvmArg>-Xmx1024m</jvmArg>
</jvmArgs>
+ <args>
+ <arg>-nobootcp</arg>
+ </args>
</configuration>
<executions>
<execution>