Uploaded image for project: 'Hibernate OGM'
  1. OGM-753

Provide build options to get tests to work in JDK9

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0.Beta1
    • Component/s: build
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      There are two issues when building with JDK9:

      • one is because of the flapdoodle plugin using reflection on a JDK internal class to read some fields
      • the other is the Lucene Directory actively asserting against using JDK9, as there's an issue with Lucene (which the OpenJDK and Lucene team are discussing about)

      Neither of these should stop us from testing our own stuff, so I'll be sending patches to workaround these:

      • disable the assertions (Surefire enables them by default but we don't need them)
      • configure Jenkins jobs to use an external MongoDB instance

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: