GitHub user jdanekrh opened a pull request:
https://github.com/apache/activemq-artemis/pull/2055
ARTEMIS-1449 Artemis does not start on Oracle JDK 9
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jdanekrh/activemq-artemis
jd_ARTEMIS-1449_jdk9_run
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2055.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2055
----
commit 5d668389b27d10526e157d4abf5efcf94a108c64
Author: Jiri Danek <jdanek@...>
Date: 2018-05-01T06:15:51Z
ARTEMIS-1449 Add the classes JRE 11 will remove as explicit dependencies
Since the classes in question are marked for removal, using the
``--add-modules java.xml.bind` JVM option would be only a temporary
solution. Pulling them as dependencies from repo1.maven.org and
distributing them with Artemis should be more permanent one.
commit db32c7221e7edfcdfa42c209efea68f588f92581
Author: Jiri Danek <jdanek@...>
Date: 2018-05-01T06:27:20Z
ARTEMIS-1449 Remove deprecated -XX:+UseFastAccessorMethods JVM option
This option was removed in JRE 10 and its presence causes error on startup.
Artemis still does not compile on JDK 9 and up, so what I tried was
to compile on JDK 1.8 and then start Artemis on 1.8 and 10.
That now works for me.
----
---