[jira] [Commented] (IGNITE-11190) Fix Apache Ignite tests of Camel Streamer under Java 11

2019-03-05 Thread Roman Shtykh (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-11190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16784310#comment-16784310
 ] 

Roman Shtykh commented on IGNITE-11190:
---

[~dpavlov] For example, I build core/ from master branch like this from command 
line

{{$ javac -version}}
{{javac 11.0.2}}

{{$ mvn clean package -Pjava-9+ -DskipTests}}

And get (sorry, some Japanese) this. I think I am missing some options?
{quote}[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar (module-javadoc) on 
project ignite-core: MavenReportException: Error while creating archive: 
[ERROR] Exit code: 1 - 
/Users/r/repos/ignite/modules/core/src/main/java/org/apache/ignite/internal/tck/TCKMBeanServerBuilder.java:20:
 エラー: パッケージcom.sun.jmx.mbeanserverは表示不可です
[ERROR] import com.sun.jmx.mbeanserver.JmxMBeanServer;
[ERROR]   ^
[ERROR]   
(パッケージcom.sun.jmx.mbeanserverはモジュールjava.managementで宣言されていますが、エクスポートされていません)
[ERROR] 
/Users/r/repos/ignite/modules/core/src/main/java/org/apache/ignite/internal/mem/file/MappedFile.java:29:
 エラー: パッケージsun.nio.chは表示不可です
[ERROR] import sun.nio.ch.FileChannelImpl;
[ERROR]   ^
[ERROR]   (パッケージsun.nio.chはモジュールjava.baseで宣言されていますが、名前のないモジュールにエクスポートされていません)
[ERROR] 
[ERROR] Command line was: 
/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/bin/javadoc 
@options @packages
[ERROR] 
[ERROR] Refer to the generated Javadoc files in 
'/Users/r/repos/ignite/modules/core/target/apidocs' dir.



{quote}

> Fix Apache Ignite tests of Camel Streamer under Java 11
> ---
>
> Key: IGNITE-11190
> URL: https://issues.apache.org/jira/browse/IGNITE-11190
> Project: Ignite
>  Issue Type: Bug
>Reporter: Dmitriy Pavlov
>Assignee: Roman Shtykh
>Priority: Major
>
> Under Java 11 tests failed with an Error 500 - internal server error
> https://ci.ignite.apache.org/viewLog.html?buildId=2973663=buildResultsDiv=IgniteTests24Java8_Streamers
> Probably we need to pass startup parameters to 3rd party product/JVM.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-11190) Fix Apache Ignite tests of Camel Streamer under Java 11

2019-03-01 Thread Dmitriy Pavlov (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-11190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16781978#comment-16781978
 ] 

Dmitriy Pavlov commented on IGNITE-11190:
-

[~roman_s] about class version is it ok, most libs use older Java class 
versions.

Could you please share details about errors you have? I've used maven build 
from Idea interface and it works well. Probably some additional profiles need 
to be enabled.

> Fix Apache Ignite tests of Camel Streamer under Java 11
> ---
>
> Key: IGNITE-11190
> URL: https://issues.apache.org/jira/browse/IGNITE-11190
> Project: Ignite
>  Issue Type: Bug
>Reporter: Dmitriy Pavlov
>Assignee: Roman Shtykh
>Priority: Major
>
> Under Java 11 tests failed with an Error 500 - internal server error
> https://ci.ignite.apache.org/viewLog.html?buildId=2973663=buildResultsDiv=IgniteTests24Java8_Streamers
> Probably we need to pass startup parameters to 3rd party product/JVM.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-11190) Fix Apache Ignite tests of Camel Streamer under Java 11

2019-02-27 Thread Roman Shtykh (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-11190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16779181#comment-16779181
 ] 

Roman Shtykh commented on IGNITE-11190:
---

[~dpavlov] How do you build Ignite with Java 11 locally?
I used
{quote}mvn clean package -Pjava-9+ -DskipTests 
{quote}
with OpenJdk 11.0.2 but it gives me lots of errors, related to 'sun' packages 
etc.

> Fix Apache Ignite tests of Camel Streamer under Java 11
> ---
>
> Key: IGNITE-11190
> URL: https://issues.apache.org/jira/browse/IGNITE-11190
> Project: Ignite
>  Issue Type: Bug
>Reporter: Dmitriy Pavlov
>Assignee: Roman Shtykh
>Priority: Major
>
> Under Java 11 tests failed with an Error 500 - internal server error
> https://ci.ignite.apache.org/viewLog.html?buildId=2973663=buildResultsDiv=IgniteTests24Java8_Streamers
> Probably we need to pass startup parameters to 3rd party product/JVM.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-11190) Fix Apache Ignite tests of Camel Streamer under Java 11

2019-02-27 Thread Roman Shtykh (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-11190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16779143#comment-16779143
 ] 

Roman Shtykh commented on IGNITE-11190:
---

Looks like Camel 3.x is needed to work with Java 11
http://camel.465427.n5.nabble.com/CAMEL-3-Java-8-and-Java-11-discussion-td5827333.html#a5827406

> Fix Apache Ignite tests of Camel Streamer under Java 11
> ---
>
> Key: IGNITE-11190
> URL: https://issues.apache.org/jira/browse/IGNITE-11190
> Project: Ignite
>  Issue Type: Bug
>Reporter: Dmitriy Pavlov
>Assignee: Roman Shtykh
>Priority: Major
>
> Under Java 11 tests failed with an Error 500 - internal server error
> https://ci.ignite.apache.org/viewLog.html?buildId=2973663=buildResultsDiv=IgniteTests24Java8_Streamers
> Probably we need to pass startup parameters to 3rd party product/JVM.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)