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

Lower build requirement from Java 14+ to Java 11+ #940

Merged
merged 4 commits into from
Jul 6, 2021

Commits on Apr 29, 2021

  1. Lower build requirement from Java 14+ to Java 11+

    Avoid use of -Werror -Xlint:all, which may change significantly across
    java releases (new warnings could be added). Instead, just list the
    warnings individually.
    
    Workaround JDK 11 compiler bug (JDK-8209058) that only impacts test fixture
    code in the build itself.
    
    Signed-off-by: Robert Muir <[email protected]>
    rmuir committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    89478ea View commit details
    Browse the repository at this point in the history
  2. Disable warning around -source 7 -release 7 for java version checker

    The java version checker triggers some default warnings because it
    targets java7:
    
    ```
    > Task :distribution:tools:java-version-checker:compileJava FAILED
    warning: [options] source value 7 is obsolete and will be removed in a future release
    warning: [options] target value 7 is obsolete and will be removed in a future release
    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    error: warnings found and -Werror specified
    ```
    
    Suppress this warning explicitly for this module.
    
    Signed-off-by: Robert Muir <[email protected]>
    rmuir committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    bc72cd3 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. more java14 -> java11 cleanup

    Signed-off-by: Robert Muir <[email protected]>
    rmuir committed May 4, 2021
    Configuration menu
    Copy the full SHA
    4f0b498 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. Merge branch 'java_11_build_support' of https://github.com/rmuir/Open…

    …Search into rmuir-java_11_build_support
    
    Signed-off-by: dblock <[email protected]>
    dblock committed Jul 6, 2021
    Configuration menu
    Copy the full SHA
    39b7d6c View commit details
    Browse the repository at this point in the history