WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Feature: require Java ≥ 7 to reduce code redundancy #88

@rillig

Description

@rillig

Currently, the required Java version for sfntly is not documented anywhere. By experimenting I found out that with the exception of the SafeVarargs annotation, sfntly currently targets Java 6.

Changing the minimally supported Java version to 7 would bring these benefits:

  • Less code to write for try-with-resources
  • Less code to write for generic types
  • Less code to write for implementing equals/hashCode

Changing the minimally supported Java version to 8 would bring these benefits:

  • Even less code to write for generic types

The required Java version should be documented somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions