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

Initial preparation for Java 21 #2986

Merged
merged 26 commits into from
May 14, 2024
Merged

Initial preparation for Java 21 #2986

merged 26 commits into from
May 14, 2024

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    844e64a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47bb354 View commit details
    Browse the repository at this point in the history
  3. strict-jdk-21 profile

    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    80273b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7d1e6f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f8f4957 View commit details
    Browse the repository at this point in the history
  6. maven-plugin-plugin 3.12.0

    otherwise the descriptor goals fails analyzing class files compiled with
    Java 21
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    f99bc93 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a64804a View commit details
    Browse the repository at this point in the history
  8. don't use last as extension method

    because in Java 21
    getLast() has been introduced, throwing NoSuchElementException
    instead of returning null
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    f5a59f0 View commit details
    Browse the repository at this point in the history
  9. stubbed list in AbstractTypeArgumentTest

    To avoid interefence with the new Java 21 method getLast
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    3546425 View commit details
    Browse the repository at this point in the history
  10. discard the new wait0 private method in Object

    or the test will fail in Java 21
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    27f2cf3 View commit details
    Browse the repository at this point in the history
  11. deal with List changes in Java 21 and fixed bug in publicNativeMethod

    The test publicNativeMethod was indeed testing "publicStrictFpMethod":
    copy and paste error?
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    57e8d52 View commit details
    Browse the repository at this point in the history
  12. skip strictfp tests for Java 18 and later

    strictfp has no effect since Java 17 https://openjdk.org/jeps/306
    and it doesn't seem to be present at runtime in 17+
    see also https://bugs.eclipse.org/bugs/show_bug.cgi?id=545510#c6
    for sure, it fails with Java 21
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    7d58ba6 View commit details
    Browse the repository at this point in the history
  13. don't use last as extension method in Xtend formatter

    because in Java 21
    getLast() has been introduced, throwing NoSuchElementException
    instead of returning null
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    9057ca6 View commit details
    Browse the repository at this point in the history
  14. fixed a few Xtend type tests

    using Stubbed types
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    f168b21 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7736942 View commit details
    Browse the repository at this point in the history
  16. StubbedSuppressWarnings

    A stub type to use instead of relying on Java API, which, in Java 21 has
    lost the java.lang.annotation.Target} specification.
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    6ba2ac8 View commit details
    Browse the repository at this point in the history
  17. updated compiler tests to use lastOrNull

    or they would fail due to Java 21 getLast method
    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    4d84366 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    144e179 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    5e4c16d View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    fc2847d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    ada1b3d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    69ec75d View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    6bf27b6 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    762b1e6 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    6cc978f View commit details
    Browse the repository at this point in the history
  26. updated xtend gen file

    LorenzoBettini committed May 14, 2024
    Configuration menu
    Copy the full SHA
    d3c35d7 View commit details
    Browse the repository at this point in the history