Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2701

Allow reflection to all-unnamed modules for JDK9 integration testing

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8.0.Beta2
    • Component/s: build
    • Labels:
      None

      Description

      When running on JDK9 we now need to set this JVM flag: --add-opens=java.base/java.lang=ALL-UNNAMED to allow the Javassist based ProxyFactory to be initialized.

      This isn't the ideal solution for bytecode enhancement, but since better solutions are not available yet at least we can resume testing the other components and restore Continuous Integration to prevent further regressions.

        Attachments

          Activity

            People

            • Assignee:
              sanne Sanne Grinovero
              Reporter:
              sanne Sanne Grinovero
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: