We're updating the issue view to help you get more done. 

Provide build options to get tests to work in JDK9

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

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major