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

Remove compiler support for JLS source/target < 1.8 #2551

Merged
merged 4 commits into from
Jul 24, 2024

Commits on Jul 24, 2024

  1. Configuration menu
    Copy the full SHA
    709e6b9 View commit details
    Browse the repository at this point in the history
  2. Test adaptation for unsupported Java versions

    The tests were updated to compile with at least Java 1.8 and against
    Java 1.8 jcl library.
    
    See eclipse-jdt#2536
    iloveeclipse committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    e54f26a View commit details
    Browse the repository at this point in the history
  3. Remove inlineJsrBytecode usage from code and tests, updated javadocs

    As noticed on the review, inlineJsrBytecode option makes no sense
    anymore and could be removed along with the related code.
    
    - Made the option enabled by default
    - Removed all the code paths for the case where the option was "off"
    - Updated tests to always assume the option is enabled.
    - made both JavaCore.COMPILER_CODEGEN_INLINE_JSR_BYTECODE and
    CompilerOptions.inlineJsrBytecode deprecated
    
    Note: CompilerOptions.inlineJsrBytecode field is left only in case some
    of the (non-API) clients used this field directly. Changing it will have
    no effect anyway as no code uses it in compiler.
    
    See eclipse-jdt#2536
    iloveeclipse committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    c2cd84c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7738bbe View commit details
    Browse the repository at this point in the history