googlefonts / sfntly

A Library for Using, Editing, and Creating SFNT-based Fonts
451 stars 162 forks source link

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

Open rillig opened 7 years ago

rillig commented 7 years ago

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:

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

The required Java version should be documented somewhere.