Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1070

Support JDK10 builds

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10.4
    • 2.10.5
    • Build system
    • None

    Description

      As noted on the ML, when using a JDK 10 to run the build, it fails, with the following excerpt from the stacktrace:

      Caused by: java.lang.NullPointerException
          at org.apache.maven.surefire.shade.org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast (SystemUtils.java:1626)
      

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            juanpablo Juan Pablo Santos Rodríguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: