Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build for JDK 18 >= EA b21 #1249

Merged
merged 1 commit into from Nov 17, 2021
Merged

Fix build for JDK 18 >= EA b21 #1249

merged 1 commit into from Nov 17, 2021

Commits on Nov 17, 2021

  1. Fix build for JDK 18 >= EA b21

    Ant task `java` with parameter `fork="false"` calls
    `java.lang.System.setSecurityManager`,
    however tests should not call it,
    because as part of work on JEP 411
    in JDK 17 it was marked as deprecated
    (see https://bugs.openjdk.java.net/browse/JDK-8264713)
    and in JDK 18 throws UnsupportedOperationException
    unless system property `java.security.manager` set to `allow`
    (see https://bugs.openjdk.java.net/browse/JDK-8270380).
    Godin committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    7e207e6 View commit details
    Browse the repository at this point in the history