[
https://issues.apache.org/jira/browse/JSPWIKI-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16499577#comment-16499577
]
ASF subversion and git services commented on JSPWIKI-1070:
----------------------------------------------------------
Commit a49a5944d2cfdc853c42bd9d95b9eb6d915dd1e7 in jspwiki's branch
refs/heads/master from juanpablo
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=a49a594 ]
JSPWIKI-1070: support for JDK 10 builds
> Support JDK10 builds
> --------------------
>
> Key: JSPWIKI-1070
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1070
> Project: JSPWiki
> Issue Type: Task
> Components: Build system
> Affects Versions: 2.10.4
> Reporter: Juan Pablo Santos RodrÃguez
> Priority: Major
> Fix For: 2.10.5
>
>
> As noted on the ML, when using a JDK 10 to run the build, it fails, with the
> following excerpt from the stacktrace:
> {code}
> Caused by: java.lang.NullPointerException
> at
> org.apache.maven.surefire.shade.org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast
> (SystemUtils.java:1626)
> {code}
> which seems to be an incarnation of SUREFIRE-1439, updating the surefire
> version to 2.21.0 should be enough. Also, as per
> https://stackoverflow.com/a/49398936 the compiler plugin seems to need to
> explicit a newer version of the asm dependency (MCOMPILER-332)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)