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

Support JDK 16 records in Java sources #9551

Merged
merged 5 commits into from Jul 8, 2021
Merged

Commits on Apr 24, 2021

  1. SI-11908: support JDK16 records in Java parser

    JDK16 introduced records (JEP 395) for reducing the boilerplate
    associated with small immutable classes. This new construct
    automatically
    
      * makes fields `private`/`final` and generates accessors for them
      * overrides `equals`/`hashCode`/`toString`
      * creates a `final` class that extends `java.lang.Record`
    
    The details are in "8.10. Record Classes" of the Java language specification.
    
    Fixes scala/bug#11908
    harpocrates committed Apr 24, 2021
    Configuration menu
    Copy the full SHA
    f7ae7af View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. Member records are static

    and a few simplifications
    lrytz committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    320102e View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. Configuration menu
    Copy the full SHA
    9c8db16 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2021

  1. Configuration menu
    Copy the full SHA
    4ed923e View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Configuration menu
    Copy the full SHA
    f943169 View commit details
    Browse the repository at this point in the history