Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.0.0
-
None
-
None
Description
Running unit tests w/ JDK 11 trips over some issues w/ the new module system. These can be worked around with the new --add-opens etc. commands. I think we need to add a build profile for JDK 11 to add some extra args to the test runners.
In particular:
1) removal of jaxb from java itself (used in pmml export in mllib)
2) Some reflective access which results in failures, eg.
Unable to make field jdk.internal.ref.PhantomCleanable jdk.internal.ref.PhantomCleanable.prev accessible: module java.base does not "opens jdk.internal.ref" to unnamed module
3) Some reflective access which results in warnings (you can add --illegal-access=warn to see all of these).
All I'm proposing we do here is put in the required handling to make these problems go away, not necessarily do the "right" thing by no longer referencing these unexposed internals.
Attachments
Issue Links
- links to